Mitigating Data Heterogeneity Effect in Client-Reshuffling-Based Federated Learning

Su Zhang, Peiran Yu, Heng Huang

TL;DR

Training machine learning models across distributed devices—known as Federated Learning—suffers when only a tiny fraction of devices can check in at once and each holds wildly different data. The authors introduce FedCDR, an algorithm that pairs a "everyone gets a turn" scheduling trick with a classic mathematical splitting technique to keep local models from drifting apart. Remarkably, they prove their method converges on nonconvex problems without any penalty from data differences across devices, beating existing methods in both final accuracy and communication speed.

What Problem Does This Paper Address?

Imagine trying to coordinate a massive study group where everyone has a different chapter of the textbook, and only five people can join the group call at a time. This is the reality of Federated Learning (FL), which faces two notorious headaches: low client participation (due to bandwidth and system limits) and data heterogeneity (your phone's data looks nothing like mine, causing local updates to pull the global model in conflicting directions—a phenomenon called client drift).

To fix the participation bottleneck, researchers recently proposed client reshuffling. Instead of picking devices at random with replacement (meaning some devices get picked constantly while others are ignored), you shuffle all devices like a deck of cards and deal them out in batches. Every device participates once per "meta-epoch."

Here's the catch: sampling without replacement introduces statistical dependency. Who shows up in round five depends on who already went in rounds one through four. When combined with heterogeneous data, the math gets messy. Previous theoretical guarantees for client reshuffling either restricted themselves to simple convex problems or got stuck with ugly error terms caused by data heterogeneity. The authors ask: Can we get the efficiency of client reshuffling while completely neutralizing client drift on complex, nonconvex models?

Methods

Enter FedCDR (Federated Client Reshuffling Douglas–Rachford). While prior FL algorithms (like FedDR) used Douglas–Rachford (DR) splitting with standard with-replacement sampling, FedCDR is the first to weave it together with client reshuffling.

Here is how it works under the hood:

  • Client Reshuffling: At the start of each meta-epoch, the server shuffles all $n$ clients and splits them into disjoint cohorts of size $C$.
  • Douglas–Rachford Splitting: Instead of just running standard gradient descent and averaging the results, DR splitting is an operator-splitting technique where each client maintains persistent local state variables across rounds. When chosen, a client adjusts its local update based on the gap between its stored local model and the current global model, effectively anchoring it against client drift. Inactive clients simply freeze their states until their next turn.
  • Inexact Proximal Updates: DR splitting requires evaluating a "proximal operator"—essentially solving a mini-optimization problem that keeps updates close to a reference point. Solving this exactly on a phone is way too expensive. FedCDR supports inexact updates, meaning clients can just run a few quick epochs of standard mini-batch SGD to approximate the solution, trading off local compute for fewer server check-ins.

Datasets

No new datasets are introduced, as the authors rely on standard, controllable setups to stress-test heterogeneity:

  • Synthetic Datasets: Synthetic-(0,0), Synthetic-(1,1), and Synthetic-(5,5), where higher numbers crank up the variations in local data features and underlying model parameters.
  • Vision Benchmarks: MNIST, CIFAR-10, and CIFAR-100, partitioned across clients using Dirichlet distributions (concentration parameters $\rho = 0.1$ for extreme heterogeneity and $\rho = 1.0$ for moderate heterogeneity).
  • Text Benchmark: AG News, used to test scalability via LoRA fine-tuning of a Qwen2.5-0.5B language model.

Key Insights and Ideas

  • Zooming out erases the sampling bias: Analyzing client reshuffling round-by-round is a mathematical trap because of step-by-step sampling bias. The authors' "aha moment" was analyzing convergence across an entire meta-epoch instead. Because every client is guaranteed to participate exactly once per meta-epoch, the cumulative drift balances out cleanly.
  • Heterogeneity-free convergence: For smooth nonconvex objectives (like neural networks), FedCDR finds an $\epsilon$-approximate stationary point in $O(n/(C\epsilon))$ communication rounds. Crucially, the leading constant in their convergence bound has zero explicit dependence on data heterogeneity, eliminating the penalty terms that plagued prior reshuffling analyses.
  • Flexible compute-communication dial: As long as the local approximation errors shrink appropriately over time, approximate SGD updates enjoy the exact same $O(1/T)$ asymptotic convergence rate as exact mathematical solutions.

Key Results

Across 500 clients with 10% participation per round, FedCDR achieved the highest mean top-1 test accuracy in all nine synthetic and benchmark settings after 400 rounds.

Table 1: Top-1 test accuracy (%) on synthetic datasets after 400 communication rounds. Results are reported as mean ± standard deviation over five runs. The best mean accuracy in each column is highlighted in bold.
  • Thriving in chaos: As shown in Table 1 above, as synthetic data heterogeneity ramps up to its hardest setting—Synthetic-(5,5)—other methods stumble, while FedCDR's lead widens to 4.07 percentage points over the runner-up (83.95% vs. 79.88% for FedDC).
Table 2: Top-1 test accuracy (%) on benchmark datasets after 400 communication rounds. Results are reported as mean ± standard deviation over five runs. The best mean accuracy in each column is highlighted in bold.
  • Benchmark dominance: On CIFAR-10 and CIFAR-100 under high heterogeneity ($\rho = 0.1$), FedCDR beats the best baselines by over 1.4 percentage points (reaching 76.87% and 66.43%, respectively).
  • Faster check-ins: To hit 90% accuracy at a tiny 5% participation rate, FedCDR needed roughly half the communication rounds of FedDR (158 vs. 303 rounds on Synthetic-(0,0), and 193 vs. 389 on Synthetic-(1,1)).
  • Compute trade-off & robustness: On MNIST ($\rho=0.1$), bumping local work from 5 to 20 epochs slashed required communication rounds from 112 down to 43. It also scaled cleanly to 10,000 clients, hit 92.09% fine-tuning Qwen2.5-0.5B, and barely flinched when 50% of selected clients randomly dropped out on CIFAR-10 (dropping only from 84.46% to 83.74%).

Limitations and Future Work

Not discussed in the paper. (Note: Within the main body of the manuscript, the authors do not include a dedicated section discussing formal limitations or future research directions, though the formulation relies on standard $L$-smoothness assumptions and requires clients to maintain local state across meta-epochs).

Summary updated

Abstract

Data heterogeneity and low client participation are two key challenges in federated learning (FL). To improve participation efficiency under low client participation, recent work has introduced client reshuffling, which samples clients without replacement. However, client reshuffling does not address data heterogeneity. Moreover, its without-replacement sampling introduces sampling bias, complicating convergence analysis under heterogeneous data. Existing analyses of client reshuffling either focus on convex objectives or retain heterogeneity error terms in the nonconvex setting. To address this gap, we propose \textbf{FedCDR}, a federated learning method that combines client reshuffling with Douglas--Rachford splitting. FedCDR supports inexact local proximal updates, enabling a flexible trade-off between local computation and communication. For smooth nonconvex objectives, we establish an $O(\epsilon^{-1})$ meta-epoch complexity for finding an $\epsilon$-approximate stationary point. Since each meta-epoch consists of $n/C$ communication rounds, this yields an $O(n/(C\epsilon))$ communication-round complexity, where $n$ is the total number of clients and $C$ is the number of participating clients per round. Importantly, our convergence bound does not explicitly depend on client data heterogeneity, avoiding the heterogeneity error terms in existing client-reshuffling analyses. Experiments on synthetic and benchmark datasets show that FedCDR achieves the highest mean test accuracy in nine evaluated settings and requires the fewest communication rounds to reach target accuracy in five of six participation settings.
BibTeX
@inproceedings{zhang2026mitigating,
  author = {Su Zhang and Peiran Yu and Heng Huang},
  title = {{Mitigating Data Heterogeneity Effect in Client-Reshuffling-Based Federated Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=cFwxeCCrXP},
}
Figure