Does compressing activations help model parallel training?

Song Bian, Dacheng Li, Hongyi Wang, Eric P. Xing, Shivaram Venkataraman
1/6/2023
cs.LG

No official code found. Best implementation: uw-mad-dash/MCBench (6 stars, last commit 2024-05-08).

Abstract

Large-scale Transformer models are known for their exceptional performance in a range of tasks, but training them can be difficult due to the requirement for communication-intensive model parallelism. One way to improve training speed is to compress the message size in communication. Previous approaches have primarily focused on compressing gradients in a data parallelism setting, but compression in a model-parallel setting is an understudied area. We have discovered that model parallelism has fundamentally different characteristics than data parallelism. In this work, we present the first empirical study on the effectiveness of compression methods for model parallelism. We implement and evaluate three common classes of compression algorithms - pruning-based, learning-based, and quantization-based - using a popular Transformer training framework. We evaluate these methods across more than 160 settings and 8 popular datasets, taking into account different hyperparameters, hardware, and both fine-tuning and pre-training stages. We also provide analysis when the model is scaled up. Finally, we provide insights for future development of model parallelism compression algorithms.

View on arXivView PDF

Code Implementations(1)

[MLSys 2024] Does Compressing Activations Help Model Parallel Training?

62C, C++Apr 15, 20242 years agoNOASSERTION

Similar Papers

Cite this paper

@article{bian2023does,
  title  = {Does compressing activations help model parallel training?},
  author = {Song Bian and Dacheng Li and Hongyi Wang and Eric P. Xing and Shivaram Venkataraman},
  year   = {2023},
  eprint = {2301.02654},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.02654v1}
}

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/2301.02654.svg)](https://codeofpaper.com/paper/2301.02654)

Discussion