Introduction
The field of machine learning is inherently "data-hungry," yet in the modern era, data is frequently trapped in "data islands"—isolated silos within hospitals, financial institutions, or personal mobile devices. Stringent privacy regulations, such as the General Data Protection Regulation (GDPR) and the Personal Data Protection Act (PDPA), have made the traditional approach of pooling data into a central server legally and ethically untenable.
Federated Learning (FL) emerged as a paradigm shift, allowing models to be trained locally while sharing only model updates rather than raw data. As shown in Figure 1, the volume of research papers focusing on federated learning has exploded in recent years, far outpacing older concepts like federated databases or federated clouds. However, much of this academic interest has remained focused on mathematical algorithms. This survey argues that building a production-ready Federated Learning System (FLS) requires addressing significant systemic challenges, including hardware heterogeneity, unstable network connections, and the computational overhead of cryptographic privacy methods.
Taxonomy of Federated Learning Systems
To provide a structured blueprint for engineers and researchers, the authors introduce a comprehensive taxonomy for FLSs. This framework categorizes systems across six critical dimensions that define their architecture and operational constraints.
- Data Partitioning: Systems are classified by how data is distributed—Horizontal (same features, different samples), Vertical (same samples, different features), or Hybrid.
- Machine Learning Model: Support varies across systems for Neural Networks, Gradient Boosted Decision Trees (GBDTs), and Linear Models.
- Privacy Mechanism: A core trade-off exists between Differential Privacy (adding noise) and Cryptographic methods like Homomorphic Encryption or Secure Multi-Party Computation.
- Communication Architecture: Systems may be Centralized (server-client) or Decentralized (P2P or Blockchain-based).
- Scale of Federation: Distinguishing between Cross-silo (a few large organizations) and Cross-device (millions of mobile/IoT devices) is crucial for system design.
- Motivation: Understanding whether parties join due to regulatory requirements or economic incentives.
Benchmarking and Datasets
Moving beyond simple "split-MNIST" experiments is essential for realistic FLS evaluation. The paper reviews several specialized benchmarks designed to reflect real-world data distributions:
- LEAF: One of the earliest benchmarks, covering image classification and sentiment analysis.
- FedML: A research library providing baseline implementations for multiple paradigms.
- OARF: Focuses on realistic partitioning of public datasets.
- Street Dataset: A real-world image dataset collected from 26 different street cameras for object detection.
System-Level Insights and Results
A key takeaway from the survey is the distinction between the "System View" and the "Algorithm View." A successful FLS must balance the "Bottleneck" (computation vs. communication) against the reliability of the "Manager" (the central server). Furthermore, while academic research often favors Horizontal FL, the authors highlight that Vertical FL is the "missing link" for high-value enterprise sectors like finance and healthcare.
Privacy, however, is not free. There is a fundamental trade-off: Differential Privacy (DP) is computationally efficient but can degrade model accuracy, whereas Secure Multi-Party Computation (SMC) preserves accuracy at the cost of massive communication overhead. Additionally, unlike standard distributed computing, FL participants are autonomous and may drop out or act selfishly, necessitating robust fault tolerance and incentive mechanisms like Shapley values.
The survey provides a definitive comparison of major open-source systems as of late 2021. FATE (WeBank) was identified as the most industrial-level framework, offering comprehensive support for both horizontal and vertical scenarios. In contrast, TFF (Google) and PySyft (OpenMined) are viewed as excellent building blocks for researchers to implement new algorithms.
Future Directions
The authors identify several "reality checks" for the field. Current systems still struggle with dynamic participant pools and diverse privacy needs, where different users may require different levels of protection. The vision for the future includes a "Model Market" where organizations can securely trade model updates. Finally, explainability remains a significant hurdle; explaining a global model's decision is exceptionally difficult when the underlying training data remains hidden across thousands of silos.
Summary updated