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.
- Home
- Federated Learning Fundamentals
- Architecture and Workflow
- Interactive Simulator
- Algorithms
- Experiments
- Medical Applications
- Privacy and Security
- Federated Deep Learning
- Applications
- Projects and Code
- Research Center
- Quizzes
- My experiments
- Scientific references
- Glossary and FAQ
Types: horizontal, vertical and transfer FL
Federated Learning Fundamentals · Lesson intermediate
The idea
Yang et al. (2019) classify federated learning by overlap of samples and features: horizontal (same features, different samples), vertical (same samples, different features), and federated transfer learning (little overlap in either).
Explanation
Horizontal FL is the case simulated in this lab: each hospital has the same kind of image features for different patients. A vertical example is a bank and an insurer sharing customers but holding different attributes, requiring private record matching and heavier cryptographic protocols. Transfer FL applies when domains differ and relies on transferring representations. The simulator here covers the horizontal case only.
Example
Hospitals training an imaging model: horizontal. A bank and a telecom operator with shared customers: vertical.
Mathematical form
\text{Horizontal: } \mathcal{X}_i=\mathcal{X}_j,\ \mathcal{I}_i\neq\mathcal{I}_j\qquad \text{Vertical: } \mathcal{X}_i\neq\mathcal{X}_j,\ \mathcal{I}_i=\mathcal{I}_jSee also
References
- Yang, Liu, Chen, Tong (2019). Federated Machine Learning: Concept and Applications. ACM TIST 10(2):1-19. doi:10.1145/3298981
- 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
