Pufferfish: Communication-efficient Models At No Extra Cost

Hongyi Wang, Saurabh Agarwal, Dimitris Papailiopoulos
3/5/2021
cs.LG

Official code: hwang595/Pufferfish (7 stars, Python, last commit 2021-07-20).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

The implementation for MLSys 2021 paper: "Pufferfish: Communication-efficient Models At No Extra Cost"

72Python, Jupyter NotebookMar 2, 20215 years ago

Similar Papers

Cite this paper

@article{wang2021pufferfish,
  title  = {Pufferfish: Communication-efficient Models At No Extra Cost},
  author = {Hongyi Wang and Saurabh Agarwal and Dimitris Papailiopoulos},
  year   = {2021},
  eprint = {2103.03936},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.03936}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.03936.svg)](https://codeofpaper.com/paper/2103.03936)

Discussion