Optimal Complexity in Byzantine-Robust Distributed Stochastic Optimization with Data Heterogeneity

Qiankun Shi, Jie Peng, Kun Yuan, Xiao Wang, Qing LingarXiv 2025 · DOI

Introduction

Training large-scale machine learning models increasingly relies on distributed computing, where a central server aggregates updates from multiple worker nodes. This architecture is susceptible to Byzantine attacks, where malicious or faulty nodes send erroneous data. Defending against such attacks is particularly challenging when data is heterogeneous (non-IID), as the server must distinguish between malicious updates and legitimate, albeit unique, local data. This paper establishes the fundamental performance limits for this setting and introduces novel algorithms that achieve these optimal bounds.

The Fundamental Limits of Robust Optimization

The authors address two core questions: the minimum achievable "Byzantine error" (the residual error that persists regardless of training time) and the optimal convergence rate (oracle query complexity).

A key insight is that in a heterogeneous, Byzantine environment, the total error is strictly two-part:

  1. Non-vanishing Byzantine error: A fundamental floor caused by the inability to perfectly separate malicious actors from heterogeneous data.
  2. Vanishing optimization error: The standard error that decreases as training progresses.

The paper mathematically constructs "worst-case" optimization problems to derive tight lower bounds for both strongly convex and non-convex scenarios. These bounds define the theoretical ceiling for any robust aggregator.

The Byrd-Nester Framework

To prove these lower bounds are tight, the authors developed Byrd-Nester (Byzantine-robust distributed stochastic Nesterov’s accelerated method with variance reduction). This framework incorporates several critical defense and optimization mechanisms:

  • Variance Reduction: By using mini-batching and historical gradient tracking, the algorithm reduces the statistical noise of honest nodes. This "strips the cover" from Byzantine nodes, allowing the server to use more precise aggregation thresholds and limiting the damage attackers can inflict.
  • Dual Nesterov's Acceleration: The authors prove that standard gradient descent cannot reach the theoretical optimal limits. Byrd-Nester applies momentum at both the node-level (local updates) and the server-level (global aggregation) to hit the required complexity.
  • Advanced Wrappers: For strongly convex and non-convex problems, the authors introduce Algorithms 2 and 3, which utilize periodic restarts and proximal point methods to close the final theoretical gaps.

Key Results and Theoretical Optimality

The primary contribution of this work is the alignment of theoretical lower bounds with algorithmic performance. The proposed algorithms match the derived lower bounds up to negligible logarithmic factors, proving that the bounds are tight and the algorithms are optimal.

Comparison of Byzantine error and oracle query complexity for strongly convex problems.

As shown in the table above for strongly convex problems, the lower bound for oracle query complexity is established in Theorem 11. Algorithm 2 (Theorem 15) successfully matches these performance characteristics, significantly improving upon previous state-of-the-art bounds.

Comparison of Byzantine error and oracle query complexity for non-convex problems.

Similarly, for non-convex problems, the lower bounds and the performance of Algorithm 3 (Theorem 18) align. This demonstrates the optimality of the proposed approach across different optimization landscapes, including the challenging non-convex settings common in deep learning.

Empirically, the Byrd-Nester algorithm was validated using MNIST-based CNN and Logistic Regression models. Under various attacks (e.g., Bit Flipping, Label Flipping, Inner Product Manipulation) and across 14 different robust aggregators, it consistently achieved higher worst-case accuracy and faster convergence than baselines like DSGD and DSGDm.

Conclusion and Future Work

While Algorithms 2 and 3 are theoretically optimal, they involve complex hyperparameter tuning, making them more difficult to deploy than the simpler Algorithm 1. Future research will focus on simplifying these methods for easier practical deployment. Additionally, the authors aim to extend this framework to zeroth-order and second-order methods, as well as asynchronous and fully decentralized (serverless) network architectures.

Summary updated

BibTeX
@misc{shi2025optimal,
  author = {Qiankun Shi and Jie Peng and Kun Yuan and Xiao Wang and Qing Ling},
  title = {{Optimal Complexity in Byzantine-Robust Distributed Stochastic Optimization with Data Heterogeneity}},
  year = {2025},
  eprint = {2503.16337},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.16337},
}
Figure