跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2407.04480 (cs)
[提交于 2024年11月29日 (v1),最后修订于 2024年11月29日 (此版本, v2)]

标题:LoCo: Low-Bit Communication Adaptor for Large-scale Model Training

作者:Xingyu Xie, Zhijie Lin, Kim-Chuan Toh, Pan Zhou
查看论文《LoCo: Low-Bit Communication Adaptor for Large-scale Model Training》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:To efficiently train large-scale models, low-bit gradient communication compresses full-precision gradients on local GPU nodes into low-precision ones for higher gradient synchronization efficiency among GPU nodes. However, it often degrades training quality due to compression information loss. To address this, we propose the Low-bit Communication Adaptor (LoCo), which compensates gradients on local GPU nodes before compression, ensuring efficient synchronization without compromising training quality. Specifically, LoCo designs a moving average of historical compensation errors to stably estimate concurrent compression error and then adopts it to compensate for the concurrent gradient compression, yielding a less lossless compression. This mechanism allows it to be compatible with general optimizers like Adam and sharding strategies like FSDP. Theoretical analysis shows that integrating LoCo into full-precision optimizers like Adam and SGD does not impair their convergence speed on nonconvex problems. Experimental results show that across large-scale model training frameworks like Megatron-LM and PyTorch's FSDP, LoCo significantly improves communication efficiency, e.g., improving Adam's training speed by 14% to 40% without performance degradation on large language models like LLAMAs and MoE.
主题: 机器学习 (cs.LG); 优化与控制 (math.OC)
引用方式: arXiv:2407.04480 [cs.LG]
  (或者 arXiv:2407.04480v2 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2407.04480

提交历史

来自:Xingyu Xie
[v2] 2024年11月29日 星期五 08:38:55 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

math.OC
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-11
切换浏览方式为:
cs
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站