VerificationOptions

Options & Configuration · AiDotNet.Models.Options

Configuration options for zero-knowledge verification in federated learning.

For Beginners

These settings control how client updates are verified before aggregation. The default uses hash commitments with norm bound checking, which provides a good balance of security and performance.

Constructors

Constructor Summary
VerificationOptions()

Properties

Property Summary
CommitmentOptions Commitment { get; set; } Gets or sets the commitment options for the underlying commitment scheme.
VerificationLevel Level { get; set; } Gets or sets the verification level.
ZkProofSystem ProofSystem { get; set; } Gets or sets the ZK proof system to use.
bool RejectFailedClients { get; set; } Gets or sets whether to reject clients that fail verification.
double ElementBound { get; set; } Gets or sets the per-element bound for ElementBound verification.
double GradientNormBound { get; set; } Gets or sets the gradient L2 norm bound for NormBound verification.
double LossThreshold { get; set; } Gets or sets the loss threshold for LossThreshold verification.
int ProofTimeoutMs { get; set; } Gets or sets the maximum time allowed for proof generation per client, in milliseconds.
int SecurityParameterBits { get; set; } Gets or sets the security parameter in bits.