VerificationLevel

Enums · AiDotNet.Models.Options

Specifies the level of zero-knowledge verification applied to client updates.

For Beginners

Higher verification levels provide stronger guarantees but cost more computation time. Choose based on your threat model:

Fields

Field Summary
VerificationLevel CommitmentOnly Commitment only — clients commit before aggregation to prevent adaptive attacks.
VerificationLevel ElementBound Element bound — clients prove each gradient component is within [-B, B].
VerificationLevel FullComputation Full computation — clients prove the entire training computation was correct.
VerificationLevel LossThreshold Loss threshold — clients prove local loss is below a threshold.
VerificationLevel None No verification — trust all clients.
VerificationLevel NormBound Norm bound — clients prove gradient L2 norm is within [0, C].
int value__