TL;DR
This survey tackles the critical challenge of applying Federated Learning (FL) to the vast array of smart devices with varying computational capabilities. It provides a comprehensive overview of existing techniques designed to handle this "computation heterogeneity," categorizing them by how they adapt NN architectures or system-level operations, and highlights the open problems that remain for truly effective FL in real-world, diverse environments.
What Problem Does This Paper Address?
The proliferation of smart devices (IoT, smartphones) has made traditional centralized training of machine learning models increasingly impractical due to data volume and privacy concerns. On-device learning offers a privacy-preserving alternative, but models trained in isolation often lack accuracy. Federated Learning (FL) emerged as a solution, allowing devices to collaboratively train a shared model without exposing raw data. However, a major hurdle for FL's widespread adoption is the inherent "heterogeneity" of these devices. Specifically, devices differ vastly in their computational power (CPU, memory, accelerators), leading to significant challenges in training models efficiently and effectively. This paper focuses on computation heterogeneity, exploring how to make FL work when devices have vastly different capabilities, from tiny microcontrollers to powerful smartphones.
Methods
The paper categorizes existing FL techniques for computation heterogeneity into two main groups:
- NN Architecture Level: These methods aim to adapt the neural network itself to suit device capabilities.
- FedAvg-based: Techniques that modify the standard FedAvg algorithm. This includes approaches that use "unstructured subsets" (e.g., Federated Dropout, ELFISH) where parts of the network are randomly trained, or "structured subsets" (e.g., HeteroFL, FjORD) where hierarchical or ordered subsets of the model are used. Some methods also employ "low-rank factorization" to create simpler submodels.
- Distillation-based: These approaches leverage knowledge distillation (KD) to transfer knowledge from a larger model to smaller, device-specific models. Methods like FedMD use a public dataset to share "soft labels" (probability distributions), while others like FedHe focus on sharing "single per-class representations."
- Other Techniques: This includes combinations of split learning and distillation (e.g., FedGKT) or split learning with adaptive model splitting (e.g., AdaSplit).
- System Level: These methods address heterogeneity by adjusting the training process and aggregation strategy without necessarily altering the NN architecture.
- Client Selection and Flexible Aggregation: Techniques that intelligently select devices for training rounds (e.g., FedCS, TiFL, FLANP) or allow for variable round lengths and partial updates.
- Asynchronous Aggregation: Methods that allow devices to upload updates at any time, mitigating the "straggler" problem where slow devices delay synchronous rounds. This includes approaches like ASO, FedAsync, and hybrid synchronous-asynchronous methods (FedAT).
Datasets
The paper discusses the use of standard datasets for training and evaluation in the context of FL research. These include:
- MNIST [23]
- EMNIST
- CIFAR10/100 [55]
The authors also highlight the need for more realistic benchmarks that better model device heterogeneity, noting that current FL simulation frameworks often lack specific support for memory, throughput, or energy constraints.
Key Insights and Ideas
- Heterogeneity is Multifaceted: The paper emphasizes that computation heterogeneity isn't just about raw FLOPS. It distinguishes between "hard constraints" (preventing training, like insufficient memory) and "soft constraints" (slowing down training, like limited power). It also categorizes heterogeneity by its scale (e.g., 4x vs. 250x difference in resources) and granularity (discrete levels vs. continuous ranges).
- No One-Size-Fits-All Solution: Different techniques are suited for different types of heterogeneity. NN architecture-level methods are better for hard constraints, while system-level approaches are more effective for soft constraints and dynamic changes.
- Trade-offs are Pervasive: FL in heterogeneous environments involves complex trade-offs. For example, faster convergence might come at the cost of accuracy, or energy efficiency might be sacrificed for faster training. These trade-offs are often not fully explored.
- The "Straggler" Problem is Central: Devices with limited resources often become "stragglers," delaying synchronous FL rounds. Asynchronous methods and intelligent client selection are key strategies to combat this.
- Real-world scenarios are complex: The paper points out that real-world applications often involve a combination of heterogeneities (computation, data, communication) and that these can be correlated (e.g., devices with fewer resources might also have different data distributions), posing significant challenges.
Key Results
The paper is a survey, so it doesn't present new experimental results but rather synthesizes findings from existing research. Key qualitative findings include:
- Many techniques show improvements in accuracy or convergence speed compared to baseline FedAvg in heterogeneous settings.
- NN architecture-level techniques can achieve significant reductions in computation (e.g., 1.7x reduction in computations on MNIST with Federated Dropout).
- Distillation-based methods can enable heterogeneous architectures and address hard constraints, though they may not always reach the same accuracy as FedAvg.
- System-level approaches like asynchronous aggregation can significantly reduce training time by avoiding straggler delays.
- Some techniques demonstrate effectiveness with resource differences ranging from 4x to 250x, but the effectiveness at the higher end remains an open question.
Limitations and Future Work
The authors identify several critical open problems:
- Effectiveness at Scale and Granularity: It's unclear if current techniques remain effective when dealing with very large scales of heterogeneity (e.g., 100x-250x differences) or fine-grained granularities. The contribution of low-resource devices to the global model is also a concern.
- Comparability and Benchmarking: Research lacks standardized resource models, making it difficult to compare techniques. There's a need for more representative benchmarks that accurately model real-world device environments and constraints.
- Unexplored Trade-offs: The interplay between energy efficiency, computation, and memory, especially in resource-constrained FL, is largely unexplored.
- Non-IID Data and Resource Correlation: The impact of non-IID data scenarios where data distribution is correlated with device resources (e.g., weaker devices having specific data types) is a significant open problem. This requires methods to ensure fair representation without excluding devices.
- Framework Support: Popular FL frameworks need to be extended to better support device heterogeneity.
Summary updated