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)|2020. 11. 15.
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)에서 통신 복잡도를 줄이기 위해.
  • 각 라운드당 n명의 작업자로부터 d차원 전체 기울기를 전송하는 기존 DML 알고리즘의 높은 통신 비용을 해결하기 위해.
  • 단일 홉 라디오 네트워크의 방송 성질을 활용하여 중복 기울기 전송을 최소화하기 위해.
  • 이전 기울기와 일치할 경우 작업자가 원시 기울기 대신 압축된 에코 메시지를 전송할 수 있는 메커니즘을 설계하기 위해.
  • 최대 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)²σ²로 상한이 정해지며, 이는 분산과 내성에 의존함을 보여준다.
  • 작업자 수 n의 변화에 관계없이 Echo-CGC의 성능은 안정적이며, C는 거의 선형적으로 증가하고 기울기는 평탄하여 네트워크 크기에 대해 강건함을 보인다.
  • 고장 내성(x)과 통신 효율성 사이에 트레이드오프가 존재한다. x가 이론적 상한에 가까워질수록 통신 절감이 크게 감소한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.