[Paper Review] Accelerating CNN Training by Pruning Activation Gradients
This paper proposes a dynamic gradient pruning method that accelerates CNN training by sparsely pruning activation gradients during back-propagation. By modeling gradients as normally distributed and applying stochastic pruning below a variance-based threshold, the method achieves up to 5.92× speedup on ARM CPUs with negligible accuracy loss across ResNet and AlexNet on CIFAR-10/100 and ImageNet.
Sparsification is an efficient approach to accelerate CNN inference, but it is challenging to take advantage of sparsity in training procedure because the involved gradients are dynamically changed. Actually, an important observation shows that most of the activation gradients in back-propagation are very close to zero and only have a tiny impact on weight-updating. Hence, we consider pruning these very small gradients randomly to accelerate CNN training according to the statistical distribution of activation gradients. Meanwhile, we theoretically analyze the impact of pruning algorithm on the convergence. The proposed approach is evaluated on AlexNet and ResNet-\{18, 34, 50, 101, 152\} with CIFAR-\{10, 100\} and ImageNet datasets. Experimental results show that our training approach could substantially achieve up to $5.92 imes$ speedups at back-propagation stage with negligible accuracy loss.
Motivation & Objective
- To reduce training time in deep CNNs by exploiting sparsity in activation gradients during back-propagation.
- To address the challenge of dynamic gradient updates that hinder sparsity utilization in training.
- To enable efficient training on low-resource platforms such as CPUs and edge devices.
- To maintain model convergence and accuracy while significantly accelerating back-propagation.
Proposed method
- Assumes activation gradients follow a normal distribution and estimates variance from their average absolute value.
- Derives a pruning threshold τ based on variance and a user-defined sparsity ratio p.
- Applies stochastic pruning: sets gradients below τ to zero or ±τ randomly to preserve gradient flow.
- Supports both Conv-ReLU and Conv-BN-ReLU network architectures, including ResNet and AlexNet.
- Uses statistical analysis to justify convergence stability under pruning.
- Implements the method on Intel and ARM CPUs using BLAS-optimized kernels for evaluation.
Experimental results
Research questions
- RQ1Can activation gradients in CNNs be effectively pruned during back-propagation without harming model convergence or accuracy?
- RQ2How can a data-driven, statistically grounded threshold be derived to guide pruning of dynamically changing gradients?
- RQ3Does stochastic pruning of small gradients preserve the optimization trajectory in deep networks like ResNet and AlexNet?
- RQ4What is the achievable speedup on low-power platforms such as ARM-based edge devices?
- RQ5How does the proposed method compare to prior work in terms of sparsity, accuracy, and acceleration on large-scale datasets?
Key findings
- The proposed method achieves up to 5.92× speedup on ARM CPU for AlexNet training with negligible accuracy loss.
- On Intel CPU, the method delivers 1.71× to 3.99× speedup across ResNet and AlexNet models.
- The method maintains convergence stability, with minimal impact on training loss curves across CIFAR-10 and ImageNet datasets.
- Sparsity levels reach 70–90% (ρnnz ≈ 0.16) on ResNet-18 with 99% pruning, outperforming MSBP in both sparsity and accuracy.
- The approach is robust across different network architectures, including both Conv-ReLU and Conv-BN-ReLU blocks.
- Speedup is consistent across single-thread and multi-thread execution, with 1.79× to 2.78× on four-thread ARM execution.
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.