Abstract
Federated Learning (FL) has surged in prominence due to its capability of collaborative model training without direct data sharing. However, the vast disparity in local data distributions among clients, often termed the non-Independent Identically Distributed (non-IID) challenge, poses a significant hurdle to FL's generalization efficacy. The scenario becomes even more complex when not all clients participate in the training process, a common occurrence due to unstable network connections or limited computational capacities. This can greatly complicate the assessment of the trained models' generalization abilities. While a plethora of recent studies has centered on the generalization gap pertaining to unseen data from participating clients with diverse distributions, the divergence between the training distributions of participating clients and the testing distributions of non-participating ones has been largely overlooked. In response, our paper unveils an information-theoretic generalization framework for FL. Specifically, it quantifies generalization errors by evaluating the information entropy of local distributions and discerning discrepancies across these distributions. Inspired by our deduced generalization bounds, we introduce a weighted aggregation approach and a duo of client selection strategies. These innovations aim to bolster FL's generalization prowess by encompassing a more varied set of client data distributions. Our extensive empirical evaluations reaffirm the potency of our proposed methods, aligning seamlessly with our theoretical construct.
Introduction: The "Silent Client" Problem
Standard Federated Learning assumes that the data distributions of participating clients are representative of the entire network. However, in real-world scenarios like IoT or mobile edge computing, many devices are "silent"—they never join the training process because of unstable networks or limited battery. When data is Non-IID (not independently and identically distributed), a model "honed" by active participants often struggles to serve these passive, non-participating clients.
Most existing research focuses on the generalization gap for seen distributions. This paper shifts the focus to Out-of-Distribution (OOD) generalization, asking: How can we train a model on a few active clients so that it works for everyone else?
Proposed Information-Theoretic Methods
The authors introduce an information-theoretic framework to quantify generalization errors based on local distribution entropy and discrepancies. They propose three main interventions:
- Maximum Entropy Aggregation: Traditionally, FL weights client updates by the size of their local dataset. This paper argues that data quality (information richness) matters more for generalization. They propose weighting updates based on the empirical entropy of the client's label distribution. Clients with higher entropy (more diverse data) get a louder "voice" in the global model.
- Minimax Gradient Similarity Selection: To ensure the model covers as much of the distribution space as possible, the server selects clients whose local gradients are most "distant" or dissimilar from others. This prevents the model from over-fitting to a "cluster" of similar, redundant clients.
- Convex Hull-based Selection: Using a geometric approach, the server identifies clients whose gradients represent the "vertices" of a convex hull in the gradient space. Intuitively, these clients define the boundaries of the known data landscape, providing better "coverage" for the random data points likely to be held by non-participating clients.
Experimental Evaluation
The researchers evaluated their methods across a diverse set of benchmarks, including EMNIST-10, CIFAR-10, and the Shakespeare dataset. A key metric was OOD accuracy, measuring performance on clients that did not participate in the training phase.
The proposed methods consistently outperformed standard baselines like Random Selection and Power-of-Choice. On EMNIST-10, the proposed selection methods achieved approximately 82% OOD accuracy, compared to only ~69% for random selection. Similar gains were observed in language modeling tasks on the Shakespeare dataset, where entropy-based weighting led to faster and more stable convergence.
Key Insights and Discussion
A core takeaway is the recognition of information redundancy in FL. Training on all available clients can sometimes hurt generalization by drowning out rare but informative data. By defining "self-information weighted expected risk," the authors show that a model proficient with rare examples from training distributions is more likely to adapt to unfamiliar testing distributions.
Furthermore, treating local gradients as geometric points allows the server to effectively "bracket" the distribution space. By selecting the "outermost" points (the convex hull), the model is better prepared for the diverse data it will encounter in the wild. While prioritizing rare data improves OOD generalization, future work must balance this against performance on common cases to avoid over-sensitivity to outliers.
Summary updated