Byzantine-Robust Distributed SGD: A Unified Analysis and Tight Error Bounds
Authors: Boyuan Ruan, Xiaoyu Wang, Ya-Feng Liu
Organizations: School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences, Beijing 100049, China · School of Mathematical Sciences, University of Chinese Academy of Sciences, Beijing 100049, China · Ministry of Education Key Laboratory of Mathematics and Information Networks, School of Mathematical Sciences, Beijing University of Posts and Telecommunications, Beijing 102206, China
Byzantine-robust distributed optimization relies on robust aggregation rules to mitigate the influence of malicious Byzantine workers. Despite the proliferation of such rules, a unified convergence analysis framework that accommodates general data heterogeneity is lacking. In this work, we provide a thorough convergence theory of Byzantine-robust distributed stochastic gradient descent (SGD), analyzing variants both with and without local momentum. We establish the convergence rates for nonconvex smooth objectives and those satisfying the Polyak-Lojasiewicz condition under a general data heterogeneity assumption. Our analysis reveals that while stochasticity and data heterogeneity introduce unavoidable error floors, local momentum provably reduces the error component induced by stochasticity. Furthermore, we derive matching lower bounds to demonstrate that the upper bounds obtained in our analysis are tight and characterize the fundamental limits of Byzantine resilience under stochasticity and data heterogeneity. Empirical results support our theoretical findings.
Figures & tables
Settings
Algorithm
Heterogeneity
Convergence
Reference
smooth
R-DSGD
(G,0)
O(Tσ2+Δ0+κσ2+κG2)
( Guerraoui et al., 2024b )
R-DSGD
(G,B)
O(Tσ2+Δ0+1−κB2κσ2+κG2)
Corollary 3.2
R-DSGD-M
(G,0)
O(T(1+κ)σ2+Δ0+κG2)
( Allouah et al., 2023a )
R-DGD-M
(G,B)
O(TΔ0+1−κB2κG2)
( Gupta et al., 2025 )
R-DSGD-M
(G,B)
O(T(1+κ)σ2+Δ0+1−κB2κG2)
Corollary 3.5
smooth and PL
R-DSGD
(G,0)
O(T(1+κ)σ2+κG2+μκσ2+κG2)
( Guerraoui et al., 2024b )
Table 1: A comparison of prior work with our convergence results of R-DSGD and R-DSGD-M. Here, σ2 refers to the stochastic noise bound, μ is the PL condition parameter, and Δ0:=fH(x0)−fH∗ represents the initial gap on the global objective function. The bold terms indicate the Byzantine error, which we prove to be tight for the first time.
Figure 1: The performance of the oracle aggregation rules when increasing B2 under three choices of the parameter κ : κ=0.05 (left), κ=0.1 (middle), and κ=0.2 (right).
Figure 2: Performance comparison of R-DSGD (dashed lines) and R-DSGD-M (solid lines) on training MLP in the MNIST dataset using various robust aggregation rules in the absence of Byzantine attacks. Left: Settings with large batch size ( m=64 ) and high data heterogeneity ( α=0.1 ). Right: Settings with small batch size ( m=1 ) and low data heterogeneity ( α=10 ).
Figure 4: Performance comparison of R-DSGD (dashed lines) and R-DSGD-M (solid lines) on training ResNet-20 in the CIFAR-10 dataset with various robust aggregation rules under four scenarios: no attack (top-left), label flip attack (top-right), sign flip attack (bottom-left), and “a little is enough” attack (bottom-right). All experiments use a batch size of m=4 and a Dirichlet distribution parameter of α=0.5 , simulating an environment with large stochastic noise and high data heterogeneity.
Distributed optimization coordinates computation across multiple agents or machines while balancing convergence, communication, privacy, and reliability.
We consider distributed optimization under Byzantine attacks in the presence of (L0,L1)-smoothness, a generalization of standard L-smoothness that captures functions with state-dependent gradient Lipschitz constants. We propose Byz-NSGDM, a normalized stochastic gradient descent method with momentum that achieves robustness against Byzantine workers while maintaining convergence guarantees. Our algorithm combines momentum normalization with Byzantine-robust aggregation enhanced by Nearest Neighbor Mixing (NNM) to handle both the challenges posed by (L0,L1)-smoothness and Byzantine adversaries. We prove that Byz-NSGDM achieves a convergence rate of O(K−1/4) up to a Byzantine bias floor proportional to the robustness coefficient and gradient heterogeneity. Experimental validation on heterogeneous MNIST classification, synthetic (L0,L1)-smooth optimization, and character-level language modeling with a small GPT model demonstrates the effectiveness of our approach against various Byzantine attack strategies. An ablation study further shows that Byz-NSGDM is robust across a wide range of momentum and learning rate choices.
Arman Bolatov, Samuel Horváth, Martin Takáč +1
Mohamed bin Zayed University of Artificial Intelligence, UAE
In collaborative and distributed learning, Byzantine robustness reflects a major facet of optimization algorithms. Such distributed algorithms are often accompanied by transmitting a large number of parameters, so communication compression is essential for an effective solution. In this paper, we propose Byz-DM21, a novel Byzantine-robust and communication-efficient stochastic distributed learning algorithm. Our key innovation is a novel gradient estimator based on a double-momentum mechanism, integrating recent advancements in error feedback techniques. Using this estimator, we design both standard and accelerated algorithms that eliminate the need for large batch sizes while maintaining robustness against Byzantine workers. We prove that the Byz-DM21 algorithm has a smaller neighborhood size and converges to ε-stationary points in O(ε−4) iterations. To further enhance efficiency, we introduce a distributed variant called Byz-VR-DM21, which incorporates local variance reduction at each node to progressively eliminate variance from random approximations. We show that Byz-VR-DM21 provably converges to ε-stationary points in O(ε−3) iterations. Additionally, we extend our results to the case where the functions satisfy the Polyak-Łojasiewicz condition. Finally, numerical experiments demonstrate the effectiveness of the proposed method.
Yanghao Li, Changxin Liu, Yuhao Yi
Sichuan University · East China University of Science and Technology
Asynchronous SGD is a popular algorithm for distributed learning where each client's gradient update is applied on arrival. This leads to a speed-up, but also an increased vulnerability to attacks, as fast clients can dominate the total update. We introduce Throttle, a Byzantine-robust generalization of asynchronous SGD where the key idea is to exponentially down-weight updates from faster clients by a factor q. Both asynchronous SGD (q=1) and synchronous Byzantine-robust SGD (q→∞) correspond to specific settings of Throttle. We provide a theoretical analysis of the convergence rate and validate the robustness to attacks both theoretically and empirically. Remarkably, our experiments show that this down-weighting mechanism can also improve performance over standard asynchronous SGD even in the non-Byzantine setting.
Kaoru Otsuka, Maxime Meyer, Yuki Takezawa +2
Okinawa Institute of Science and Technology · National University of Singapore · Toyota Motor Corporation +1