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

Client selection and dropout

Federated Learning Fundamentals · Lesson intermediate

The idea

Each round a fraction C of clients participates. Some may drop out after being selected; the server aggregates only those who reported and renormalizes weights over participants.

Explanation

A non-participating client is excluded from the sum and its weight is not counted. If participants are unrepresentative (e.g. only well-charged devices) participation bias appears. The “participation sensitivity” experiment varies the fraction and measures the effect.

Mathematical form

w_{t+1}=\sum_{k\in S_t}\frac{n_k}{\sum_{j\in S_t}n_j}\,w^{k}_{t+1}

Related experiments

References

  1. McMahan, Moore, Ramage, Hampson, Agüera y Arcas (2017). Communication-Efficient Learning of Deep Networks from Decentralized Data. AISTATS 2017 (PMLR 54); arXiv:1602.05629. Link
  2. 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