arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.07928stat.MLcs.CRcs.DCcs.LG
收藏

异步拜占庭机器学习(SGD案例)

Asynchronous Byzantine Machine Learning (the case of SGD)

EPFL(洛桑联邦理工学院)

Georgios Damaskinos, El Mahdi El Mhamdi, Rachid Guerraoui, Rhicheek Patra, Mahsa Taziki

摘要:

到目前为止,异步分布式机器学习解决方案已经被证明非常有效,但总是假设工作人员功能完美。然而,在实践中,一些工作者可能会表现出拜占庭式的行为,这是由硬件故障、软件错误、损坏的数据甚至恶意攻击造成的。我们介绍\emph{Kardam},第一个分布式异步随机梯度下降(SGD)算法,应付拜占庭工人。Kardam由两个互补的组件组成:过滤组件和阻尼组件。第一个是基于标量的,确保对$\frac{1}{3}$拜占庭工人的弹性。从本质上讲,这个过滤器利用了成本函数的Lipschitzness,并充当了一个自我稳定器,以防止拜占庭工人试图破坏SGD的进程。阻尼组件通过通用梯度加权方案调整到陈旧信息来限制收敛速率。我们证明了Kardam在存在异步和拜占庭行为的情况下几乎保证了收敛,并推导出了它的收敛率。我们在CIFAR-100和EMNIST数据集上评估Kardam,并测量其相对于非拜占庭弹性解决方案的开销。我们的经验表明,Kardam并没有引入额外的噪音的学习过程,但确实会导致放缓(拜占庭弹性的成本),我们在理论上和经验表明,是小于$f/n$,其中$f$是拜占庭故障容忍的数量和$n$的工人总数。有趣的是,我们还根据经验观察到,阻尼组件本身很有趣,因为它能够构建一个SGD算法,在具有诚实工人的环境中,该算法的性能优于其他感知过期的异步竞争对手。

英文摘要:

Asynchronous distributed machine learning solutions have proven very effective so far, but always assuming perfectly functioning workers. In practice, some of the workers can however exhibit Byzantine behavior, caused by hardware failures, software bugs, corrupt data, or even malicious attacks. We introduce \emph{Kardam}, the first distributed asynchronous stochastic gradient descent (SGD) algorithm that copes with Byzantine workers. Kardam consists of two complementary components: a filtering and a dampening component. The first is scalar-based and ensures resilience against $\frac{1}{3}$ Byzantine workers. Essentially, this filter leverages the Lipschitzness of cost functions and acts as a self-stabilizer against Byzantine workers that would attempt to corrupt the progress of SGD. The dampening component bounds the convergence rate by adjusting to stale information through a generic gradient weighting scheme. We prove that Kardam guarantees almost sure convergence in the presence of asynchrony and Byzantine behavior, and we derive its convergence rate. We evaluate Kardam on the CIFAR-100 and EMNIST datasets and measure its overhead with respect to non Byzantine-resilient solutions. We empirically show that Kardam does not introduce additional noise to the learning procedure but does induce a slowdown (the cost of Byzantine resilience) that we both theoretically and empirically show to be less than $f/n$, where $f$ is the number of Byzantine failures tolerated and $n$ the total number of workers. Interestingly, we also empirically observe that the dampening component is interesting in its own right for it enables to build an SGD algorithm that outperforms alternative staleness-aware asynchronous competitors in environments with honest workers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑