2Direction:基于双向通信压缩的理论上更快的分布式训练
2Direction: Theoretically Faster Distributed Training with Bidirectional Communication Compression
AI总结:
针对双向通信昂贵的分布式凸优化问题,提出基于双向压缩和新型误差反馈的可证明加速方法2Direction,显著降低了通信复杂度并超越现有AGD方法。
摘要:
我们考虑服务器与工作节点之间在上下行链路方向通信均昂贵的分布式凸优化问题。我们开发了一种新的且可证明加速的方法,称为2Direction,该方法基于快速双向压缩通信和一种新的定制化误差反馈机制,该机制可能具有独立的研究价值。事实上,我们发现EF和EF21-P机制(Seide等,2014;Gruntkowska等,2023)在设计高效非加速方法方面取得了相当大的成功,但并不适用于加速方法。具体而言,我们证明了在μ-强凸设置下,2Direction将先前最先进的通信复杂度$\widetilde{Θ}\left(K \times \left(\frac{L}{αμ} + \frac{L_{\max} ω}{n μ} + ω\right)\right)$(Gruntkowska等,2023)改进为$\widetilde{Θ}(K \times (\sqrt{\frac{L (ω+ 1)}{αμ}} + \sqrt{\frac{L_{\max} ω^2}{n μ}} + \frac{1}α + ω))$,其中$L$和$L_{\max}$是平滑常数,$n$是工作节点数,$ω$和$α$是Rand$K$和Top$K$稀疏化器(作为示例)的压缩误差,$K$是服务器与工作节点相互发送的坐标/比特数。此外,我们的方法是首个改进原始加速梯度下降(AGD)方法(Nesterov,2018)通信复杂度的方法。我们在一般凸情况下也获得了类似的改进。最后,我们的理论发现得到了实验证据的证实。
英文摘要:
We consider distributed convex optimization problems in the regime when the communication between the server and the workers is expensive in both uplink and downlink directions. We develop a new and provably accelerated method, which we call 2Direction, based on fast bidirectional compressed communication and a new bespoke error-feedback mechanism which may be of independent interest. Indeed, we find that the EF and EF21-P mechanisms (Seide et al., 2014; Gruntkowska et al., 2023) that have considerable success in the design of efficient non-accelerated methods are not appropriate for accelerated methods. In particular, we prove that 2Direction improves the previous state-of-the-art communication complexity $\widetildeΘ\left(K \times \left(\frac{L}{αμ} + \frac{L_{\max} ω}{n μ} + ω\right)\right)$ (Gruntkowska et al., 2023) to $\widetildeΘ(K \times (\sqrt{\frac{L (ω+ 1)}{αμ}} + \sqrt{\frac{L_{\max} ω^2}{n μ}} + \frac{1}α + ω))$ in the $μ$-strongly-convex setting, where $L$ and $L_{\max}$ are smoothness constants, $n$ is # of workers, $ω$ and $α$ are compression errors of the Rand$K$ and Top$K$ sparsifiers (as examples), $K$ is # of coordinates/bits that the server and workers send to each other. Moreover, our method is the first that improves upon the communication complexity of the vanilla accelerated gradient descent (AGD) method (Nesterov, 2018). We obtain similar improvements in the general convex regime as well. Finally, our theoretical findings are corroborated by experimental evidence.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。