arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.07827cs.LGcs.AIcs.DC
收藏

利用动量SGD的时间相关性压缩梯度

Compressing gradients by exploiting temporal correlation in momentum-SGD

University of Toronto(多伦多大学)

Tharindu B. Adikari, Stark C. Draper

摘要:

分散优化中越来越多的瓶颈是通信。更大的模型和不断增长的数据集意味着计算的分散化非常重要,并且交换的信息量正在快速增长。虽然已经引入压缩技术来处理后者,但没有人考虑利用连续矢量更新中存在的时间相关性。一个重要的例子是分布式动量-SGD,其中时间相关性通过施加动量的低通滤波效应而增强。在本文中,我们设计和分析的压缩方法,利用时间相关性的系统,有和没有错误反馈。使用ImageNet数据集的实验表明,我们提出的方法在计算复杂度增加可忽略不计的情况下显著降低了通信速率。我们进一步分析了SGD的收敛性时,应用压缩与错误反馈。在文献中,收敛保证仅针对提供逐点误差界限的压缩器开发,即,对于压缩机的每个输入。相比之下,许多重要的代码(例如率失真代码)只提供预期的误差范围,从而提供更一般的保证。本文通过建立最小梯度范数的界,证明了SGD在期望误差假设下的收敛性。

英文摘要:

An increasing bottleneck in decentralized optimization is communication. Bigger models and growing datasets mean that decentralization of computation is important and that the amount of information exchanged is quickly growing. While compression techniques have been introduced to cope with the latter, none has considered leveraging the temporal correlations that exist in consecutive vector updates. An important example is distributed momentum-SGD where temporal correlation is enhanced by the low-pass-filtering effect of applying momentum. In this paper we design and analyze compression methods that exploit temporal correlation in systems both with and without error-feedback. Experiments with the ImageNet dataset demonstrate that our proposed methods offer significant reduction in the rate of communication at only a negligible increase in computation complexity. We further analyze the convergence of SGD when compression is applied with error-feedback. In the literature, convergence guarantees are developed only for compressors that provide error-bounds point-wise, i.e., for each input to the compressor. In contrast, many important codes (e.g. rate-distortion codes) provide error-bounds only in expectation and thus provide a more general guarantee. In this paper we prove the convergence of SGD under an expected error assumption by establishing a bound for the minimum gradient norm.

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

↑