[Paper Review] PerforatedCNNs: Acceleration through Elimination of Redundant Convolutions
This paper introduces PerforatedCNNs, a method to accelerate convolutional neural networks by selectively skipping convolutional computations at certain spatial positions using perforation masks. By applying interpolation to reconstruct missing outputs and fine-tuning the network, the approach achieves 2×–4× speedups on AlexNet and VGG-16 with minimal accuracy drop, while preserving network architecture and enabling combination with other acceleration techniques.
We propose a novel approach to reduce the computational cost of evaluation of convolutional neural networks, a factor that has hindered their deployment in low-power devices such as mobile phones. Inspired by the loop perforation technique from source code optimization, we speed up the bottleneck convolutional layers by skipping their evaluation in some of the spatial positions. We propose and analyze several strategies of choosing these positions. We demonstrate that perforation can accelerate modern convolutional networks such as AlexNet and VGG-16 by a factor of 2x - 4x. Additionally, we show that perforation is complementary to the recently proposed acceleration method of Zhang et al.
Motivation & Objective
- To reduce the computational cost of evaluating convolutional neural networks (CNNs) for deployment on low-power devices such as mobile phones.
- To exploit spatial redundancy in intermediate feature maps to eliminate unnecessary convolutional computations without altering network architecture.
- To develop a flexible, architecture-preserving method that enables fast inference through selective evaluation of spatial positions in convolutional layers.
- To demonstrate that perforation is complementary to existing acceleration techniques, such as low-rank decomposition and weight pruning.
Proposed method
- The method applies loop perforation principles to convolutional layers by defining a perforation mask I ⊆ Ω, which selects a subset of spatial positions to compute exactly.
- The remaining output positions are reconstructed via interpolation, preserving spatial structure while reducing computation.
- Multiple strategies are proposed for selecting perforation masks, including uniform, random, and adaptive patterns based on feature map statistics.
- The network is fine-tuned after perforation to restore accuracy, with minimal retraining required.
- The approach is compatible with existing deep learning libraries and can be integrated into CuDNN or similar frameworks.
- The method is combined with the inter-channel redundancy method of Zhang et al. [28] to achieve further speedups by leveraging different types of redundancy.
Experimental results
Research questions
- RQ1Can spatial redundancy in convolutional feature maps be exploited to reduce inference time without altering network architecture?
- RQ2How can perforation masks be designed to minimize accuracy loss while maximizing computational speedup?
- RQ3To what extent can perforation be combined with other acceleration techniques like low-rank decomposition?
- RQ4Does the performance of perforated networks remain robust across different models like AlexNet and VGG-16?
Key findings
- PerforatedCNNs achieve 2×–4× speedup on both CPU and GPU for AlexNet and VGG-16 with only a small drop in top-1 accuracy.
- On VGG-16, a 4× theoretical speedup results in a 4.7× actual speedup on GPU and a 71.6% reduction in multiplications, with only a 5.5% increase in error.
- The method preserves the number of parameters and intermediate feature map sizes, enabling seamless integration into existing pipelines.
- Combining perforation with the inter-channel redundancy method of Zhang et al. [28] yields a 4× theoretical speedup with only 1.6% error increase, outperforming either method alone.
- Fine-tuning after perforation restores accuracy effectively, requiring only a small learning rate in the second stage when combining with other methods.
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.