Enum DifferentialPrivacyMode
Specifies where differential privacy noise is applied in the federated learning pipeline.
public enum DifferentialPrivacyMode
Fields
Central = 2Apply noise on the server after aggregation.
Local = 1Apply noise on clients before sending updates.
LocalAndCentral = 3Apply both local and central differential privacy.
None = 0No differential privacy is applied.
Remarks
For Beginners: Differential privacy can be applied at different points:
- Local DP: each client adds noise before sending updates (stronger protection vs server).
- Central DP: the server adds noise after aggregation (simpler and often higher utility).
- Both: apply local and central DP for defense-in-depth.