[논문 리뷰] Sharper Convergence Guarantees for Asynchronous SGD for Distributed and Federated Learning
이 논문은 최악의 지연이 아닌 평균 및 최대 기울기 지연 $τ_{\text{avg}}$와 $τ_{\text{max}}$의 기하 평균에 의존하는 더 날카운 수렴 보장을 제안함으로써 분산 및 페더레이티드 러닝에서 이방형 SGD의 수렴 성능을 향상시킨다. 또한 추가 통신이나 하이퍼파라미터 튜닝 없이 평균 지연에 따라 수렴 스케일링이 가능한 지연 적응형 학습률을 제안하며, 이는 이방형 SGD가 항상 미니배치 SGD 보다 빠르다는 것을 증명한다.
We study the asynchronous stochastic gradient descent algorithm for distributed training over $n$ workers which have varying computation and communication frequency over time. In this algorithm, workers compute stochastic gradients in parallel at their own pace and return those to the server without any synchronization. Existing convergence rates of this algorithm for non-convex smooth objectives depend on the maximum gradient delay $τ_{\max}$ and show that an $ε$-stationary point is reached after $\mathcal{O}\!\left(σ^2ε^{-2}+ τ_{\max}ε^{-1} ight)$ iterations, where $σ$ denotes the variance of stochastic gradients. In this work (i) we obtain a tighter convergence rate of $\mathcal{O}\!\left(σ^2ε^{-2}+ \sqrt{τ_{\max}τ_{avg}}ε^{-1} ight)$ without any change in the algorithm where $τ_{avg}$ is the average delay, which can be significantly smaller than $τ_{\max}$. We also provide (ii) a simple delay-adaptive learning rate scheme, under which asynchronous SGD achieves a convergence rate of $\mathcal{O}\!\left(σ^2ε^{-2}+ τ_{avg}ε^{-1} ight)$, and does not require any extra hyperparameter tuning nor extra communications. Our result allows to show for the first time that asynchronous SGD is always faster than mini-batch SGD. In addition, (iii) we consider the case of heterogeneous functions motivated by federated learning applications and improve the convergence rate by proving a weaker dependence on the maximum delay compared to prior works. In particular, we show that the heterogeneity term in convergence rate is only affected by the average delay within each worker.
연구 동기 및 목표
- 최악의 최대 기울기 지연 $τ_{\text{max}}$에 대한 의존도를 줄임으로써 분산 및 페더레이티드 러닝에서 이방형 SGD의 수렴 보장을 향상시키는 것.
- 추가 통신이나 하이퍼파라미터 튜닝 없이 기울기 지연에 적응하는 학습률 기법을 개발하는 것.
- 페더레이티드 러닝에서 흔한 이질적인 목적 함수로의 수렴 분석을 확장하여 지연 의존도를 향상시키는 것.
- 이론적 및 실증적으로 이방형 SGD가 항상 미니배치 SGD 보다 빠르다는 것을 입증하는 것.
제안 방법
- 일정 단계 크기로 사용하는 표준 이방형 SGD에 대해 $Ω\big{(}\sigma^2\varepsilon^{-2} + \sqrt{\tau_{\text{avg}}\tau_{\text{max}}}\varepsilon^{-1}\big{)}$의 더 날카운 수렴 경계를 유도한다.
- 추가 통신이나 튜닝 없이 $Ω\big{(}\sigma^2\varepsilon^{-2} + \tau_{\text{avg}}\varepsilon^{-1}\big{)}$의 수렴 속도를 달성하는 지연 적응형 학습률을 제안한다.
- 이종 목적 함수 하에서 이방형 SGD의 수렴을 분석하여 이종성 항이 워커당 평균 지연에만 의존함을 보여준다.
- 기대 기울기 노름 감쇠와 지연 인식 변동성 경계를 기반으로 한 새로운 분석 프레임워크를 사용하여 더 날카운 경계를 도출한다.
- 이차 및 로지스틱 회귀 함수에 대한 실험을 통해 이론적 결과를 검증하며, 실질적으로 $√{\tau_{\text{max}}}$ 의존도가 존재하는 것을 확인한다.
실험 결과
연구 질문
- RQ1최대 지연이 아닌 평균 지연에 의존하는 더 날카운 이방형 SGD 수렴 속도를 도출할 수 있는가?
- RQ2추가 통신이나 하이퍼파라미터 튜닝 없이 지연에 적응하는 학습률 기법을 설계할 수 있는가?
- RQ3페더레이티드 러닝에서 이종 목적 함수 하에서 이방형 SGD의 수렴은 어떻게 스케일링되는가?
- RQ4이방형 SGD는 수렴 속도 측면에서 항상 미니배치 SGD 보다 빠른가?
주요 결과
- 논문은 표준 이방형 SGD에 대해 이전의 $Ω\big{(}\sigma^2\varepsilon^{-2} + \tau_{\text{max}}\varepsilon^{-1}\big{)}$ 경계보다 더 날카운 $Ω\big{(}\sigma^2\varepsilon^{-2} + \sqrt{\tau_{\text{avg}}\tau_{\text{max}}}\varepsilon^{-1}\big{)}$의 수렴 속도를 확립한다.
- 추가 통신이나 하이퍼파라미터 튜닝 없이 $Ω\big{(}\sigma^2\varepsilon^{-2} + \tau_{\text{avg}}\varepsilon^{-1}\big{)}$의 수렴 속도를 달성하는 지연 적응형 학습률을 제안한다.
- 이론적 분석을 통해 이방형 SGD가 항상 미니배치 SGD 보다 빠르며, 그 수렴 속도가 $τ_{\text{max}}$ 가 아니라 $√{\tau_{\text{avg}}\tau_{\text{max}}}$ 에 의존한다는 것을 증명한다.
- 이종 페더레이티드 러닝의 경우, 수렴 속도는 최대 지연이 아닌 워커당 평균 지연에만 의존하므로 스트래글러에 대한 강건성이 향상된다.
- 이차 및 로지스틱 회귀 함수에 대한 실험을 통해 실질적으로 $√{\tau_{\text{max}}}$ 의존도가 존재함을 확인하며, 이론적 경계의 타당성을 검증한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.