paper-with-me

Papers

L-GreCo: Layerwise-Adaptive Gradient Compression for Efficient and Accurate Deep Learning

2022-10-31 · Mohammadreza Alimohammadi, Ilia Markov, Elias Frantar, Dan Alistarh

Data-parallel distributed training of deep neural networks (DNN) has gained very widespread adoption, but can still experience communication bottlenecks. To address this issue, entire families of compression mechanisms have been developed, including quantization, sparsification, and low-rank approximation, some of which are seeing significant practical adoption. Despite this progress, almost all known compression schemes apply compression uniformly across DNN layers, although layers are heterogeneous in terms of parameter count and their impact on model accuracy. In this work, we provide a general framework for adapting the degree of compression across the model's layers dynamically during training, improving the overall compression, while leading to substantial speedups, without sacrificing accuracy. Our framework, called L-GreCo, is based on an adaptive algorithm, which automatically picks the optimal compression parameters for model layers guaranteeing the best compression ratio while satisfying an error constraint. Extensive experiments over image classification and language modeling tasks shows that L-GreCo is effective across all existing families of compression methods, and achieves up to 2.5$\times$ training speedup and up to 5$\times$ compression improvement over efficient implementations of existing approaches, while recovering full accuracy. Moreover, L-GreCo is complementary to existing adaptive algorithms, improving their compression ratio by 50% and practical throughput by 66%.

📄 PDF Abstract BibTeX arXiv:2210.17357

Code (1)

lgrco/l-greco 공식 구현 pytorch

Tasks

image-classificationImage ClassificationLanguage ModelingLanguage ModellingQuantization

Similar Papers 제목 키워드 기반

Communication-efficient Distributed Learning for Large Batch Optimization

2022-07-17 · Proceedings of the 39th International Conference on Machine Learning 2022 7 · Rui Liu, Barzan Mozafari

Many communication-efficient methods have been proposed for distributed learning, whereby gradient compression is used to reduce the communication cost. However, given recent advances in large batch optimization (e.g., l…

SegReConcat: A Data Augmentation Method for Voice Anonymization Attack

2025-08-26 · Ridwan Arefeen, Xiaoxiao Miao, Rong Tong, Aik Beng Ng 외 arxiv

Anonymization of voice seeks to conceal the identity of the speaker while maintaining the utility of speech data. However, residual speaker cues often persist, which pose privacy risks. We propose SegReConcat, a data aug…

Speaker VerificationData Augmentation

Batch Clipping and Adaptive Layerwise Clipping for Differential Private Stochastic Gradient Descent

2023-07-21 · Toan N. Nguyen, Phuong Ha Nguyen, Lam M. Nguyen, Marten van Dijk

Each round in Differential Private Stochastic Gradient Descent (DPSGD) transmits a sum of clipped gradients obfuscated with Gaussian noise to a central server which uses this to update a global model which often represen…

1-bit LAMB: Communication Efficient Large-Scale Large-Batch Training with LAMB's Convergence Speed

2021-04-13 · Conglong Li, Ammar Ahmad Awan, Hanlin Tang, Samyam Rajbhandari 외

To train large models (like BERT and GPT-3) on hundreds of GPUs, communication has become a major bottleneck, especially on commodity systems with limited-bandwidth TCP network. On one side large batch-size optimization …

8k

On Suppressing Range of Adaptive Stepsizes of Adam to Improve Generalisation Performance

2023-02-02 · Guoqiang Zhang

A number of recent adaptive optimizers improve the generalisation performance of Adam by essentially reducing the variance of adaptive stepsizes to get closer to SGD with momentum. Following the above motivation, we supp…

image-classificationImage ClassificationImage Generation