Skip to main content
QUICK 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 Science被引用 42
一句话总结

DETOX 将冗余性与鲁棒梯度聚合相结合,以过滤拜占庭梯度,并实现几乎线性的每次迭代复杂度,同时显著提升鲁棒性和加速效果。

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.

研究动机与目标

  • 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.

提出的方法

  • 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.

实验结果

研究问题

  • 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?

主要发现

  • 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.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。