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

Local epochs E and local work

Federated Learning Fundamentals · Lesson intermediate

The idea

E is the number of passes over a client's data per round. FedSGD is a special case: one gradient step on all local data.

Explanation

Small E: more communication and slower convergence but less drift. Large E: less communication but local models drift apart under non-IID data. The “effect of local epochs” experiment sweeps E and reports accuracy and communication.

Related experiments

See also

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. Wang, Liu, Liang, Joshi, Poor (2020). Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization. NeurIPS 2020. Link