具有局部即时误差补偿的高效通信分布式学习

IF 6 1区 计算机科学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Yifei Cheng , Li Shen , Linli Xu , Xun Qian , Shiwei Wu , Yiming Zhou , Tie Zhang , Dacheng Tao , Enhong Chen
{"title":"具有局部即时误差补偿的高效通信分布式学习","authors":"Yifei Cheng ,&nbsp;Li Shen ,&nbsp;Linli Xu ,&nbsp;Xun Qian ,&nbsp;Shiwei Wu ,&nbsp;Yiming Zhou ,&nbsp;Tie Zhang ,&nbsp;Dacheng Tao ,&nbsp;Enhong Chen","doi":"10.1016/j.neunet.2025.107471","DOIUrl":null,"url":null,"abstract":"<div><div>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 <span><math><mrow><mn>1</mn><mo>.</mo><mn>428</mn><mo>×</mo></mrow></math></span> and <span><math><mrow><mn>1</mn><mo>.</mo><mn>721</mn><mo>×</mo></mrow></math></span> speedup over parallel SGD on two CIFAR datasets.</div></div>","PeriodicalId":49763,"journal":{"name":"Neural Networks","volume":"188 ","pages":"Article 107471"},"PeriodicalIF":6.0000,"publicationDate":"2025-04-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Communication-efficient distributed learning with Local Immediate Error Compensation\",\"authors\":\"Yifei Cheng ,&nbsp;Li Shen ,&nbsp;Linli Xu ,&nbsp;Xun Qian ,&nbsp;Shiwei Wu ,&nbsp;Yiming Zhou ,&nbsp;Tie Zhang ,&nbsp;Dacheng Tao ,&nbsp;Enhong Chen\",\"doi\":\"10.1016/j.neunet.2025.107471\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>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 <span><math><mrow><mn>1</mn><mo>.</mo><mn>428</mn><mo>×</mo></mrow></math></span> and <span><math><mrow><mn>1</mn><mo>.</mo><mn>721</mn><mo>×</mo></mrow></math></span> speedup over parallel SGD on two CIFAR datasets.</div></div>\",\"PeriodicalId\":49763,\"journal\":{\"name\":\"Neural Networks\",\"volume\":\"188 \",\"pages\":\"Article 107471\"},\"PeriodicalIF\":6.0000,\"publicationDate\":\"2025-04-25\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Neural Networks\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0893608025003508\",\"RegionNum\":1,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Neural Networks","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0893608025003508","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

摘要

带误差补偿的梯度压缩以减少分布式学习中繁重的通信开销而备受关注。然而,现有的压缩方法要么只能在一次迭代中进行单向压缩,通信成本较高,要么只能进行双向压缩,收敛速度较慢。在这项工作中,我们提出了基于双向压缩和精心设计的补偿方法的局部即时误差补偿SGD (LIEC-SGD)优化算法来打破上述瓶颈。其中,双向压缩技术是为了降低通信成本,补偿技术将局部压缩误差立即补偿给模型更新,而在整个迭代过程中只在服务器上保留全局误差变量,以提高其有效性。理论上,我们证明了LIEC-SGD在收敛速度和通信成本上都优于以往的工作,这表明LIEC-SGD可以继承单向压缩和双向压缩的双重优势。最后,通过深度神经网络的训练实验验证了所提出的LIEC-SGD算法的有效性。采用两种压缩算子时,lic - sgd的最佳测试精度分别高于第二最佳基线,CIFAR-10的测试精度分别为0.53%和0.33%,CIFAR-100的测试精度分别为1.39%和1.44%。从时钟时间的角度来看,在两个CIFAR数据集上,LIEC-SGD分别比并行SGD实现了1.428倍和1.721倍的加速。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Communication-efficient distributed learning with Local Immediate Error Compensation
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Neural Networks
Neural Networks 工程技术-计算机:人工智能
CiteScore
13.90
自引率
7.70%
发文量
425
审稿时长
67 days
期刊介绍: Neural Networks is a platform that aims to foster an international community of scholars and practitioners interested in neural networks, deep learning, and other approaches to artificial intelligence and machine learning. Our journal invites submissions covering various aspects of neural networks research, from computational neuroscience and cognitive modeling to mathematical analyses and engineering applications. By providing a forum for interdisciplinary discussions between biology and technology, we aim to encourage the development of biologically-inspired artificial intelligence.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信