Federated Generalization via Information-Theoretic Distribution Diversification

Zheshun Wu, Zenglin Xu, Dun Zeng, Qifan Wang · Submission to ICLR 2024 · Rejected

Here is a summary and technical breakdown of the paper:

TL;DR

This paper tackles the "participation gap" in Federated Learning (FL)—the issue where models struggle to generalize to unseen, non-participating (passive) clients. By deriving an information-theoretic generalization bound based on local entropy and cross-distribution discrepancies, the authors propose an entropy-based aggregation scheme and two gradient-based client selection strategies that actively prioritize distribution diversity to boost out-of-distribution performance.

What Problem Does This Paper Address?

In standard Federated Learning (FL), clients collaboratively train a shared model without centralizing raw data. Real-world systems inevitably face non-IID data distributions, but they also face a less-studied hurdle: passive clients. Due to stragglers, connectivity drops, or compute limits, many edge devices never participate in training rounds.

Most existing generalization bounds and optimization methods assume that the test data either comes from the same distribution as the participating clients (in-distribution / out-of-sample) or follows an overall meta-distribution. They largely neglect out-of-distribution (OOD) generalization specifically for passive clients whose underlying distributions diverge from active clients.

Methods

The authors build an information-theoretic framework to bound the OOD generalization error, using a self-information weighted expected risk (which upweights rarer, low-probability outcomes to prepare the model for unfamiliar test environments).

1. Theoretical Bounds

The bound decomposes into an overfitting error, an empirical semi-excess risk, and a participation gap. Crucially, the participation bound shrinks when:

  • The weighted sum of client label entropies $\sum_{i \in \mathcal{I}_p} \alpha_i H(Z_i)$ increases.
  • The cross-entropy / dissimilarity between selected clients and other participating clients $H(P_{Z_i}, P_{Z_j})$ increases.

2. Algorithmic Solutions

  • Maximum Entropy Aggregation: Rather than standard sample-size weighting, the server weights client updates using a softmax over their local empirical label entropy: $\alpha_i \propto \exp(\hat{H}_i)$. Clients with higher data entropy get higher aggregation weights.
  • Client Selection Strategies (Distribution Diversification): To maximize diversity among the sampled cohort $\mathcal{I}_t$, the server selects clients with maximally divergent gradients (using cosine similarity to approximate distribution distance):
  • Minimax Gradient Similarity (MiniMaxSim): Iteratively picks clients that minimize the maximum similarity with other clients in the candidate pool.
  • Convex Hull Construction: Selects clients whose gradient vectors sit on the outer vertices of the gradient convex hull, avoiding redundant "interior" points.

Datasets

The authors evaluated image classification and next-character prediction across three standard benchmarks:

  • EMNIST-10 (CNN) split using a Dirichlet distribution ($\alpha = 0.5$).
  • CIFAR-10 (CNN) split using a Dirichlet distribution ($\alpha = 0.1$).
  • Shakespeare (RNN), split by character/role speaking parts.

Setup: Datasets were partitioned into 100 clients. 40 clients were designated as participating clients, while the remaining 60 were treated as unseen, unparticipating passive clients (used exclusively for evaluating OOD performance).

Key Insights and Ideas

  • Entropy as a Regularizer against Overfitting Common Clients: Upweighting clients with higher local information entropy prevents the global model from over-indexing on uniform, homogeneous client slices.
  • Gradient Redundancy Hurts Passive Generalization: Clients located geographically or operationally close often have overlapping, redundant data distributions. By selecting clients residing on the "extremes" (the vertices of the gradient convex hull, or those with minimal gradient similarity), the model learns a representation covering a wider distribution space.
  • Random Sampling Suboptimality: Selecting clients randomly or solely based on sample counts wastes communication rounds on redundant distributions, degrading out-of-distribution performance on passive clients.

Key Results

The proposed client selection and aggregation methods consistently outperformed standard baselines (Random Selection, MaxSim, Interior selection, Full Sampling, and Power-of-Choice) on OOD test accuracy:

  • Client Selection (OOD Accuracy):
  • EMNIST-10: MiniMaxSim achieved 82.3 ± 4.7% and Convex Hull achieved 82.1 ± 4.6%, compared to 69.4 ± 5.4% for Random Selection and 80.1 ± 5.5% for Full Sampling.
  • CIFAR-10: Convex Hull achieved 42.9 ± 1.1% and MiniMaxSim reached 42.0 ± 1.0%, beating Random Selection (38.9 ± 1.0%) and Full Sampling (41.6 ± 1.2%).
  • Shakespeare: Convex Hull scored 43.6 ± 1.0% and MiniMaxSim scored 43.5 ± 0.8%, outperforming Random Selection (37.3 ± 1.1%).
  • Entropy Aggregation (OOD Accuracy):
  • On EMNIST-10, Entropy-based weighting achieved 74.9 ± 10.5% vs. 53.1 ± 12.1% for standard Data-Size weighting and 70.7 ± 13.2% for Equality weighting.
  • On CIFAR-10, Entropy-based weighting achieved 35.7 ± 1.0% vs. 33.2 ± 0.3% for Data-Size weighting.

(Note: Notably, the proposed subset selection strategies outperformed Full Sampling on EMNIST-10 and CIFAR-10, demonstrating that filtering out redundant gradients can lead to better generalization than aggregating all clients).

Limitations and Future Work

  • Label Skew Only for Entropy Aggregation: The empirical calculation of label entropy currently targets label distribution shift; extending this directly to severe feature distribution shift (covariate shift) without sharing raw feature representations is left for future exploration.
  • Gradient History Staleness: Client selection relies on a server-side lookup table of cached gradients from prior rounds ($\mathbf{g}_s^i$). If a client has not been selected for many rounds, stale gradients could misguide the diversity estimation.
  • Computational Overhead: Constructing high-dimensional convex hulls or computing pair-wise minimax similarity matrices scales with the number of participating clients and gradient dimensions.

Summary updated

BibTeX
@article{wu2025federated,
  author = {Zheshun Wu and Zenglin Xu and Dun Zeng and Qifan Wang},
  title = {{Federated Generalization via Information-Theoretic Distribution Diversification}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2025},
  url = {https://openreview.net/forum?id=liIh4EafDG},
}
Figure