Train models on distributed data without moving it: try FedAvg, FedProx and SCAFFOLD in a simulator that really computes in your browser, with privacy, medical applications, projects and quizzes.
- Home
- Federated Learning Fundamentals
- Architecture and Workflow
- Interactive Simulator
- Algorithms
- Experiments
- Medical Applications
- Privacy and Security
- Federated Deep Learning
- Applications
- Projects and Code
- Research Center
- Quizzes
- My experiments
- Scientific references
- Glossary and FAQ
Privacy accounting (ε, δ, RDP)
Privacy and Security · Privacy and security
The idea
Privacy loss accumulates with every round; accountants such as Rényi DP track it tightly and convert it to (ε, δ).
The risk
Naive composition yields an exaggerated ε; ignoring accounting gives false confidence.
How it works
For each round with noise multiplier σ and sampling rate q the RDP loss is computed at several orders α and converted to ε. The code here was tested against a reference accountant in Python.
Defenses
- Always report (ε, δ), number of rounds, q and σ
- Fix δ before the experiment
Limits
ε is one number and does not summarize every privacy risk.
Related experiments
References
- Abadi, Chu, Goodfellow, McMahan, Mironov, Talwar, Zhang (2016). Deep Learning with Differential Privacy. ACM CCS 2016, pp. 308-318. doi:10.1145/2976749.2978318
- Dwork, Roth (2014). The Algorithmic Foundations of Differential Privacy. Foundations and Trends in Theoretical Computer Science 9(3-4):211-487. doi:10.1561/0400000042
