Skip to main content
QUICK REVIEW

[Paper Review] DETOX: A Redundancy-based Framework for Faster and More Robust Gradient Aggregation

Shashank Rajput, Hongyi Wang|arXiv (Cornell University)|Jul 29, 2019
Machine Learning and ELMComputer Science42 citations
TL;DR

DETOX hybrids redundancy with robust gradient aggregation to filter Byzantine gradients and achieve near-linear per-iteration complexity with significantly improved robustness and speedups.

ABSTRACT

To improve the resilience of distributed training to worst-case, or Byzantine node failures, several recent approaches have replaced gradient averaging with robust aggregation methods. Such techniques can have high computational costs, often quadratic in the number of compute nodes, and only have limited robustness guarantees. Other methods have instead used redundancy to guarantee robustness, but can only tolerate limited number of Byzantine failures. In this work, we present DETOX, a Byzantine-resilient distributed training framework that combines algorithmic redundancy with robust aggregation. DETOX operates in two steps, a filtering step that uses limited redundancy to significantly reduce the effect of Byzantine nodes, and a hierarchical aggregation step that can be used in tandem with any state-of-the-art robust aggregation method. We show theoretically that this leads to a substantial increase in robustness, and has a per iteration runtime that can be nearly linear in the number of compute nodes. We provide extensive experiments over real distributed setups across a variety of large-scale machine learning tasks, showing that DETOX leads to orders of magnitude accuracy and speedup improvements over many state-of-the-art Byzantine-resilient approaches.

Motivation & Objective

  • Motivate robust distributed training against Byzantine failures in gradient aggregation.
  • Introduce a two-step framework that uses redundancy to filter Byzantine gradients and hierarchical aggregation to improve robustness.
  • Show that redundancy reduces Byzantine influence exponentially with modest extra computation.
  • Provide theoretical robustness guarantees and practical runtime improvements.
  • Demonstrate empirical gains across large-scale experiments and common Byzantine attacks.

Proposed method

  • Partition compute nodes into groups of size r and compute redundant gradients for the same data batch.
  • Majority vote within each group to filter out most Byzantine gradients (votes z_j).
  • Apply a hierarchical aggregation (Hier-Aggr) on the filtered votes using two aggregators A0 and A1, resembling a median-of-means approach.
  • Pair Detox with existing robust aggregators (e.g., Multi-Krum, Bulyan, coordinate-wise median) to obtain improved robustness and efficiency.
  • Theoretically bound the expected number of Byzantine votes after filtering, enabling near-constant effective Byzantine influence under suitable r.
  • Show runtime benefits: Detox achieves approximately linear in p complexity versus quadratic for some baselines.

Experimental results

Research questions

  • RQ1Can redundancy-based filtering drastically reduce the impact of Byzantine gradients without prohibitive computation?
  • RQ2How does a hierarchical aggregation stage interact with existing robust aggregators to improve robustness and scalability?
  • RQ3What are the theoretical robustness guarantees when combining Detox with different base aggregators?
  • RQ4What empirical performance (accuracy and speed) is achievable with Detox under strong Byzantine attacks?

Key findings

  • Redundancy-based filtering reduces Byzantine votes exponentially with r, enabling near-constant effective Byzantine influence when r is logarithmic in the node count.
  • Detox achieves near-linear per-iteration runtime in the number of compute nodes, significantly faster than quadratic-time robust aggregators.
  • Pairing Detox with robust aggregators like Multi-Krum, Bulyan, and coordinate-wise median substantially improves resilience against strong Byzantine attacks (e.g., ALIE) and increases end-to-end training speed.
  • Under ALIE attacks, Detox-augmented methods attain markedly higher test accuracy than their vanilla counterparts (e.g., D-Med. vs. Med. on CIFAR datasets).
  • Detox paired with sign-SGD substantially improves resilience against constant Byzantine attacks, with large gains in test accuracy.
  • Theoretical results show Delta-inexact gradient oracles with robustness guarantees that scale better with the number of nodes than naive aggregation alone.

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.