Sketch-fusion: A gradient compression method with multi-layer fusion for communication-efficient distributed training

被引:4
作者
Dai, Lingfei [1 ,2 ]
Gong, Luqi [1 ]
An, Zhulin [1 ]
Xu, Yongjun [1 ]
Diao, Boyu [1 ]
机构
[1] Chinese Acad Sci, Inst Comp Technol, Beijing, Peoples R China
[2] Univ Chinese Acad Sci, Coll Comp Sci, Beijing, Peoples R China
关键词
Gradient compression; Multi-layer fusion; Distributed stochastic gradient descent; Deep learning training;
D O I
10.1016/j.jpdc.2023.104811
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Gradient compression is an effective technique for improving the efficiency of distributed training. However, introducing gradient compression can reduce model accuracy and training efficiency. Furthermore, we also find that using a layer-wise gradient compression algorithm would lead to significant compression and communication overhead, which can negatively impact the scaling efficiency of the distributed training system. To address these issues, we propose a new method called Sketch-Fusion SGD, which leverages the Count-Sketch data structure to enhance the scalability and training speed of distributed deep learning systems. Moreover, our method employs LayerFusion to optimize gradient compression algorithms' scalability and convergence efficiency by formulating an optimal multi-layer fusion strategy without introducing extra hyperparameters. We evaluate our method on a cluster of 16 GPUs and demonstrate that it can improve training efficiency by up to 18.6% without compromising the model's accuracy. In addition, we find that applying our LayerFusion algorithm to other gradient compression methods improved their scalability by up to 2.87x.
引用
收藏
页数:10
相关论文
共 57 条
[1]  
Abadi M., 2016, arXiv preprint arXiv:1603.04467, DOI DOI 10.48550/ARXIV.1603.04467
[2]  
Aji Alham Fikri, 2017, P 2017 C EMP METH NA, P440, DOI DOI 10.18653/V1/D17-1045
[3]  
Alistarh D, 2018, ADV NEUR IN, V31
[4]  
Alistarh D, 2017, ADV NEUR IN, V30
[5]   GPUs Cache Performance Estimation using Reuse Distance Analysis [J].
Arafa, Yehia ;
Chennupati, Gopinath ;
Barai, Atanu ;
Badawy, Abdel-Hameed A. ;
Santhi, Nandakishore ;
Eidenbenz, Stephan .
2019 IEEE 38TH INTERNATIONAL PERFORMANCE COMPUTING AND COMMUNICATIONS CONFERENCE (IPCCC), 2019,
[6]  
Basu D, 2019, ADV NEUR IN, V32
[7]  
Bernstein J, 2018, PR MACH LEARN RES, V80
[8]  
Chen JM, 2017, Arxiv, DOI arXiv:1604.00981
[9]  
Choquette J., 2020, 2020 IEEE HOT CHIPS, P1
[10]  
Dettmers T., 2016, arXiv