arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.10774cs.LGcs.AImath.OCstat.ML
收藏

误差反馈重载:从平滑常数的二次均值到算术均值

Error Feedback Reloaded: From Quadratic to Arithmetic Mean of Smoothness Constants

King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);KAUST(阿卜杜拉国王科技大学)

Peter Richtárik, Elnur Gasanov, Konstantin Burlachenko

AI总结:

本文研究了现代误差反馈机制EF21,将其理论通信复杂度对平滑参数的依赖从二次均值改进为更小的算术均值,并通过新加权版本和改进分析扩展了其在随机梯度、部分参与及稀有特征场景下的理论,最后经实验验证。

摘要:

误差反馈(Error Feedback, EF)是一种非常流行且极其有效的机制,用于修复分布式训练方法(如分布式 GD 或 SGD)在结合贪婪通信压缩技术(如 TopK)时出现的收敛问题。尽管 EF 在近十年前(Seide et al., 2014)就已提出,且社区付出了大量努力来推进对该机制的理论理解,但仍有诸多待探索之处。在本研究中,我们探讨了一种名为 EF21(Richtarik et al., 2021)的现代误差反馈形式,它在最弱的假设下提供了目前已知最佳的理论保证,且在实践中同样表现优异。具体而言,尽管 EF21 的理论通信复杂度依赖于特定平滑参数的二次均值,我们将其改进为对这些参数算术均值的依赖;算术均值始终更小,且在异构数据场景下可能显著减小。我们带领读者回顾了这一发现过程:首先尝试将 EF21 应用于原问题的等价重构(遗憾的是,这需要通常不切实际的机器克隆),接着发现了一种无需任何克隆即可执行的 EF21 新加权版本,最终回归至对原始 EF21 方法的改进分析。虽然这一进展适用于最简形式的 EF21,但我们的方法自然地扩展到了涉及随机梯度和部分参与的更复杂变体。此外,我们的技术还改进了 EF21 在稀有特征场景下(Richtarik et al., 2023)的已知最佳理论。最后,我们通过适当的实验验证了理论发现。

英文摘要:

Error Feedback (EF) is a highly popular and immensely effective mechanism for fixing convergence issues which arise in distributed training methods (such as distributed GD or SGD) when these are enhanced with greedy communication compression techniques such as TopK. While EF was proposed almost a decade ago (Seide et al., 2014), and despite concentrated effort by the community to advance the theoretical understanding of this mechanism, there is still a lot to explore. In this work we study a modern form of error feedback called EF21 (Richtarik et al., 2021) which offers the currently best-known theoretical guarantees, under the weakest assumptions, and also works well in practice. In particular, while the theoretical communication complexity of EF21 depends on the quadratic mean of certain smoothness parameters, we improve this dependence to their arithmetic mean, which is always smaller, and can be substantially smaller, especially in heterogeneous data regimes. We take the reader on a journey of our discovery process. Starting with the idea of applying EF21 to an equivalent reformulation of the underlying problem which (unfortunately) requires (often impractical) machine cloning, we continue to the discovery of a new weighted version of EF21 which can (fortunately) be executed without any cloning, and finally circle back to an improved analysis of the original EF21 method. While this development applies to the simplest form of EF21, our approach naturally extends to more elaborate variants involving stochastic gradients and partial participation. Further, our technique improves the best-known theory of EF21 in the rare features regime (Richtarik et al., 2023). Finally, we validate our theoretical findings with suitable experiments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑