Byzantium中分布式学习的隐藏漏洞
The Hidden Vulnerability of Distributed Learning in Byzantium
摘要:
虽然机器学习正在经历一个著名的成功时代,但人们对其骨干的脆弱性提出了担忧:随机梯度下降(SGD)。最近的方法已经被提出来确保分布式SGD对在训练阶段发送中毒梯度的敌对(拜占庭)工作者的鲁棒性。其中一些方法已被证明是拜占庭式的:它们确保了SGD的收敛,尽管存在少数敌对工人。我们在本文中表明,收敛是不够的。在高维$d \gg 1$中,一个adversary可以建立在损失函数的非凸性上,使SGD收敛到无效模型。更确切地说,我们发现现有的拜占庭弹性计划留下了$Ω\left(f(d)\right)$的中毒余量,其中$f(d)$至少像$\sqrt{d~}$一样增加。在此基础上,我们构建了一个简单的攻击,并通过实验证明了它对CIFAR-10和MNIST的强大有效性。我们介绍了Bulyan,并证明它显着减少了攻击者的回旋余地,一个狭窄的$O( \frac{1}{\sqrt{d~}})$界。我们的经验表明,Bulyan不遭受现有的聚合规则的脆弱性,并在所需的批量大小方面的合理成本,实现收敛,好像只有非拜占庭梯度已被用于更新模型。
英文摘要:
While machine learning is going through an era of celebrated success, concerns have been raised about the vulnerability of its backbone: stochastic gradient descent (SGD). Recent approaches have been proposed to ensure the robustness of distributed SGD against adversarial (Byzantine) workers sending poisoned gradients during the training phase. Some of these approaches have been proven Byzantine-resilient: they ensure the convergence of SGD despite the presence of a minority of adversarial workers. We show in this paper that convergence is not enough. In high dimension $d \gg 1$, an adver\-sary can build on the loss function's non-convexity to make SGD converge to ineffective models. More precisely, we bring to light that existing Byzantine-resilient schemes leave a margin of poisoning of $Ω\left(f(d)\right)$, where $f(d)$ increases at least like $\sqrt{d~}$. Based on this leeway, we build a simple attack, and experimentally show its strong to utmost effectivity on CIFAR-10 and MNIST. We introduce Bulyan, and prove it significantly reduces the attackers leeway to a narrow $O( \frac{1}{\sqrt{d~}})$ bound. We empirically show that Bulyan does not suffer the fragility of existing aggregation rules and, at a reasonable cost in terms of required batch size, achieves convergence as if only non-Byzantine gradients had been used to update the model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。