Home / Insights / AI Risk and Governance
Differential Privacy and Federated Learning
Two techniques for learning from data while exposing less of it.
Can we learn from many people's data without learning about any one of them? Two ideas address different parts of the question.
Differential privacy
Introduced by Cynthia Dwork and colleagues, differential privacy is a mathematical guarantee: the output of an analysis should be almost equally likely whether or not any single individual's data is included. It is achieved by adding carefully calibrated random noise. A parameter, usually called epsilon, sets the privacy budget: smaller values give stronger protection and noisier results.
For training neural networks, a common method clips each example's influence on the gradient and adds noise. The United States Census Bureau applied differential privacy to products of the 2020 Census.
Diagram by O&O Consulting.
Federated learning
Federated learning, described by McMahan and colleagues, keeps data where it is, for example on phones. Each participant trains locally and sends model updates, which a server averages. Raw records are not centralised.
What each does not do
Federated learning alone is not a privacy guarantee: updates can leak information about the underlying data. It is often combined with secure aggregation, so the server sees only totals, and with differential privacy.
Differential privacy limits inference about individuals. It does not stop conclusions about groups, nor make an inappropriate use appropriate.
Practical difficulties
Noise reduces accuracy, particularly for small groups, which can raise fairness concerns. Choosing epsilon is a policy decision with no universal value. Federated systems must cope with devices that differ in data and availability, and with participants who may send malicious updates.
Limitations and open questions
These methods require expertise to implement correctly, and errors can silently remove the protection. Use reviewed libraries, state the guarantee precisely and avoid describing a system as "anonymous" or "private" without saying against what.
References
- Dwork, C. et al. (2006). "Calibrating Noise to Sensitivity in Private Data Analysis." doi.org/10.1007/11681878_14
- McMahan, H. B. et al. (2016). "Communication-Efficient Learning of Deep Networks from Decentralized Data." arxiv.org/abs/1602.05629
- Abadi, M. et al. (2016). "Deep Learning with Differential Privacy." arxiv.org/abs/1607.00133
This article is general information, not financial, legal or investment advice. AI research and rules change quickly; check the cited sources for the current position.