Communication-efficient distributed learning with Local Immediate Error Compensation.

Journal: Neural networks : the official journal of the International Neural Network Society
Published Date:

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. When adopting two compression operators, the best test accuracies of LIEC-SGD are higher than the second best baseline with 0.53% and 0.33% on CIFAR-10, 1.39% and 1.44% on CIFAR-100. From the wall-clock time perspective, LIEC-SGD respectively achieves 1.428× and 1.721× speedup over parallel SGD on two CIFAR datasets.

Authors

  • Yifei Cheng
    Guangming Laboratory, China; School of Cyber Science and Technology, Shenzhen Campus of Sun Yat-sen University, China. Electronic address: yfcheng.ifc@gmail.com.
  • Li Shen
    Department of Clinical Pharmacy, Children's Hospital of Fudan University, National Children's Medical Center, Shanghai, China.
  • Linli Xu
    University of Science and Technology of China, China. Electronic address: linlixu@ustc.edu.cn.
  • Xun Qian
    Shanghai Artificial Intelligence Laboratory, China. Electronic address: qianxun@pjlab.org.cn.
  • Shiwei Wu
    Intelligent Systems Science and Engineering College, Harbin Engineering University, Liaoyuan Street, Harbin, 150006, Heilongjiang Province, People's Republic of China.
  • Yiming Zhou
    CapitalBio Corporation, Beijing 102206, China; Department of Biomedical Engineering, Medical Systems Biology Research Center, Tsinghua University School of Medicine, Beijing 100084, China. Electronic address: yimingzhou@capitalbio.com.
  • Tie Zhang
    The College of Veterinary Medicine, Agricultural University of Hebei, Veterinary Biological Technology Innovation Center of Hebei Province, Baoding 071001, China.
  • Dacheng Tao
  • Enhong Chen