How Edge of Stability Hinders SCAFFOLD in Federated Optimization
Not on the map. Why?
Abstract (arXiv)
In federated learning, it is well known that heterogeneous data can (in theory) slow down optimization, and much effort has been directed at designing optimization algorithms that are unaffected by data heterogeneity, such as the SCAFFOLD algorithm. Yet, despite strong theoretical guarantees, SCAFFOLD does not usually outperform the much simpler FedAvg in practice. In this work, we propose that this gap is due to the presence of Edge of Stability (EoS) and progressive sharpening in federated optimization, supported by extensive empirical probing. First, we find that EoS-like dynamics occur with both FedAvg and SCAFFOLD under a variety of architectures and hyperparameters. We observe that the equilibrium value of the sharpness is inversely proportional to the learning rate (as in GD), and interestingly, the degree of data heterogeneity (but not the number of local steps) also affects the equilibrium value. Most importantly, we observe that SCAFFOLD's ability to estimate the gradient of the global objective is severely degraded at the EoS, as measured by the correlation between sharpness and SCAFFOLD's error in estimating the global gradient along the optimization trajectory. This suggests a mechanism for SCAFFOLD's lackluster performance in deep learning: with high sharpness at the EoS, SCAFFOLD cannot reliably estimate the global gradient.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 20 of its 26 references that are in the map. First posted on arXiv 26 Aug 2026.
Builds on
20 of 26 references.
References · 20
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,592
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2018Local SGD Converges Fast and Communicates Littlecited by 595
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
- 2020A Unified Theory of Decentralized SGD with Changing Topology and Local Updatescited by 361
- 2019Tighter Theory for Local SGD on Identical and Heterogeneous Datacited by 266
- 2022Self-Stabilization: The Implicit Bias of Gradient Descent at the Edge of Stabilitycited by 151
- 2019On the Convergence of Local Descent Methods in Federated Learningcited by 150
- 2020Minibatch vs Local SGD for Heterogeneous Distributed Learningcited by 147
- 2022Adaptive Gradient Methods at the Edge of Stabilitycited by 88
- 2024Understanding Optimization in Deep Learning with Central Flowscited by 57
- 2022Understanding Edge-of-Stability Training Dynamics with a Minimalist Examplecited by 54
8 more
- 2023Recent Advances on Federated Learning: A Systematic Surveycited by 40
- 2021Sharp Bounds for Federated Averaging (Local SGD) and Continuous Perspectivecited by 38
- 2022Beyond the Edge of Stability via Two-step Gradient Updatescited by 38
- 2023(S)GD over Diagonal Linear Networks: Implicit Regularisation, Large Stepsizes and Edge of Stabilitycited by 35
- 2022TCT: Convexifying Federated Learning using Bootstrapped Neural Tangent Kernelscited by 26
- 2024The Limits and Potentials of Local SGD for Distributed Heterogeneous Learning with Intermittent Communicationcited by 12
- 2024Not All Federated Learning Algorithms Are Created Equal: A Performance Evaluation Studycited by 10
- 2025Scaffold with Stochastic Gradients: New Analysis with Linear Speed-Upcited by 3
Built on by
Not cited yet.