[Paper Review] Bandwidth Reduction using Importance Weighted Pruning on Ring AllReduce
This paper proposes importance weighted pruning on ring all-reduce to reduce communication bandwidth in large-scale deep learning training. By dynamically pruning low-importance gradients based on the ratio of gradient magnitude to parameter value, and using probabilistic index broadcasting, the method achieves up to 64× gradient compression on AlexNet and 58.8× on ResNet50 while preserving model accuracy on a 96-node cluster using only GTX 1080Ti GPUs.
It is inevitable to train large deep learning models on a large-scale cluster equipped with accelerators system. Deep gradient compression would highly increase the bandwidth utilization and speed up the training process but hard to implement on ring structure. In this paper, we find that redundant gradient and gradient staleness has negative effect on training. We have observed that in different epoch and different steps, the neural networks focus on updating different layers and different parameters. In order to save more communication bandwidth and preserve the accuracy on ring structure, which break the restrict as the node increase, we propose a new algorithm to measure the importance of gradients on large-scale cluster implementing ring all-reduce based on the size of the ratio of parameter calculation gradient to parameter value. Our importance weighted pruning approach achieved 64X and 58.8X of gradient compression ratio on AlexNet and ResNet50 on ImageNet. Meanwhile, in order to maintain the sparseness of the gradient propagation, we randomly broadcast the index of important gradients on each node. While the remaining nodes are ready for the index gradient and perform all-reduce update. This would speed up the convergence of the model and preserve the training accuracy.
Motivation & Objective
- To address the growing communication bottleneck in large-scale distributed deep learning training on ring all-reduce topologies.
- To reduce bandwidth usage without sacrificing model accuracy, especially as the number of nodes increases.
- To overcome the limitation of deep gradient compression in ring structures, where gradients become denser with more nodes.
- To enable efficient, high-bandwidth utilization in large-scale clusters using only consumer-grade GPUs (e.g., GTX 1080Ti).
- To maintain convergence speed and model performance through dynamic, layer-wise gradient importance estimation.
Proposed method
- Measures gradient importance using the ratio of gradient magnitude to parameter value (|∇w| / |w|) to identify less critical updates.
- Applies dynamic thresholding based on the variance-to-mean ratio of gradient importance across layers to adaptively control pruning.
- Performs layer-wise importance-based pruning, selectively transmitting only high-importance gradients while accumulating others locally.
- Randomly broadcasts indices of important gradients across nodes to preserve sparsity and enable correct all-reduce updates.
- Uses probabilistic update rules for low-importance gradients to prevent staleness and maintain convergence.
- Employs warm-up training and local gradient clipping to stabilize optimization during early training phases.
Experimental results
Research questions
- RQ1How can gradient sparsification be effectively applied in ring all-reduce topologies without degrading model accuracy?
- RQ2What metric can reliably identify redundant or unimportant gradients in large-scale distributed training?
- RQ3How does gradient staleness affect convergence, and how can it be mitigated in sparse communication schemes?
- RQ4Can deep gradient compression be meaningfully applied in ring structures despite increasing gradient density with more nodes?
- RQ5What thresholding strategy optimally balances bandwidth reduction and model performance in dynamic training scenarios?
Key findings
- The proposed method achieved a 64× gradient compression ratio on AlexNet and 58.8× on ResNet50 for ImageNet training, significantly outperforming fixed-threshold baselines.
- With layer-wise thresholding, the method maintained 76.31% top-1 accuracy on ResNet50, slightly exceeding the baseline (76.09%) while achieving 47.6× compression.
- The network I/O bandwidth was significantly reduced, with effective communication sustained at Gigabit speeds without Infiniband.
- The variance-to-mean ratio of gradient importance was found to be a key indicator for adaptive threshold adjustment, improving convergence stability.
- Traditional deep gradient compression failed in ring structures due to increasing gradient density with node count, but the proposed method overcomes this by dynamic pruning.
- The approach enabled training on a 96-node cluster using only GTX 1080Ti GPUs, avoiding the need for high-end networking like Infiniband.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.