Scaffold with Stochastic Gradients: New Analysis with Linear Speed-Up

Paul Mangold, Alain Durmus, Aymeric Dieuleveut, Eric Moulines
3/10/2025
stat.MLcs.LGmath.OC

No official code found. Best implementation: pmangold/scaffold-speed-up (2 stars, last commit 2025-02-14).

Abstract

This paper proposes a novel analysis for the Scaffold algorithm, a popular method for dealing with data heterogeneity in federated learning. While its convergence in deterministic settings--where local control variates mitigate client drift--is well established, the impact of stochastic gradient updates on its performance is less understood. To address this problem, we first show that its global parameters and control variates define a Markov chain that converges to a stationary distribution in the Wasserstein distance. Leveraging this result, we prove that Scaffold achieves linear speed-up in the number of clients up to higher-order terms in the step size. Nevertheless, our analysis reveals that Scaffold retains a higher-order bias, similar to FedAvg, that does not decrease as the number of clients increases. This highlights opportunities for developing improved stochastic federated learning algorithms

View on arXivView PDF

Code Implementations(1)

20PythonFeb 14, 20251 years ago

Similar Papers

Cite this paper

@article{mangold2025scaffold,
  title  = {Scaffold with Stochastic Gradients: New Analysis with Linear Speed-Up},
  author = {Paul Mangold and Alain Durmus and Aymeric Dieuleveut and Eric Moulines},
  year   = {2025},
  eprint = {2503.07594},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.07594v1},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.07594.svg)](https://codeofpaper.com/paper/2503.07594)

Discussion