Skip to main content
QUICK REVIEW

[Paper Review] Byzantine-Resilient Non-Convex Stochastic Gradient Descent

Zeyuan Allen-Zhu, Faeze Ebrahimian|arXiv (Cornell University)|Dec 28, 2020
Stochastic Gradient Optimization TechniquesComputer Science38 references18 citations
TL;DR

This paper proposes SafeguardSGD, a Byzantine-resilient stochastic gradient descent algorithm for non-convex optimization that provably escapes saddle points and finds approximate local minima even when up to half the workers are adversarial. It uses a novel concentration filtering technique to robustly aggregate gradients, achieving sample and time complexity matching the best non-Byzantine SGD bounds under mild assumptions, with strong empirical performance on deep learning tasks.

ABSTRACT

We study adversary-resilient stochastic distributed optimization, in which $m$ machines can independently compute stochastic gradients, and cooperate to jointly optimize over their local objective functions. However, an $α$-fraction of the machines are $ extit{Byzantine}$, in that they may behave in arbitrary, adversarial ways. We consider a variant of this procedure in the challenging $ extit{non-convex}$ case. Our main result is a new algorithm SafeguardSGD which can provably escape saddle points and find approximate local minima of the non-convex objective. The algorithm is based on a new concentration filtering technique, and its sample and time complexity bounds match the best known theoretical bounds in the stochastic, distributed setting when no Byzantine machines are present. Our algorithm is very practical: it improves upon the performance of all prior methods when training deep neural networks, it is relatively lightweight, and it is the first method to withstand two recently-proposed Byzantine attacks.

Motivation & Objective

  • To address the challenge of non-convex distributed stochastic optimization under Byzantine faults, where up to half the workers may behave arbitrarily.
  • To design an algorithm that provably escapes saddle points and converges to approximate local minima despite adversarial gradient updates.
  • To achieve sample and time complexity matching the best-known non-Byzantine SGD bounds in the presence of Byzantine workers.
  • To develop a practical, lightweight algorithm that withstands modern Byzantine attacks and outperforms prior robust aggregation methods in deep learning.

Proposed method

  • Introduces SafeguardSGD, a novel algorithm that uses a concentration filtering technique to robustly aggregate stochastic gradients in the presence of Byzantine workers.
  • Employs a double-guard mechanism: one for large gradient norms and another for negative Hessian eigenvalues, ensuring escape from saddle points.
  • Uses coupled perturbed SGD with symmetric noise along negative curvature directions to amplify escape from poor local minima.
  • Applies martingale concentration and trimming techniques to filter adversarial gradients while preserving convergence guarantees.
  • Employs a two-phase aggregation strategy: first filtering via concentration bounds, then applying robust aggregation to maintain convergence under adversarial corruption.
  • Designs a practical implementation that integrates seamlessly into standard data-parallel training pipelines for deep neural networks.

Experimental results

Research questions

  • RQ1Can a distributed non-convex optimization algorithm provably escape saddle points when up to half the workers are Byzantine?
  • RQ2Can such an algorithm achieve sample and time complexity matching the best non-Byzantine SGD bounds?
  • RQ3Can a practical, lightweight algorithm withstand modern Byzantine attacks while maintaining high performance on deep learning tasks?
  • RQ4Is it possible to design a robust aggregation method that simultaneously handles large gradients and negative curvature directions in a non-convex setting?

Key findings

  • SafeguardSGD ensures that after $ T = \widetilde{O}\left(\left(\alpha^{2} + \frac{1}{m}\right)\frac{d(f(x_0) - \min f(x))}{\varepsilon^4}\right) $ iterations, with high probability, the algorithm finds a point where $ \|\nabla f(x_t)\| \leq \varepsilon $ and $ \nabla^2 f(x_t) \succeq -\sqrt{\varepsilon} \mathbf{I} $.
  • When $ \alpha < 1/\sqrt{m} $, the sample complexity matches the optimal non-Byzantine SGD bound, achieving $ \widetilde{\Omega}(m) $ parallel speedup.
  • The algorithm achieves linear parallel speedup in the regime where fewer than $ \sqrt{m} $ workers are Byzantine, maintaining optimal convergence rates.
  • Empirically, SafeguardSGD outperforms prior methods—including Geometric Median, Coordinate-wise Median, Krum, and Zeno—on ResNet-20 training for CIFAR-10/100.
  • The algorithm successfully resists two recently proposed Byzantine attacks that break prior robust methods, including the convex-optimized algorithm of [alistarh2018byzantine].
  • Ablation studies confirm that the double-guard mechanism is essential: removing either guard leads to failure in escaping saddle points or convergence to poor solutions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.