计算机科学 > 机器学习
[提交于 2021年2月16日 (v1),最后修订于 2022年3月20日 (此版本, v2)]
标题:IntSGD: Adaptive Floatless Compression of Stochastic Gradients
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We propose a family of adaptive integer compression operators for distributed Stochastic Gradient Descent (SGD) that do not communicate a single float. This is achieved by multiplying floating-point vectors with a number known to every device and then rounding to integers. In contrast to the prior work on integer compression for SwitchML by Sapio et al. (2021), our IntSGD method is provably convergent and computationally cheaper as it estimates the scaling of vectors adaptively. Our theory shows that the iteration complexity of IntSGD matches that of SGD up to constant factors for both convex and non-convex, smooth and non-smooth functions, with and without overparameterization. Moreover, our algorithm can also be tailored for the popular all-reduce primitive and shows promising empirical performance.