arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.07599cs.LGcs.DCcs.DSstat.ML
收藏

带内存的稀疏化SGD

Sparsified SGD with Memory

EPFL(洛桑联邦理工学院)

Sebastian U. Stich, Jean-Baptiste Cordonnier, Martin Jaggi

摘要:

大规模的机器学习问题现在通过分布式优化算法来解决,即利用许多设备的计算能力进行训练的算法。通信开销是阻碍完美可伸缩性的关键瓶颈。最近的各种工作提出使用量化或稀疏化技术来减少需要通信的数据量,例如通过仅发送随机梯度的最重要条目(top-k稀疏化)。虽然这些方案在实践中表现出非常有前途的性能,但到目前为止,它们还没有得到理论分析。在这项工作中,我们分析了随机梯度下降(SGD)与k-稀疏化或压缩(例如top-k或random-k),并表明,该计划收敛速度与香草SGD时,配备了误差补偿(跟踪内存中的累积误差)。也就是说,沟通可以减少问题的维度的一个因素(有时甚至更多),同时仍然以相同的速度收敛。我们提出了数值实验来说明的理论研究结果和更好的可扩展性的分布式应用程序。

英文摘要:

Huge scale machine learning problems are nowadays tackled by distributed optimization algorithms, i.e. algorithms that leverage the compute power of many devices for training. The communication overhead is a key bottleneck that hinders perfect scalability. Various recent works proposed to use quantization or sparsification techniques to reduce the amount of data that needs to be communicated, for instance by only sending the most significant entries of the stochastic gradient (top-k sparsification). Whilst such schemes showed very promising performance in practice, they have eluded theoretical analysis so far. In this work we analyze Stochastic Gradient Descent (SGD) with k-sparsification or compression (for instance top-k or random-k) and show that this scheme converges at the same rate as vanilla SGD when equipped with error compensation (keeping track of accumulated errors in memory). That is, communication can be reduced by a factor of the dimension of the problem (sometimes even more) whilst still converging at the same rate. We present numerical experiments to illustrate the theoretical findings and the better scalability for distributed applications.

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

↑