arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2205.14465cs.LGcs.DC
收藏

ByteComp:分布式训练中的梯度压缩

ByteComp: Revisiting Gradient Compression in Distributed Training

Rice University(莱斯大学);ByteDance Inc.(字节跳动公司)

Zhuang Wang, Haibin Lin, Yibo Zhu, T. S. Eugene Ng

摘要:

梯度压缩(GC)是解决分布式深度学习(DPL)中通信瓶颈的一种有前途的方法。然而,由于张量之间复杂的相互作用,因此找到将GC应用于XML的最佳压缩策略具有挑战性。为了充分发挥GC的优势,必须解决两个问题:1)如何表达所有压缩策略以及任何训练任务中张量之间的相应交互?2)如何快速选择接近最佳的压缩策略?在本文中,我们提出ByteComp来回答这些问题。它首先设计了一个决策树抽象来表达所有的压缩策略,并开发了时间轴张量计算,通信和压缩的经验模型,使ByteComp能够导出张量之间复杂的相互作用。然后,它设计了一个压缩决策算法,该算法分析张量交互,以消除和优先考虑策略,并最佳地将压缩卸载到CPU。实验评估表明,ByteComp可以将具有代表性的压缩训练作业的训练吞吐量提高77%。此外,选择压缩策略所需的计算时间是以毫秒为单位测量的,并且所选择的策略距离最佳策略只有百分之几。

英文摘要:

Gradient compression (GC) is a promising approach to addressing the communication bottleneck in distributed deep learning (DDL). However, it is challenging to find the optimal compression strategy for applying GC to DDL because of the intricate interactions among tensors. To fully unleash the benefits of GC, two questions must be addressed: 1) How to express all compression strategies and the corresponding interactions among tensors of any DDL training job? 2) How to quickly select a near-optimal compression strategy? In this paper, we propose ByteComp to answer these questions. It first designs a decision tree abstraction to express all the compression strategies and develops empirical models to timeline tensor computation, communication, and compression to enable ByteComp to derive the intricate interactions among tensors. It then designs a compression decision algorithm that analyzes tensor interactions to eliminate and prioritize strategies and optimally offloads compression to CPUs. Experimental evaluations show that ByteComp can improve the training throughput over the start-of-the-art compression-enabled system by up to 77% for representative DDL training jobs. Moreover, the computational time needed to select the compression strategy is measured in milliseconds, and the selected strategy is only a few percent from optimal.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑