Skip to main content
QUICK REVIEW

[Paper Review] ByGARS: Byzantine SGD with Arbitrary Number of Attackers

Jayanth Reddy Regatti, Hao Chen|arXiv (Cornell University)|Jun 24, 2020
Privacy-Preserving Technologies in DataComputer Science41 references8 citations
TL;DR

This paper proposes ByGARS and ByGARS++, two robust stochastic gradient descent algorithms for distributed machine learning that handle any number of Byzantine attackers by using reputation scores derived from an auxiliary dataset. The reputation scores, computed via inner products with auxiliary gradients, enable weighted aggregation that ensures convergence under strong convexity and robustness against diverse attacks, even when over half the workers are adversarial.

ABSTRACT

We propose two novel stochastic gradient descent algorithms, ByGARS and ByGARS++, for distributed machine learning in the presence of any number of Byzantine adversaries. In these algorithms, reputation scores of workers are computed using an auxiliary dataset at the server. This reputation score is then used for aggregating the gradients for stochastic gradient descent. The computational complexity of ByGARS++ is the same as the usual distributed stochastic gradient descent method with only an additional inner product computation in every iteration. We show that using these reputation scores for gradient aggregation is robust to any number of multiplicative noise Byzantine adversaries and use two-timescale stochastic approximation theory to prove convergence for strongly convex loss functions. We demonstrate the effectiveness of the algorithms for non-convex learning problems using MNIST and CIFAR-10 datasets against almost all state-of-the-art Byzantine attacks. We also show that the proposed algorithms are robust to multiple different types of attacks at the same time.

Motivation & Objective

  • To address the limitation of prior Byzantine robust methods that assume fewer than half the workers are adversarial.
  • To develop a gradient aggregation mechanism resilient to any number of Byzantine adversaries, including those with arbitrary or malicious gradient updates.
  • To enable convergence and robust performance in non-convex learning settings such as deep learning on MNIST and CIFAR-10 under diverse attack models.
  • To design a defense that does not rely on assumptions like median or majority voting, but instead uses reputation-based weighted averaging.

Proposed method

  • The server maintains a small auxiliary dataset drawn from the same distribution as the training data to compute reference gradients.
  • Each worker’s reputation score is computed as the inner product between its gradient and the auxiliary gradient, reflecting alignment with the true optimization direction.
  • Reputation scores are used to weight gradient aggregation, allowing negative scores to suppress adversarial contributions.
  • ByGARS++ uses a two-timescale stochastic approximation to update reputation scores and model parameters, ensuring convergence under strong convexity.
  • The method avoids reliance on geometric median or norm-based filtering, instead using directional alignment as a robustness criterion.
  • Theoretical convergence is proven using two-timescale stochastic approximation theory for strongly convex objectives.

Experimental results

Research questions

  • RQ1Can a distributed SGD algorithm remain robust and converge when more than half of the workers are Byzantine adversaries?
  • RQ2How can reputation scores derived from auxiliary data improve gradient aggregation in the presence of arbitrary adversarial gradients?
  • RQ3Does the proposed method maintain performance under mixed or multi-type Byzantine attacks, including sign flips, label flipping, and constant or Gaussian noise injections?
  • RQ4Why does the method fail against the LIE attack when the fraction of adversaries reaches 0.5, and what are the underlying limitations?
  • RQ5Can reputation-based aggregation outperform standard baselines even in the absence of attacks, without introducing a performance trade-off?

Key findings

  • ByGARS and ByGARS++ achieve robust convergence on MNIST and CIFAR-10 even when all seven workers are adversarial, outperforming baseline averaging and median aggregation.
  • The algorithms are resilient to all tested Byzantine attacks, including sign flips, label flipping, Gaussian noise, constant gradients, and mixed attacks, with the exception of the LIE attack under f=0.5.
  • When the fraction of adversaries exceeds 0.5, median-based aggregation fails completely, while ByGARS and ByGARS++ maintain high accuracy, demonstrating their superiority in high-adversary regimes.
  • In the absence of attacks, both algorithms perform comparably to the standard baseline, showing no performance degradation due to the reputation mechanism.
  • The reputation scores remain balanced under LIE attacks with f=0.5, suggesting that the defense is not based on norm or magnitude filtering but on directional alignment with the auxiliary gradient.
  • Simulations on a synthetic strongly convex problem confirm that both ByGARS and ByGARS++ converge to the optimal solution under arbitrary numbers of adversaries, validating the theoretical claims.

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.