arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.10452cs.LGcs.DCmath.OC
收藏

移位压缩框架:推广和改进

Shifted Compression Framework: Generalizations and Improvements

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

Egor Shulgin, Peter Richtárik

摘要:

通信是大规模机器学习模型的分布式训练中的关键瓶颈之一,而交换信息(如随机梯度或模型)的有损压缩是缓解此问题的最有效工具之一。在研究最多的压缩技术是一类无偏压缩算子,其方差由我们希望压缩的向量的平方范数的倍数限制。通过设计,该方差可以保持较高,并且仅在输入向量接近零时减小。然而,除非被训练的模型是过参数化的,否则在经典方法(例如分布式压缩{ \sf SGD})的迭代期间,我们希望压缩到接近零的向量没有先验原因,这对收敛速度有不利影响。由于这个问题,最近已经提出了几个更详细和看起来非常不同的算法,目的是规避这个问题。这些方法基于压缩我们通常希望压缩的向量与在整个迭代过程中改变的某个辅助向量之间的{ \em差}的思想。在这项工作中,我们后退一步,并制定了一个统一的框架,研究这些方法,概念和理论。我们的框架采用了压缩梯度和模型的方法,使用无偏和有偏压缩器,并揭示了辅助向量的构建。此外,我们的一般框架可以导致一些现有的算法的改进,并可以产生新的算法。最后,我们进行了几个数值实验,说明和支持我们的理论研究结果。

英文摘要:

Communication is one of the key bottlenecks in the distributed training of large-scale machine learning models, and lossy compression of exchanged information, such as stochastic gradients or models, is one of the most effective instruments to alleviate this issue. Among the most studied compression techniques is the class of unbiased compression operators with variance bounded by a multiple of the square norm of the vector we wish to compress. By design, this variance may remain high, and only diminishes if the input vector approaches zero. However, unless the model being trained is overparameterized, there is no a-priori reason for the vectors we wish to compress to approach zero during the iterations of classical methods such as distributed compressed {\sf SGD}, which has adverse effects on the convergence speed. Due to this issue, several more elaborate and seemingly very different algorithms have been proposed recently, with the goal of circumventing this issue. These methods are based on the idea of compressing the {\em difference} between the vector we would normally wish to compress and some auxiliary vector which changes throughout the iterative process. In this work we take a step back, and develop a unified framework for studying such methods, conceptually, and theoretically. Our framework incorporates methods compressing both gradients and models, using unbiased and biased compressors, and sheds light on the construction of the auxiliary vectors. Furthermore, our general framework can lead to the improvement of several existing algorithms, and can produce new algorithms. Finally, we performed several numerical experiments which illustrate and support our theoretical findings.

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

↑