paper-with-me

홈 › Papers

Does compressing activations help model parallel training?

2023-01-06 · Song Bian, Dacheng Li, Hongyi Wang, Eric P. Xing, Shivaram Venkataraman

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.

📄 PDF Abstract BibTeX arXiv:2301.02654

Code (0)

등록된 구현이 없습니다.

Tasks

modelQuantization

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Position-Wise Feed-Forward Layer 설명 없음
Adam 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.

Similar Papers 제목 키워드 기반

Fine-tuning Language Models over Slow Networks using Activation Compression with Guarantees

2022-06-02 · Jue Wang, Binhang Yuan, Luka Rimanic, Yongjun He 외

Communication compression is a crucial technique for modern distributed learning systems to alleviate their communication bottlenecks over slower networks. Despite recent intensive studies of gradient compression for dat…

Subspace Networks: Scaling Decentralized Training with Communication-Efficient Model Parallelism

2025-06-02 · Sameera Ramasinghe, Thalaiyasingam Ajanthan, Gil Avraham, Yan Zuo 외 arxiv

Scaling models has led to significant advancements in deep learning, but training these models in decentralized settings remains challenging due to communication bottlenecks. While existing compression techniques are eff…

Communication Compression for Tensor Parallel LLM Inference

2024-11-14 · Jan Hansen-Palmus, Michael Truong Le, Oliver Hausdörfer, Alok Verma

Large Language Models (LLMs) have pushed the frontier of artificial intelligence but are comprised of hundreds of billions of parameters and operations. For faster inference latency, LLMs are deployed on multiple hardwar…

Quantization

Llama-Mobile: Efficient 2.7-Bit Quantization of VLMs

2026-08-21 · Luka Ribar, Jeevan Bhoot, Douglas Orr arxiv

Deploying vision-language models (VLMs) on mobile devices is challenging due to their significant memory and compute requirements. We present a framework for quantizing VLMs for efficient inference on resource-constraine…

Visual Question Answering

Activations and Gradients Compression for Model-Parallel Training

2024-01-15 · Mikhail Rudakov, Aleksandr Beznosikov, Yaroslav Kholodov, Alexander Gasnikov

Large neural networks require enormous computational clusters of machines. Model-parallel training, when the model architecture is partitioned sequentially between workers, is a popular approach for training modern model…

image-classificationImage ClassificationLanguage ModelingLanguage Modelling+2