Communication-Efficient Distributed Learning with Local Immediate Error Compensation
Yifei Cheng, Li Shen, Linli Xu, Xun Qian, Shiwei Wu, Yiming Zhou, Tie Zhang, Dacheng Tao, Enhong Chen
TL;DR
This work addresses the communication bottleneck in distributed stochastic optimization by introducing LIEC-SGD, a gradient-compression method that employs bidirectional compression together with local immediate error compensation while maintaining a global server-side error variable. The algorithm updates the local models with immediate compensation, enabling faster convergence and reduced communication compared to prior unidirectional or slower bidirectional methods. The authors provide non-convex convergence guarantees under a $\delta$-contraction compressor and demonstrate linear speedup behavior, along with empirical results on CIFAR-10/100 and Tiny ImageNet showing improved accuracy and shorter training times. The findings suggest that bidirectional compression, when paired with prompt error compensation, can achieve dual benefits of faster convergence and reduced communication in large-scale distributed learning.
Abstract
Gradient compression with error compensation has attracted significant attention with the target of reducing the heavy communication overhead in distributed learning. However, existing compression methods either perform only unidirectional compression in one iteration with higher communication cost, or bidirectional compression with slower convergence rate. In this work, we propose the Local Immediate Error Compensated SGD (LIEC-SGD) optimization algorithm to break the above bottlenecks based on bidirectional compression and carefully designed compensation approaches. Specifically, the bidirectional compression technique is to reduce the communication cost, and the compensation technique compensates the local compression error to the model update immediately while only maintaining the global error variable on the server throughout the iterations to boost its efficacy. Theoretically, we prove that LIEC-SGD is superior to previous works in either the convergence rate or the communication cost, which indicates that LIEC-SGD could inherit the dual advantages from unidirectional compression and bidirectional compression. Finally, experiments of training deep neural networks validate the effectiveness of the proposed LIEC-SGD algorithm.
