arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.03936cs.LG
收藏

Pufferfish:无需额外成本的高效通信模式

Pufferfish: Communication-efficient Models At No Extra Cost

University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Hongyi Wang, Saurabh Agarwal, Dimitris Papailiopoulos

摘要:

为了减轻分布式模型训练中的通信开销,一些研究提出使用压缩的随机梯度,通常通过稀疏化或量化来实现。这样的技术实现了高压缩比,但在许多情况下会导致显著的计算开销或一些精度损失。在这项工作中,我们提出了Pufferfish,这是一种通信和计算高效的分布式训练框架,通过训练低秩、预分解的深度网络将梯度压缩纳入模型训练过程。Pufferfish不仅减少了通信,而且完全绕过了与压缩相关的任何计算开销,并达到了与最先进的现成深度模型相同的精度。Pufferfish可以直接集成到当前的深度学习框架中,只需最小的实现修改。我们在实际分布式设置中进行的广泛实验,包括各种大规模机器学习任务,表明Pufferfish在PyTorch中最新的分布式训练API上实现了高达1.64倍的端到端加速,而没有准确性损失。与彩票假设模型相比,河豚模型同样准确,小参数模型,同时避免了“中奖”的负担。Pufferfish还导致比SOTA结构化模型修剪方法更准确和更小的模型。

英文摘要:

To mitigate communication overheads in distributed model training, several studies propose the use of compressed stochastic gradients, usually achieved by sparsification or quantization. Such techniques achieve high compression ratios, but in many cases incur either significant computational overheads or some accuracy loss. In this work, we present Pufferfish, a communication and computation efficient distributed training framework that incorporates the gradient compression into the model training process via training low-rank, pre-factorized deep networks. Pufferfish not only reduces communication, but also completely bypasses any computation overheads related to compression, and achieves the same accuracy as state-of-the-art, off-the-shelf deep models. Pufferfish can be directly integrated into current deep learning frameworks with minimum implementation modification. Our extensive experiments over real distributed setups, across a variety of large-scale machine learning tasks, indicate that Pufferfish achieves up to 1.64x end-to-end speedup over the latest distributed training API in PyTorch without accuracy loss. Compared to the Lottery Ticket Hypothesis models, Pufferfish leads to equally accurate, small-parameter models while avoiding the burden of "winning the lottery". Pufferfish also leads to more accurate and smaller models than SOTA structured model pruning methods.

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

↑