[Paper Review] Dynamic Runtime Feature Map Pruning
This paper proposes dynamic runtime feature map pruning to reduce bandwidth usage in convolutional neural networks by eliminating inactive feature maps during inference. By identifying and skipping feature maps with values near zero (within ε), the method achieves a 10% reduction in feature map loading without accuracy loss, and an additional 5% reduction with only a 1% top-1 accuracy drop, complementing static weight pruning without retraining.
High bandwidth requirements are an obstacle for accelerating the training and inference of deep neural networks. Most previous research focuses on reducing the size of kernel maps for inference. We analyze parameter sparsity of six popular convolutional neural networks - AlexNet, MobileNet, ResNet-50, SqueezeNet, TinyNet, and VGG16. Of the networks considered, those using ReLU (AlexNet, SqueezeNet, VGG16) contain a high percentage of 0-valued parameters and can be statically pruned. Networks with Non-ReLU activation functions in some cases may not contain any 0-valued parameters (ResNet-50, TinyNet). We also investigate runtime feature map usage and find that input feature maps comprise the majority of bandwidth requirements when depth-wise convolution and point-wise convolutions used. We introduce dynamic runtime pruning of feature maps and show that 10% of dynamic feature map execution can be removed without loss of accuracy. We then extend dynamic pruning to allow for values within an epsilon of zero and show a further 5% reduction of feature map loading with a 1% loss of accuracy in top-1.
Motivation & Objective
- To address the high bandwidth demand of deep neural network inference, especially from input feature maps in depth-wise and point-wise convolutions.
- To explore dynamic pruning of feature maps at runtime, avoiding the need for retraining and irregular network structures common in static pruning.
- To evaluate the feasibility of pruning feature maps that are zero or near-zero (within ε) to reduce memory bandwidth without significant accuracy loss.
- To compare dynamic feature map pruning with static weight pruning and assess their complementary benefits in modern CNNs.
Proposed method
- The method dynamically identifies and skips feature maps with values below a threshold ε during inference, reducing data loading and bandwidth usage.
- It leverages the observation that depth-wise and point-wise convolutions make feature maps the primary bandwidth bottleneck, especially in modern architectures.
- The approach is applied post-training, requiring no retraining, and operates at runtime by checking feature map values before processing.
- It extends standard pruning by allowing values within ε of zero to be pruned, enabling further bandwidth reduction at a small accuracy cost.
- The technique is evaluated across six networks—AlexNet, MobileNet, ResNet-50, SqueezeNet, TinyNet, and VGG16—across varying activation functions and sparsity levels.
- The method is complementary to static weight pruning, as it targets feature map bandwidth, which remains high even after weight compression.
Experimental results
Research questions
- RQ1Can dynamic pruning of feature maps reduce bandwidth usage in DNN inference without significant accuracy loss?
- RQ2How does the sparsity of feature maps vary across different CNN architectures, especially those using ReLU versus non-ReLU activations?
- RQ3To what extent can pruning feature maps that are near-zero (within ε) improve bandwidth efficiency while maintaining model accuracy?
- RQ4How does dynamic feature map pruning compare in effectiveness to static weight pruning, and can they be used together?
Key findings
- 10% of dynamic feature map execution can be removed without any loss of top-1 accuracy across multiple networks, including those with ReLU activations.
- An additional 5% reduction in feature map loading is achieved by pruning values within ε of zero, at the cost of only a 1% drop in top-1 accuracy.
- Networks using ReLU (e.g., AlexNet, SqueezeNet, VGG16) exhibit high parameter sparsity (over 50%), enabling effective static pruning, while non-ReLU networks (e.g., ResNet-50, TinyNet) show little to no zero-valued parameters.
- Even in networks with low parameter sparsity, dynamic feature map pruning remains effective due to runtime sparsity in feature map values, especially in depth-wise and point-wise convolution layers.
- The method is complementary to static weight pruning, as feature map bandwidth remains a major bottleneck even after weight compression, particularly in modern CNNs with depth-wise convolutions.
- The approach enables significant bandwidth savings without retraining, making it suitable for deployment in resource-constrained environments.
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.