Skip to main content
QUICK REVIEW

[论文解读] Echo-CGC: A Communication-Efficient Byzantine-Tolerant Distributed Machine Learning Algorithm in Single-Hop Radio Network

Qinzi Zhang, Lewis Tseng|arXiv (Cornell University)|Nov 15, 2020
Stochastic Gradient Optimization TechniquesComputer Science参考文献 22被引用 1
一句话总结

Echo-CGC 是一种在单跳无线网络中通信高效的拜占庭容错分布式机器学习算法,通过利用广播特性减少传输开销:当工作者与先前梯度一致时,他们发送‘回声消息’——系数向量和幅值比,而非完整梯度。在标准假设下,该方法将通信复杂度最多降低 80%,尤其在数据方差较低且条件数 µ/L 接近 1 时效果显著。

ABSTRACT

In the past few years, many Byzantine-tolerant distributed machine learning (DML) algorithms have been proposed in the point-to-point communication model. In this paper, we focus on a popular DML framework - the parameter server computation paradigm and iterative learning algorithms that proceed in rounds, e.g., [Gupta and Vaidya, 2020; El-Mhamdi et al., 2020; Chen et al., 2017]. One limitation of prior algorithms in this domain is the high communication complexity. All the Byzantine-tolerant DML algorithms that we are aware of need to send n d-dimensional vectors from worker nodes to the parameter server in each round, where n is the number of workers and d is the number of dimensions of the feature space (which may be in the order of millions). In a wireless network, power consumption is proportional to the number of bits transmitted. Consequently, it is extremely difficult, if not impossible, to deploy these algorithms in power-limited wireless devices. Motivated by this observation, we aim to reduce the communication complexity of Byzantine-tolerant DML algorithms in the single-hop radio network [Alistarh et al., 2010; Bhandari and Vaidya, 2005; Koo, 2004]. Inspired by the CGC filter developed by Gupta and Vaidya, PODC 2020 [Gupta and Vaidya, 2020], we propose a gradient descent-based algorithm, Echo-CGC. Our main novelty is a mechanism to utilize the broadcast properties of the radio network to avoid transmitting the raw gradients (full d-dimensional vectors). In the radio network, each worker is able to overhear previous gradients that were transmitted to the parameter server. Roughly speaking, in Echo-CGC, if a worker "agrees" with a combination of prior gradients, it will broadcast the "echo message" instead of the its raw local gradient. The echo message contains a vector of coefficients (of size at most n) and the ratio of the magnitude between two gradients (a float). In comparison, the traditional approaches need to send n local gradients in each round, where each gradient is typically a vector in a ultra-high dimensional space (d ≫ n). The improvement on communication complexity of our algorithm depends on multiple factors, including number of nodes, number of faulty workers in an execution, and the cost function. We numerically analyze the improvement, and show that with a large number of nodes, Echo-CGC reduces 80% of the communication under standard assumptions.

研究动机与目标

  • 减少在功耗受限的无线网络中拜占庭容错分布式机器学习(DML)的通信复杂度。
  • 解决现有 DML 算法每轮从 n 个工作者传输完整 d 维梯度所导致的高通信成本问题。
  • 利用单跳无线网络的广播特性,最小化冗余梯度传输。
  • 设计一种机制,使工作者在与先前梯度对齐时,可发送紧凑的回声消息而非原始梯度。
  • 在容忍最多 f 个拜占庭工作者的同时,确保收敛性与通信效率。

提出的方法

  • 该算法在参数服务器模型中采用梯度下降框架,每轮中工作者计算本地梯度并将其发送给服务器。
  • 由于无线网络的广播特性,工作者可监听先前的梯度传输,从而检测其与先前梯度的一致性。
  • 当工作者的本地梯度接近先前梯度的线性组合时,它会发送一个‘回声消息’,而非原始梯度。
  • 一个回声消息由一个大小不超过 n 的系数向量和一个表示当前梯度与参考梯度之间幅值比的浮点数组成。
  • 参数服务器利用回声消息高效重构完整的梯度空间,从而减少总传输比特数。
  • 该方法通过梯度方差和收敛性的概率界进行形式化分析,理论证明了通信复杂度降低的保证。

实验结果

研究问题

  • RQ1通过利用广播特性,是否能在单跳无线网络中显著降低拜占庭容错 DML 的通信复杂度?
  • RQ2与传输完整梯度相比,使用包含系数向量和幅值比的回声消息在通信效率方面表现如何?
  • RQ3通信复杂度降低的理论上限是多少?在何种条件下该上限被最大化?
  • RQ4系统参数如梯度方差(σ)、容错能力(x = f/n)、条件数(µ/L)和工作者数量(n)如何影响通信节省?
  • RQ5所提出的基于回声的机制中,是否存在容错能力与通信效率之间的权衡?

主要发现

  • 在标准假设下,Echo-CGC 在大规模网络中将通信复杂度最多降低 80%,尤其在梯度方差 σ 较低时效果显著。
  • 当 σ = 0.1,x = 0.2,µ/L = 1,n = 100 时,该算法实现通信复杂度比 C ≈ 0.25(即降低 75%)。
  • 当条件数 µ/L 接近 1 且梯度方差 σ 较低时,通信节省达到最大,表明数据实例具有相似性。
  • 比值 C = 1 − p,其中 p 是梯度位于关键球内的概率下界,其上界为 (1 + 2/r)²σ²,表明其依赖于方差和容错能力。
  • Echo-CGC 在不同数量的工作者 n 下表现稳定,C 几乎线性增长且斜率平缓,表明对网络规模具有鲁棒性。
  • 容错能力(x)与通信效率之间存在权衡:当 x 接近其理论上限时,通信节省显著减少。

阅读本论文

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

在 Nubint 中阅读本论文

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