NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Unified Analysis of Federated Learning with Arbitrary Client Participation

Shiqiang Wang, Mingyue Ji

TL;DR

This paper introduces a unified convergence analysis for Federated Learning (FL) that accounts for arbitrary, realistic client participation patterns rather than idealized random selection. The authors propose a generalized version of Federated Averaging (FedAvg) that uses an "amplification" factor to boost updates over multi-round intervals, successfully matching the theoretical lower bounds of centralized SGD even under intermittent device availability.

What Problem Does This Paper Address?

In the textbook version of Federated Learning, we often assume that in every round, a subset of clients is chosen uniformly at random to participate. In the real world, client availability is messy. Smartphones might only participate when they are plugged in at night; edge servers might only be available during low-traffic hours. These patterns are often periodic or follow complex stochastic processes (like Markov chains) rather than independent random draws.

Existing theoretical analyses often struggle with these realistic patterns, either resulting in "non-vanishing" error terms (meaning the model never fully converges) or requiring overly restrictive assumptions. The gap this paper fills is providing a single, unified framework that can analyze almost any participation pattern—from strictly periodic to highly erratic—and prove that convergence to zero error is still possible.

Methods

The authors introduce Generalized FedAvg with Amplified Updates. The algorithm works as follows:

  1. Local Updates: Clients perform $I$ steps of local SGD.
  2. Accumulation: Instead of just averaging updates every round, the server accumulates these updates over an interval of $P$ rounds.
  3. Amplification: At the end of every $P$ rounds, the server applies an amplification factor $\eta$. If $\eta > 1$, the global update is "stretched," pushing the model further in the direction of the accumulated progress.

The core of their theoretical contribution is a novel analysis that captures the entire effect of client participation in a single term, denoted as $\tilde{\delta}^2(P)$. By decoupling the participation pattern from the rest of the convergence proof, they can derive specific bounds for different scenarios (Regularized, Ergodic, Mixing, and Independent participation) simply by analyzing how $\tilde{\delta}^2(P)$ behaves for each case.

Datasets

The authors evaluated their approach using two standard computer vision benchmarks:

  • FashionMNIST: 10 classes of clothing images.
  • CIFAR-10: 10 classes of general objects (airplanes, cats, etc.).

To simulate realistic FL, they partitioned these datasets in a non-IID (not identically and independently distributed) manner. Each of the 250 clients was assigned data where one class was the "majority" (95% of its data), creating a highly heterogeneous environment. They also simulated a periodic availability pattern where only clients with specific majority labels were available in 100-round blocks.

Key Insights and Ideas

  • Amplification as a Corrective Force: When only a small subset of clients participates (e.g., only those with "Cat" and "Dog" data), the model tends to drift toward those local optima. Amplifying the updates after a full cycle $P$ (once the "Truck" and "Bird" clients have also contributed) helps the model "catch up" to the global descent direction.
  • The Power of $P$: The interval $P$ acts as a buffer. By waiting for a representative "cohort" of clients to contribute before fully committing to a large update, the algorithm mitigates the noise introduced by partial participation.
  • Unified Analysis: By isolating participation noise into the $\tilde{\delta}^2(P)$ term, the authors proved that as long as the participation process is "mean-ergodic" (meaning that in the long run, every client gets their fair share of participation), the algorithm will converge to the global optimum.
  • Linear Speedup: The paper generalizes the concept of "linear speedup"—the idea that doubling the number of participating clients should roughly halve the training time—to arbitrary participation patterns using a new coefficient $\rho$.

Key Results

The paper's theoretical results are summarized in Table 1, comparing their bounds against previous state-of-the-art methods.

Table 1: Summary and comparison of results (only showing baselines without constant error term)
  • Matching Lower Bounds: For "Regularized" participation (where every client participates exactly once every $P$ rounds), their convergence rate matches the lower bound for centralized SGD. This is a significant result, as it suggests that the "cost" of decentralization can be theoretically eliminated with proper tuning.
  • Empirical Gains: In experiments with periodic connectivity, Generalized FedAvg with amplification ($\eta=10, P=500$) significantly outperformed standard FedAvg and "wait-for-all" baselines. It achieved higher test accuracy and lower training loss across both FashionMNIST and CIFAR-10.
  • Robustness to $P$: Experiments showed that the algorithm is relatively robust to the choice of $P$. Even if $P$ doesn't perfectly match the physical participation cycle of the devices, amplification still provides a benefit.

Limitations and Future Work

  • Learning Rate Constraints: The theoretical convergence requires the local learning rate $\gamma$ to be inversely proportional to the number of local steps $I$ and the interval $P$. This can lead to very small learning rates in practice if $P$ is large.
  • Hyperparameter Tuning: While the method is robust, it does introduce two new hyperparameters ($\eta$ and $P$) that need to be tuned. The authors suggest that a "coarse choice" based on experience is often sufficient, but automated tuning remains an open area.
  • Advanced Algorithms: This analysis focuses on FedAvg. Extending this unified framework to other popular FL variants like FedProx or SCAFFOLD is a logical next step for the research community.

Summary updated

BibTeX
@inproceedings{wang2022unified,
  author = {Shiqiang Wang and Mingyue Ji},
  title = {{A Unified Analysis of Federated Learning with Arbitrary Client Participation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=qSs7C7c4G8D},
}
Figure