arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.08085cs.LGcs.CRcs.DCcs.ITmath.IT

分布式训练中拜占庭攻击的检测与缓解

Detection and Mitigation of Byzantine Attacks in Distributed Training

Iowa State University(爱荷华州立大学)

Konstantinos Konstantinidis, Namrata Vaswani, Aditya Ramamoorthy

AI总结:

本文针对分布式训练中的拜占庭攻击,提出基于冗余任务分配与对抗行为检测的算法,在强攻击下减少16%-99%扭曲梯度,并在CIFAR-10上取得25%准确率优势。

摘要:

大量现代机器学习任务需要利用大规模分布式集群作为训练流程的关键组成部分。然而,工作节点的异常拜占庭行为可能使训练偏离正轨,并损害推理质量。这种行为可能源于无意的系统故障或有组织的攻击;因此,某些节点可能向协调训练的参数服务器(PS)返回任意结果。近期工作考虑了广泛的攻击模型,并探索了鲁棒聚合和/或计算冗余来纠正扭曲的梯度。在本工作中,我们考虑从强攻击模型到弱攻击模型的攻击:强攻击为$q$个全知对手,完全了解防御协议,且可逐迭代变化;弱攻击为$q$个随机选择的对手,共谋能力有限,仅每隔几次迭代变化。我们的算法依赖于冗余任务分配与对抗行为检测相结合。我们还展示了在文献中常见的假设和设置下,我们的方法收敛到最优点。对于强攻击,与先前最先进方法相比,我们展示了扭曲梯度比例的降低幅度在16%-99%之间。我们在CIFAR-10数据集上的top-1分类准确率结果表明,在最复杂的攻击下,与最先进方法相比,准确率优势为25%(在强和弱场景下取平均)。

英文摘要:

A plethora of modern machine learning tasks require the utilization of large-scale distributed clusters as a critical component of the training pipeline. However, abnormal Byzantine behavior of the worker nodes can derail the training and compromise the quality of the inference. Such behavior can be attributed to unintentional system malfunctions or orchestrated attacks; as a result, some nodes may return arbitrary results to the parameter server (PS) that coordinates the training. Recent work considers a wide range of attack models and has explored robust aggregation and/or computational redundancy to correct the distorted gradients. In this work, we consider attack models ranging from strong ones: $q$ omniscient adversaries with full knowledge of the defense protocol that can change from iteration to iteration to weak ones: $q$ randomly chosen adversaries with limited collusion abilities which only change every few iterations at a time. Our algorithms rely on redundant task assignments coupled with detection of adversarial behavior. We also show the convergence of our method to the optimal point under common assumptions and settings considered in literature. For strong attacks, we demonstrate a reduction in the fraction of distorted gradients ranging from 16%-99% as compared to the prior state-of-the-art. Our top-1 classification accuracy results on the CIFAR-10 data set demonstrate 25% advantage in accuracy (averaged over strong and weak scenarios) under the most sophisticated attacks compared to state-of-the-art methods.

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

↑