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

Cross-silo vs cross-device

Federated Learning Fundamentals · Lesson intermediate

The idea

Cross-device: a huge number of resource-limited devices (phones) participating intermittently. Cross-silo: a small number of institutions (hospitals, banks) with good resources, stable links, and known identities.

Explanation

The taxonomy follows Kairouz et al. (2021). In cross-device settings a small fraction of devices is sampled each round and a device rarely participates twice, so clients are stateless. In cross-silo settings every party joins every round and can keep local state (e.g. SCAFFOLD control variates). The medical applications in this lab are cross-silo.

The “cross-silo vs cross-device” tool in the applications module computes arithmetic comparisons from your inputs.

Example

A phone keyboard: cross-device. A network of university hospitals: cross-silo.

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