TESTNET

๐Ÿง  ZKML Integration

Halo2-based machine learning for coercion detection

Architecture
๐ŸŽ™๏ธ
Voice / Text
Input capture
๐Ÿ“Š
Feature Extract
MFCC / embeddings
๐Ÿง 
LSTM + MLP
Stress classifier
๐Ÿ”’
EZKL โ†’ Halo2
ZK proof of inference
โ›“๏ธ
On-chain Verify
Halo2Verifier.sol
Model Specifications
ParameterValue
ArchitectureLSTM (32 units) โ†’ Dense(16) โ†’ Dense(1, sigmoid)
Input13 MFCC features ร— 20 time steps
OutputStress probability [0.0 โ€” 1.0]
Threshold0.7 (configurable per pool)
Training DataRAVDESS + CREMA-D + custom corpus
QuantizationINT8 via EZKL for Halo2 compatibility
Proof Size~1.2 KB (Halo2 KZG commitment)
Verification Gas~280K gas on-chain
Privacy Guarantee: The ZKML proof demonstrates that the ML model classified the user as "not under stress" โ€” without revealing the raw biometric input. The verifier only sees the boolean result, never the voice/text data.