Abstract
Convolutional Neural Networks (CNNs) have revolutionized computer vision but remain computationally prohibitive for deployment on resource-constrained edge devices. While existing acceleration techniques primarily target internal network redundancies (e.g., weight pruning or quantization), this paper introduces ESPACE (Elimination of SPAtial and Channel rEdundancy). ESPACE accelerates CNNs by identifying and eliminating redundancies within the visual input itself. By combining low-rank filter decomposition with strategic spatial masking and interpolation, the proposed method achieves up to a 5.48x speedup on standard architectures like AlexNet with minimal impact on classification accuracy.
Introduction
The deployment of deep CNNs, such as VGGNet and GoogLeNet, on mobile or embedded platforms is hindered by their massive computational requirements, often involving billions of floating-point operations (FLOPs). Traditional compression methods focus on the network's internal parameters. However, visual data is inherently redundant; not every pixel or channel contributes equally to a final prediction. ESPACE addresses this by skipping uninformative parts of the visual input, treating input redundancy as a primary target for optimization.
Methodology
ESPACE employs a three-stage pipeline to streamline convolutional layers, focusing on both the filter structure and the spatial density of the input processing.
- Channel Redundancy Removal: Standard 3D convolutions are replaced with low-rank approximations. By decomposing a $d \times d$ filter into separable $d \times 1$ and $1 \times d$ components, the method significantly reduces the parameter count and FLOPs per layer.
- Spatial Redundancy Removal: Instead of performing convolutions across the entire spatial grid, ESPACE utilizes a mask to compute exact values at only a fraction of locations. The remaining feature map values are estimated using computationally inexpensive nearest-neighbor interpolation.
- Fine-Tuning: To mitigate the approximation error introduced by masking and decomposition, the modified network undergoes standard back-propagation fine-tuning to recover accuracy.
Spatial Masking Strategies
The effectiveness of spatial redundancy removal depends heavily on the masking strategy. The authors explore three variants:
- Random Mask: Points are selected stochastically, which can lead to clusters and higher interpolation errors.
- Uniform Mask: Points are selected on a fixed grid.
- Impact Mask: This advanced strategy uses a first-order Taylor expansion to estimate the "impact" of each spatial position on the network's final loss. It prioritizes computation for high-impact regions.
Key Insights
A significant finding is that the "Impact Mask" naturally discovers an attention-like mechanism. In datasets like ImageNet, where objects are typically centered, the mathematical formulation of the Impact Mask automatically assigns higher importance to central feature map locations. This allows the network to focus its computational budget on the most discriminative regions while interpolating the background. Furthermore, combining mild low-rank approximations with spatial masking avoids the vanishing gradient problems often associated with aggressive tensor decomposition in deep networks.
Experimental Results
ESPACE was evaluated on AlexNet and GoogLeNet using the ImageNet 2012 dataset.
- AlexNet: Achieved a 5.48x CPU speedup with a negligible 0.97% increase in Top-5 error.
- GoogLeNet: Achieved a 4.12x speedup with only a 0.68% increase in Top-5 error.
In comparative tests on specific layers, ESPACE outperformed established baselines like Quantized CNNs (Q-CNN) and BinaryConnect, providing a superior balance between speed and accuracy.
Conclusion and Limitations
ESPACE demonstrates that input redundancy is a powerful lever for CNN acceleration. While highly effective for classification, the reliance on nearest-neighbor interpolation may limit its applicability in tasks requiring dense, pixel-level accuracy, such as semantic segmentation. Future research could explore dynamic, per-image mask generation to further optimize the trade-off between computational efficiency and predictive performance.
Summary updated