Abstract
Standard Federated Learning (FL) often struggles with statistical heterogeneity, as a single global model frequently fails to capture the diverse data distributions across different clients. This paper introduces FedEM, a multi-task learning framework that models client data as a mixture of $M$ shared underlying distributions. By collaboratively learning these shared components while allowing clients to optimize their individual mixture weights, FedEM achieves superior accuracy, enhanced fairness, and a principled solution for the "cold start" problem in new client personalization.
Introduction
Federated Learning (FL) enables multiple decentralized clients to train a model collaboratively without sharing their raw data. While promising for privacy, FL faces a significant challenge: statistical heterogeneity. Data distributions across devices—such as texting habits on mobile phones or diagnostic patterns in hospitals—are rarely identical.
Traditional approaches like FedAvg attempt to find a single global model that minimizes average loss. However, the authors present an "Impossibility Result," suggesting that without specific structural assumptions about how local data relates to global data, FL cannot fundamentally outperform local learning for every client. Existing Personalized FL (PFL) methods often rely on heuristic penalty terms, lack statistical grounding, or suffer from scalability issues (e.g., high memory footprints from hypernetworks). Furthermore, many fail to address the "cold start" problem: how to provide a personalized model to a new client who was not part of the initial training phase.
The FedEM Framework
To address these limitations, the authors propose a generative model assumption: each client's data is a mixture of $M$ unknown underlying distributions. This shifts the goal from finding one global model to identifying $M$ shared "component" models that represent the fundamental patterns in the global data pool.
The Algorithm
FedEM adapts the classic Expectation-Maximization (EM) algorithm to the federated setting. The process involves two primary elements:
- Shared Components: $M$ global models (e.g., neural networks) are maintained and updated by the server.
- Local Mixture Weights: Each client maintains a set of coefficients representing how much they rely on each of the $M$ components.
In each communication round, the server broadcasts the $M$ models. Clients then perform:
- E-step: Calculate the posterior probability that their local data points belong to each of the $M$ components.
- M-step: Locally update their mixture weights and perform local Stochastic Gradient Descent (SGD) on the component models based on the E-step weights.
The server then aggregates the updates for all $M$ models. For peer-to-peer environments without a central coordinator, the authors also introduce D-FedEM, a fully decentralized version of the algorithm.
Theoretical Foundation
The researchers introduce a "Federated Surrogate Optimization" framework. This provides the first formal convergence guarantees for a federated EM approach, ensuring that the collaborative training process is mathematically sound and stable.
Experimental Evaluation
The authors evaluated FedEM against state-of-the-art methods, including FedAvg, FedProx, pFedMe, and Clustered FL, across several benchmarks:
- Image Classification: CIFAR-10, CIFAR-100 (using Dirichlet and Pachinko allocation to simulate heterogeneity), and EMNIST.
- Character Recognition: FEMNIST, naturally partitioned by writer.
- Language Modeling: The Shakespeare dataset, partitioned by speaking roles.
- Synthetic Data: A custom dataset designed to validate the mixture-of-distributions assumption.
Key Results
- Consistent Performance: FedEM outperformed all competitors across every tested dataset. For instance, on CIFAR-100, FedEM reached 44.1% accuracy, surpassing the ~41% achieved by the next best methods.
- Fairness: FedEM significantly improved performance for the "bottom decile" (the 10% of clients with the lowest initial accuracy). By allowing the model to adapt to niche distributions, it ensures that users with unusual data are not left behind.
- Zero-Shot Personalization: FedEM elegantly solves the cold-start problem. A new client can achieve personalization simply by downloading the $M$ components and performing a single local E-step to determine their optimal mixture weights, requiring no further communication rounds.
- Robustness: The method proved more resilient to low client participation rates than other personalized approaches, maintaining high performance even when only a fraction of clients are available per round.
Discussion and Future Work
While FedEM offers significant advantages in accuracy and fairness, it introduces a trade-off in communication and computation cost. Because clients must transmit and process $M$ models instead of one, the overhead scales by a factor of $M$. However, experiments show that even a small $M$ (e.g., $M=3$) provides substantial performance gains.
Future research directions include:
- Model Compression: Utilizing quantization or sparsity to mitigate the $O(M)$ communication overhead.
- Adaptive Components: Developing methods to automatically adjust the number of components ($M$) during training.
- Privacy: Incorporating formal Differential Privacy (DP) guarantees to further protect client data during the EM steps.
Summary updated