[论文解读] Acceleration for Compressed Gradient Descent in Distributed and Federated Optimization
本文提出面向单机问题的加速压缩梯度下降(ACGD),以及面向联邦/分布式优化的分布式对应方法ADIANA,结合梯度压缩与加速以实现更高的收敛速率和更高的通信效率。
Due to the high communication cost in distributed and federated learning problems, methods relying on compression of communicated messages are becoming increasingly popular. While in other contexts the best performing gradient-type methods invariably rely on some form of acceleration/momentum to reduce the number of iterations, there are no methods which combine the benefits of both gradient compression and acceleration. In this paper, we remedy this situation and propose the first accelerated compressed gradient descent (ACGD) methods. In the single machine regime, we prove that ACGD enjoys the rate $O\Big((1+ω)\sqrt{\frac{L}μ}\log \frac{1}ε\Big)$ for $μ$-strongly convex problems and $O\Big((1+ω)\sqrt{\frac{L}ε}\Big)$ for convex problems, respectively, where $ω$ is the compression parameter. Our results improve upon the existing non-accelerated rates $O\Big((1+ω)\frac{L}μ\log \frac{1}ε\Big)$ and $O\Big((1+ω)\frac{L}ε\Big)$, respectively, and recover the optimal rates of accelerated gradient descent as a special case when no compression ($ω=0$) is applied. We further propose a distributed variant of ACGD (called ADIANA) and prove the convergence rate $\widetilde{O}\Big(ω+\sqrt{\frac{L}μ}+\sqrt{\big(\fracω{n}+\sqrt{\fracω{n}}\big)\frac{ωL}μ}\Big)$, where $n$ is the number of devices/workers and $\widetilde{O}$ hides the logarithmic factor $\log \frac{1}ε$. This improves upon the previous best result $\widetilde{O}\Big(ω+ \frac{L}μ+\frac{ωL}{nμ} \Big)$ achieved by the DIANA method of Mishchenko et al. (2019). Finally, we conduct several experiments on real-world datasets which corroborate our theoretical results and confirm the practical superiority of our accelerated methods.
研究动机与目标
- 通过将梯度压缩与加速结合来缓解分布式/联邦优化中的通信瓶颈。
- 建立理论框架和算法,在压缩通信下实现加速收敛。
- 提供分析,显示在非加速压缩基线之上实现了迭代与通信轮次复杂度的改进。
- 在真实数据集上展示所提出的加速方法的实际性能。
提出的方法
- 定义具有无偏性和有界方差的随机化压缩算子(定义1)。
- 提出ACGD,一种用于单机平滑优化的加速压缩梯度下降方法(算法1)。
- 证明ACGD在凸性和强凸条件下的收敛速率,在不使用压缩时可恢复为加速GD(ω=0)。
- 提出ADIANA,一种用于分布式优化的DIANA变体,采用方差降低以对抗压缩噪声(算法2)。
- 推导收敛性保证,显示相较DIANA的改进,包括ω与n的不同情形,并给出实现速率的参数选择。
- 在标准数据集上使用多种压缩算子(随机稀疏化、随机抖动、天然压缩)进行实验验证。
实验结果
研究问题
- RQ1梯度压缩是否可以在保持加速收敛速率的前提下实现与加速相容?
- RQ2单机与分布式/联邦设置中,加速压缩梯度方法的迭代与通信复杂度是多少?
- RQ3在ω和设备数量n的不同情形下,加速压缩方法相较非加速压缩方法(如CGD、DIANA)的表现如何?
- RQ4在真实数据集上的实际实验是否支持理论改进并展示通信效率?
主要发现
- 在压缩下,ACGD实现了加速速率:μ-强凸问题为O((1+ω)√(L/μ) log(1/ε)),凸问题为O((1+ω)√(L/ε))。
- 在分布式设置中,ADIANA相较DIANA获得改进的速率:ω≥n时为O(ω(1+√(L/(nμ)))),ω<n时为O((ω+√(L/μ)+√(√(ω/n))·ωL/μ)),直至log(1/ε)。
- 若ω ≤ min{n^{1/3}, √(L/μ)},ADIANA在通信轮次上与未压缩的加速梯度下降保持一致,从而在不损害迭代复杂度的前提下实现压缩。
- 在真实世界数据集上使用三种压缩方案的实验表明,ADIANA往往比DIANA或未压缩基线收敛更快并且通信位数更低。
- 在不同压缩器中,采用随机抖动和天然压缩的ADIANA在通信效率方面相较DIANA和DCGD表现出显著提升。
- 结果在实证上验证了理论改进与在联邦/分布式优化中加速压缩方法的实用性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。