Abstract
Deep Convolutional Neural Networks (CNNs) are often too large for deployment on resource-constrained edge devices. This paper introduces a novel compression pipeline that leverages coresets—representative subsets of data—to approximate neural network filters. By combining activation-based pruning with coreset decomposition, the authors achieve massive compression (up to 832× for AlexNet-level accuracy) without requiring any retraining. This significantly reduces the computational and time costs associated with model deployment.
Introduction
Deep CNNs like VGG-16 can exceed 500MB, making them difficult to deploy on mobile hardware. While existing compression methods like pruning or low-rank approximation (SVD) exist, they typically suffer from two major drawbacks: the requirement for time-intensive "fine-tuning" or retraining to recover accuracy, and suboptimal filter selection based on weight magnitude (e.g., $l_p$ norms) rather than actual contribution to the output.
This research proposes a "plug-and-play" compression method that scales across convolutional and fully-connected layers, maintaining high accuracy without the need for GPU-intensive retraining.
Methodology
The proposed approach utilizes a two-stage pipeline to reduce model size while preserving performance.
1. Activation-Based Filter Pruning (AP)
Instead of evaluating weights, the authors analyze activations. By passing the training set through the network and recording the maximum response of each filter via spatial max-pooling, they identify filters that consistently produce low activations. These "unimportant" filters are pruned, ensuring that the remaining filters are those that actively respond to real-world data.
2. Coreset-Based Compression
The remaining filters are then compressed using coreset representations. A coreset is a small subset of points that approximates the properties of a much larger set. The paper explores three formulations:
- k-Means Coresets: A data-dependent version of truncated SVD.
- Structured Sparse Coresets: Utilizes Structured Sparse PCA to ensure both the compressed representation and the decompression matrix are sparse, enhancing memory savings.
- Activation-Weighted Coresets: The most advanced variant, which assigns importance scores to filters based on mean activation magnitude, prioritizing the reconstruction of the most critical filters.
Experimental Results
The method was evaluated on standard benchmarks including MNIST (LeNet-5) and ImageNet (AlexNet, VGGNet-16, ResNet, SqueezeNet). To test domain adaptability, the compressed models were also evaluated on fine-grained classification tasks like CUB-2011 and Stanford-Dogs.
Key quantitative results include:
- VGGNet-16: Achieved 238× compression with a negligible accuracy drop (from 68.88% to 68.14%).
- AlexNet: When applied to SqueezeNet, the method achieved a size 832× smaller than the original AlexNet while maintaining comparable accuracy.
- ResNets: Demonstrated a 9.2× to 16.2× improvement in compression rates over previous state-of-the-art techniques.
- Inference Speed: Compressed models yielded an average 50% reduction in inference time on standard hardware.
Discussion
A central insight of this work is that a filter's importance is better defined by its output (activations) than its internal values (weights). A filter with large weights that never "fires" is redundant. Furthermore, the authors demonstrate that the "retrain-to-recover-accuracy" cycle is not always necessary if filters are selected and approximated carefully.
The method also benefits from "cascading redundancy": pruning a filter in one layer removes the need for corresponding input channels in the subsequent layer, compounding the compression effect. Even models designed for efficiency, like SqueezeNet, were found to contain significant inter-filter redundancies exploitable by coresets.
Conclusion
While the method avoids retraining, the coreset decomposition and optimization still require several forward passes, though this remains significantly faster than traditional fine-tuning. Future work may extend this framework to Recurrent Neural Networks (RNNs) to exploit temporal redundancies. Overall, coreset-based compression provides a powerful, efficient alternative for deploying high-performance CNNs on edge devices.
Summary updated