具有容错性和通信效率的分布式训练:压缩和循环梯度编码
Byzantine-Robust and Communication-Efficient Distributed Training: Compressive and Cyclic Gradient Coding
AI总结:
本文提出LAD方法,通过循环梯度编码提升分布式训练在拜占庭攻击下的鲁棒性,并引入Com-LAD进一步降低通信开销。
摘要:
本文研究了在存在拜占庭攻击和通信限制下的分布式训练问题。尽管已有工作开发了多种鲁棒聚合规则以增强对拜占庭攻击的抗性,但现有方法存在一个关键缺陷:当不同设备发送的本地梯度差异较大时,解决方案的误差不会减小,这是由于不同设备所持子集的数据异质性导致的。为克服这一限制,我们提出了一种新的分布式训练方法,即基于循环梯度编码的分布式训练(LAD)。在LAD中,服务器在训练开始前将整个训练数据集分配给设备。在每个迭代中,服务器使用循环梯度编码将计算任务冗余地分配给设备。每个诚实的设备则在固定数量的数据子集上计算本地梯度,并在传输到服务器前对梯度进行编码。服务器使用鲁棒聚合规则聚合来自诚实设备的编码向量以及可能包含错误信息的拜占庭设备的消息。利用设备间计算冗余性,LAD的收敛性能被分析性地表征,证明了其对拜占庭攻击的改进鲁棒性和显著降低的解误差。此外,我们还将LAD扩展为一个通信效率更高的变种,即基于压缩和循环梯度编码的分布式训练(Com-LAD),在受限环境下进一步减少通信开销。数值结果验证了所提方法在增强拜占庭鲁棒性和通信效率方面的有效性。
英文摘要:
In this paper, we study the problem of distributed training (DT) under Byzantine attacks with communication constraints. While prior work has developed various robust aggregation rules at the server to enhance robustness to Byzantine attacks, the existing methods suffer from a critical limitation in that the solution error does not diminish when the local gradients sent by different devices vary considerably, as a result of data heterogeneity among the subsets held by different devices. To overcome this limitation, we propose a novel DT method, cyclic gradient coding-based DT (LAD). In LAD, the server allocates the entire training dataset to the devices before training begins. In each iteration, it assigns computational tasks redundantly to the devices using cyclic gradient coding. Each honest device then computes local gradients on a fixed number of data subsets and encodes the local gradients before transmitting to the server. The server aggregates the coded vectors from the honest devices and the potentially incorrect messages from Byzantine devices using a robust aggregation rule. Leveraging the redundancy of computation across devices, the convergence performance of LAD is analytically characterized, demonstrating improved robustness against Byzantine attacks and significantly lower solution error. Furthermore, we extend LAD to a communication-efficient variant, compressive and cyclic gradient coding-based DT (Com-LAD), which further reduces communication overhead under constrained settings. Numerical results validate the effectiveness of the proposed methods in enhancing both Byzantine resilience and communication efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。