On the Convergence of Federated Averaging with Cyclic Client Participation

Yae Jee Cho, Pranay Sharma, Gauri Joshi, Zheng Xu, Satyen Kale, Tong Zhang

Introduction

Standard Federated Learning (FL) theory often relies on a simplifying assumption: clients participate in training rounds either fully or through uniform random sampling. However, real-world cross-device FL systems—spanning millions of smartphones and tablets—operate under strict practical constraints. Devices typically only join a training round when they are plugged in, idle, and connected to an unmetered Wi-Fi network. This creates predictable, diurnal patterns where clients in one time zone participate while those in another sleep. Furthermore, privacy protocols often restrict how frequently a single device can contribute.

These constraints result in a cyclic participation pattern that standard theory largely ignores. This paper introduces the first theoretical framework for analyzing Federated Averaging (FedAvg) under Cyclic Client Participation (CyCP), proving that these natural cycles can actually be harnessed for faster convergence.

The CyCP Framework

To model this reality, the authors introduce the CyCP framework. The total population of $M$ clients is divided into $K$ non-overlapping groups. Instead of sampling randomly, the central server traverses these groups in a fixed, cyclic order.

The researchers analyze the convergence of this framework across three common local update procedures:

  1. Local Gradient Descent (GD): Clients perform a single full gradient step.
  2. Local Stochastic Gradient Descent (SGD): Clients perform multiple steps using random mini-batches.
  3. Local Shuffled SGD (SSGD): Clients process their entire local dataset in a shuffled order, a standard practice in real-world optimization.

Crucially, the authors bridge FL theory with "shuffling-based methods" from centralized optimization. By treating the cyclic traversal of client groups similarly to how an optimizer processes a shuffled list of data points, they successfully derive tighter convergence bounds.

Key Theoretical Insights

The most significant finding of the paper is that cyclic participation is not a hindrance; under suitable conditions, it is a distinct advantage.

  • The $O(1/T^2)$ Speedup: The framework achieves a faster asymptotic convergence rate of $O(1/T^2)$ compared to the standard $O(1/T)$ rate of vanilla FedAvg with uniform sampling. This indicates that the deterministic "order" of client participation carries mathematically useful information.
  • Intra-group vs. Inter-group Heterogeneity: The efficiency of CyCP depends heavily on data variance. The authors distinguish between variance within a group ($\gamma$) and variance between groups ($\alpha$). If clients within the same group have similar data (low intra-group heterogeneity), the cyclic pattern proves exceptionally efficient.
  • Algorithmic Analogies: The study reveals deep mathematical connections between FL and centralized optimization. CyCP with Local GD is analogous to Incremental Gradient methods, while CyCP with Local SSGD mirrors Local Random Reshuffling.

Empirical Results

The researchers validated their theoretical findings using two standard image classification benchmarks: Fashion-MNIST (FMNIST) and EMNIST. To simulate the non-IID (not identically and independently distributed) nature of real-world federated data, they applied a Dirichlet distribution to partition the data, controlling the level of heterogeneity.

  • Accuracy and Convergence: In experiments on FMNIST with high data heterogeneity, CyCP configurations ($K > 1$) improved test accuracy by 5–10% compared to standard FedAvg ($K=1$). Training loss curves demonstrated that higher $K$ values (more groups in a cycle) led to significantly faster convergence.
  • Oscillation Behavior: Interestingly, for very high $K$ values, the accuracy curves exhibited oscillations. This is a characteristic signature of cyclic training: the global model temporarily "tilts" toward the specific data distribution of the group currently being visited before swinging back as the cycle progresses.

Limitations and Future Work

While this framework provides a vital step toward realistic FL theory, it has boundaries. The current mathematical analysis focuses on PL-objectives (a generalization of strong convexity). Extending these proofs to general non-convex landscapes, such as those found in very deep neural networks, remains an open challenge.

Additionally, the study covers GD, SGD, and SSGD but does not yet account for momentum-based or adaptive optimizers (like FedAdam) that are widely used in production. Finally, the model assumes client groups are fixed and disjoint. In reality, group availability overlaps and shifts dynamically, pointing toward a need for a "stochastic cyclic" model in future research.

Summary updated

BibTeX
@inproceedings{cho2023convergence,
  author = {Yae Jee Cho and Pranay Sharma and Gauri Joshi and Zheng Xu and Satyen Kale and Tong Zhang},
  title = {{On the Convergence of Federated Averaging with Cyclic Client Participation}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=MWeacr8Ycf},
}
Figure