Skip to main content
QUICK REVIEW

[论文解读] Byzantine-Resilient Non-Convex Stochastic Gradient Descent

Zeyuan Allen-Zhu, Faeze Ebrahimian|arXiv (Cornell University)|Dec 28, 2020
Stochastic Gradient Optimization TechniquesComputer Science参考文献 38被引用 18
一句话总结

该论文提出 SafeguardSGD,一种针对非凸优化的拜占庭容错随机梯度下降算法,可证明地逃离鞍点并找到近似局部极小值,即使多达一半的工作者为恶意时亦然。该方法采用一种新颖的集中过滤技术,稳健聚合梯度,在温和假设下实现与最佳非拜占庭SGD边界匹配的样本和时间复杂度,并在深度学习任务中展现出强劲的实验性能。

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.

研究动机与目标

  • 解决在多达一半工作者可能任意行为的拜占庭故障下,非凸分布式随机优化的挑战。
  • 设计一种算法,即使在恶意梯度更新下,也能可证明地逃离鞍点并收敛至近似局部极小值。
  • 在存在拜占庭工作者的情况下,实现与最佳已知非拜占庭SGD边界匹配的样本和时间复杂度。
  • 开发一种实用且轻量级的算法,能够抵御现代拜占庭攻击,并在深度学习任务中表现优于先前的鲁棒聚合方法。

提出的方法

  • 提出 SafeguardSGD,一种新颖算法,利用集中过滤技术在存在拜占庭工作者的情况下稳健聚合随机梯度。
  • 采用双层防护机制:一层用于处理大梯度范数,另一层用于处理负Hessian特征值,确保逃离鞍点。
  • 使用耦合扰动SGD,沿负曲率方向施加对称噪声,以增强从劣质局部极小值中逃离的能力。
  • 应用鞅集中不等式与剪枝技术,在保留收敛保证的同时过滤恶意梯度。
  • 采用两阶段聚合策略:首先通过集中界限进行过滤,然后应用鲁棒聚合,以在恶意污染下维持收敛性。
  • 设计一种实用实现,可无缝集成至标准数据并行训练流水线,用于深度神经网络。

实验结果

研究问题

  • RQ1当多达一半的工作者为拜占庭时,分布式非凸优化算法是否可证明地逃离鞍点?
  • RQ2此类算法是否可实现与最佳非拜占庭SGD边界匹配的样本和时间复杂度?
  • RQ3是否可设计一种实用且轻量级的算法,抵御现代拜占庭攻击,同时在深度学习任务中保持高性能?
  • RQ4能否设计一种鲁棒聚合方法,在非凸设置下同时处理大梯度与负曲率方向?

主要发现

  • SafeguardSGD 确保在 $ T = \widetilde{O}\left(\left(\alpha^{2} + \frac{1}{m}\right)\frac{d(f(x_0) - \min f(x))}{\varepsilon^4}\right) $ 次迭代后,以高概率找到满足 $ \|\nabla f(x_t)\| \leq \varepsilon $ 且 $ \nabla^2 f(x_t) \succeq -\sqrt{\varepsilon} \mathbf{I} $ 的点。
  • 当 $ \alpha < 1/\sqrt{m} $ 时,样本复杂度匹配最优非拜占庭SGD边界,实现 $ \widetilde{\Omega}(m) $ 的并行加速。
  • 在少于 $ \sqrt{m} $ 个工作者为拜占庭的区域,该算法实现线性并行加速,同时保持最优收敛速率。
  • 实验结果表明,SafeguardSGD 在 CIFAR-10/100 的 ResNet-20 训练中优于先前方法(包括几何中位数、坐标中位数、Krum 和 Zeno)。
  • 该算法成功抵御了近期提出的两种拜占庭攻击,这些攻击可破坏先前的鲁棒方法,包括 [alistarh2018byzantine] 提出的凸优化算法。
  • 消融研究证实双层防护机制至关重要:若移除任一重防护,均会导致无法逃离鞍点或收敛至劣质解。

阅读本论文

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

在 Nubint 中阅读本论文

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