paper-with-me

Papers

Near-Optimal Sparse Allreduce for Distributed Deep Learning

2022-01-19 · Shigang Li, Torsten Hoefler

Communication overhead is one of the major obstacles to train large deep learning models at scale. Gradient sparsification is a promising technique to reduce the communication volume. However, it is very challenging to obtain real performance improvement because of (1) the difficulty of achieving an scalable and efficient sparse allreduce algorithm and (2) the sparsification overhead. This paper proposes O$k$-Top$k$, a scheme for distributed training with sparse gradients. O$k$-Top$k$ integrates a novel sparse allreduce algorithm (less than 6$k$ communication volume which is asymptotically optimal) with the decentralized parallel Stochastic Gradient Descent (SGD) optimizer, and its convergence is proved. To reduce the sparsification overhead, O$k$-Top$k$ efficiently selects the top-$k$ gradient values according to an estimated threshold. Evaluations are conducted on the Piz Daint supercomputer with neural network models from different deep learning domains. Empirical results show that O$k$-Top$k$ achieves similar model accuracy to dense allreduce. Compared with the optimized dense and the state-of-the-art sparse allreduces, O$k$-Top$k$ is more scalable and significantly improves training throughput (e.g., 3.29x-12.95x improvement for BERT on 256 GPUs).

📄 PDF Abstract BibTeX arXiv:2201.07598

Code (1)

shigangli/ok-topk 공식 구현 pytorch

Tasks

Deep Learning

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
WordPiece 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
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$…
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…

Similar Papers 제목 키워드 기반

S2 Reducer: High-Performance Sparse Communication to Accelerate Distributed Deep Learning

2021-10-05 · Keshi Ge, Yongquan Fu, Zhiquan Lai, Xiaoge Deng 외

Distributed stochastic gradient descent (SGD) approach has been widely used in large-scale deep learning, and the gradient collective method is vital to ensure the training scalability of the distributed deep learning sy…

Deep LearningVocal Bursts Intensity Prediction

Sparse Allreduce: Efficient Scalable Communication for Power-Law Data

2013-12-11 · Huasha Zhao, John Canny

Many large datasets exhibit power-law statistics: The web graph, social networks, text data, click through data etc. Their adjacency graphs are termed natural graphs, and are known to be difficult to partition. As a cons…

ClusteringTopic Models

Accelerating AllReduce with a Persistent Straggler

2025-05-29 · Arjun Devraj, Eric Ding, Abhishek Vijaya Kumar, Robert Kleinberg 외

Distributed machine learning workloads use data and tensor parallelism for training and inference, both of which rely on the AllReduce collective to synchronize gradients or activations. However, bulk-synchronous AllRedu…

GPU

Asynchronous Decentralized Parallel Stochastic Gradient Descent

2017-10-18 · ICML 2018 7 · Xiangru Lian, Wei zhang, Ce Zhang, Ji Liu

Most commonly used distributed machine learning systems are either synchronous or centralized asynchronous. Synchronous algorithms like AllReduce-SGD perform poorly in a heterogeneous environment, while asynchronous algo…

GPU

SparCML: High-Performance Sparse Communication for Machine Learning

2018-02-22 · Cedric Renggli, Saleh Ashkboos, Mehdi Aghagolzadeh, Dan Alistarh 외

Applying machine learning techniques to the quickly growing data in science and industry requires highly-scalable algorithms. Large datasets are most commonly processed "data parallel" distributed across many nodes. Each…

BIG-bench Machine LearningBlockingVocal Bursts Intensity Prediction