Skip to main content
QUICK REVIEW

[Paper Review] DRACO: Byzantine-resilient Distributed Training via Redundant Gradients

Lingjiao Chen, Hongyi Wang|arXiv (Cornell University)|Mar 27, 2018
Adversarial Robustness in Machine LearningComputer Science31 citations
TL;DR

DRACO is a Byzantine-resilient distributed training framework that uses coding-theoretic redundancy to tolerate malicious compute nodes while maintaining the same model as in adversary-free training. By encoding gradients with redundancy ratios that enable error correction via decoding, DRACO achieves orders-of-magnitude faster training than geometric median-based methods, with negligible overhead in real-world setups.

ABSTRACT

Distributed model training is vulnerable to byzantine system failures and adversarial compute nodes, i.e., nodes that use malicious updates to corrupt the global model stored at a parameter server (PS). To guarantee some form of robustness, recent work suggests using variants of the geometric median as an aggregation rule, in place of gradient averaging. Unfortunately, median-based rules can incur a prohibitive computational overhead in large-scale settings, and their convergence guarantees often require strong assumptions. In this work, we present DRACO, a scalable framework for robust distributed training that uses ideas from coding theory. In DRACO, each compute node evaluates redundant gradients that are used by the parameter server to eliminate the effects of adversarial updates. DRACO comes with problem-independent robustness guarantees, and the model that it trains is identical to the one trained in the adversary-free setup. We provide extensive experiments on real datasets and distributed setups across a variety of large-scale models, where we show that DRACO is several times, to orders of magnitude faster than median-based approaches.

Motivation & Objective

  • Address the vulnerability of distributed training to Byzantine failures and adversarial compute nodes that inject malicious gradients.
  • Overcome the prohibitive computational cost of geometric median-based aggregation in large-scale settings.
  • Provide problem-independent robustness guarantees with convergence identical to adversary-free training.
  • Design a scalable, efficient framework applicable to a wide range of optimization algorithms (e.g., SGD, GD, SVRG).

Proposed method

  • Use algorithmic redundancy by assigning each compute node multiple redundant gradients, increasing the computational load per node by a redundancy ratio r.
  • Encode gradient updates using fractional repetition or cyclic repetition codes to enable error detection and correction at the parameter server.
  • Decode the aggregated gradient sum using a majority vote decoder or a novel Fourier-based decoding technique to recover the correct sum despite up to (r−1)/2 adversarial nodes.
  • Ensure the final model is identical to the one trained without adversaries, enabling black-box convergence guarantees.
  • Tune redundancy ratio r to achieve information-theoretic optimality in adversarial resilience.
  • Implement the framework in PyTorch and deploy on Amazon EC2 for real-world evaluation across diverse models and datasets.

Experimental results

Research questions

  • RQ1Can a distributed training system achieve Byzantine resilience with minimal computational overhead compared to geometric median-based approaches?
  • RQ2Is it possible to design a framework that maintains the same model as in the adversary-free setting while tolerating malicious updates?
  • RQ3Can coding-theoretic techniques be effectively adapted to enable efficient, scalable gradient aggregation under worst-case adversarial conditions?
  • RQ4How does the performance of the proposed redundancy-based method scale with increasing numbers of adversarial nodes and model complexity?
  • RQ5What is the trade-off between redundancy ratio and end-to-end training speed in real distributed environments?

Key findings

  • DRACO reduces training time by up to orders of magnitude compared to geometric median-based methods, with the GM approach’s decoding cost dominating training time.
  • On ResNet-152 with 11.1% adversaries, DRACO’s cyclic encoding scheme achieved a per-iteration time of 23.08 seconds, compared to 212.31 seconds for the GM method.
  • For VGG-19, DRACO’s cyclic code had a total time of 3.08 seconds per iteration, while GM took 74.63 seconds, demonstrating a 24x speedup in decoding overhead.
  • The total runtime of DRACO increases only slightly with the number of adversaries, remaining stable even at 46.7% adversarial nodes due to communication being the dominant cost.
  • The encoding and decoding overhead in DRACO is negligible compared to the geometric median computation, making it practical for large-scale systems.
  • DRACO achieves information-theoretic optimality in redundancy, requiring the minimal possible amount of redundancy to tolerate up to (r−1)/2 adversarial nodes.

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.