Federated Learning Lab

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.

14interactive experiments

Privacy in federated learning: an introduction

Federated Learning Fundamentals · Lesson beginner

The idea

Not moving data reduces exposure but is not a guarantee: an observer of updates may try to reconstruct data (gradient leakage) or infer whether a record was used in training (membership inference).

Explanation

Common defenses: differential privacy (clipping updates and adding noise) with an ε budget, secure aggregation so that the server never sees individual updates, homomorphic encryption, and trusted execution environments. Each has a cost in accuracy or performance and trust assumptions. The simulator and experiments show these with measured numbers rather than claims.

Review questions

  • What is the difference between not moving data and protecting privacy?

Related experiments

See also

References

  1. Kairouz, McMahan, et al. (2021). Advances and Open Problems in Federated Learning. Foundations and Trends in Machine Learning 14(1-2):1-210. doi:10.1561/2200000083
  2. 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
  3. Bonawitz, Ivanov, Kreuter, Marcedone, McMahan, Patel, Ramage, Segal, Seth (2017). Practical Secure Aggregation for Privacy-Preserving Machine Learning. ACM CCS 2017, pp. 1175-1191. doi:10.1145/3133956.3133982