arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.01378cs.LGcs.NI
收藏

超越吞吐量与压缩比:迈向梯度压缩的高端到端效用

Beyond Throughput and Compression Ratios: Towards High End-to-end Utility of Gradient Compression

University College London(伦敦大学学院);VMware Research(威睿研究院);Harvard University(哈佛大学)

Wenchen Han, Shay Vargaftik, Michael Mitzenmacher, Brad Karp, Ran Ben Basat

AI总结:

本研究针对现有梯度压缩方案难兼顾训练加速与精度、系统及评估存在缺陷的问题,指出过往系统的三类共性问题,优化常见压缩方法的设计以提升性能,呼吁建立能体现端到端效用的梯度压缩设计与评估标准。

摘要:

长期以来,梯度聚合一直是当今大规模分布式机器学习训练系统中的主要瓶颈。缓解这类瓶颈的一种颇具前景的解决方案是梯度压缩,它可直接减少需传输的梯度数据量。但在实际应用中,许多梯度压缩方案既无法加快训练进程,也无法保证精度。\n在本研究中,我们指出了以往梯度压缩系统和评估方法中存在的共性问题,包括计算开销过高、与all-reduce(全归约)不兼容,以及评估方法不完善——例如未采用端到端指标,或是使用32位基线而非性能更强的16位基线。我们重新审视了常见的压缩方法(稀疏化、量化和低秩分解),并证明考虑上述问题后,只需进行细微但具有策略性的设计调整,就能显著提升性能。我们的目标是提升业界对设计与评估标准的重视,这类标准应能直接转化为梯度压缩的端到端效用。

英文摘要:

Gradient aggregation has long been identified as a major bottleneck in today's large-scale distributed machine learning training systems. One promising solution to mitigate such bottlenecks is gradient compression, directly reducing communicated gradient data volume. However, in practice, many gradient compression schemes do not achieve acceleration of the training process while also preserving accuracy. In this work, we identify common issues in previous gradient compression systems and evaluation methodologies. These include excessive computational overheads; incompatibility with all-reduce; and insufficient evaluation methods, such as not using an end-to-end metric or using a 32-bit baseline instead of the stronger 16-bit baseline. We revisit common compression approaches (sparsification, quantization, and low-rank decomposition) and demonstrate how considering the above issues can lead to minor but strategic design changes, resulting in notably better performance. Our goal is to raise awareness of the need for design and evaluation standards that naturally translate to the end-to-end utility of gradient compression.

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

↑