Abstract
Deep Convolutional Neural Networks (CNNs) are often too resource-intensive for mobile and embedded deployment. While traditional efficiency methods focus on "subtractive" techniques like pruning or quantization, this paper introduces an "additive" paradigm through versatile filters. By treating a single primary filter as a source for multiple secondary filters via binary masks, the proposed method generates multi-scale and multi-channel features without increasing storage costs. Experiments on ImageNet and MS COCO demonstrate that versatile filters can reduce parameters and FLOPs by up to 4x with minimal impact on accuracy.
Introduction
The success of modern computer vision relies heavily on deep CNNs, but their high computational and memory requirements pose significant challenges for real-world deployment. Existing solutions typically reduce network capacity by removing weights (pruning) or reducing precision (quantization). The authors of this paper argue that these methods can be limited by the resulting loss in representational power.
Instead, they propose exploiting the inherent redundancy in convolution filters. By deriving multiple "secondary" filters from a single "primary" filter, a network can extract richer information from the same set of stored weights. This approach effectively increases the utility of each parameter, allowing for efficient multi-scale processing.
Methodology: Versatile Filter Design
The core contribution is the generation of secondary filters using binary masks. This is applied in two primary ways: spatially and across channels.
Spatial Versatile Filters
For standard convolutions (e.g., $3 \times 3$ or $5 \times 5$), the authors observe that smaller receptive fields are essentially subsets of larger ones. By applying a series of binary masks that isolate the inner "rings" of a primary filter, they create secondary filters with different receptive fields. For instance, a $5 \times 5$ primary filter can simultaneously act as a $3 \times 3$ and a $1 \times 1$ filter. The outputs of these filters are concatenated, providing the network with multi-scale features for the storage cost of a single filter.
Channel Versatile Filters
In modern architectures like MobileNet, $1 \times 1$ convolutions dominate the computation. To make these more efficient, the authors use a "channel stride" approach. A sliding window moves across the channel dimension of a primary filter to create multiple secondary filters. This allows the network to reuse weights across different input channel groups, significantly reducing the total number of parameters required for high-dimensional feature processing.
Optimization and Orthogonality
To maximize the effectiveness of these filters, the authors developed a method to learn the optimal binary masks during training using a straight-through estimator. Furthermore, they introduce an orthogonal constraint on the learned masks. This ensures that secondary filters extract diverse, non-redundant information, preventing them from simply becoming copies of the primary filter.
Experimental Results
The versatile filter approach was validated across several benchmarks:
- ImageNet Classification: A "Versatile" ResNet-50 achieved a 25.5% Top-1 error while reducing parameters by ~3x and multiplications by 4x compared to the baseline. Even on MobileNet-v2, the method reduced weights by 30% with negligible accuracy loss.
- Object Detection: On MS COCO, spatial versatile filters improved the detection of objects at varying scales. The multi-scale receptive fields allowed the model to capture context that standard fixed-size filters missed.
- Inference Speed: Real-world testing on an ARM-based CPU (Kirin 990) showed that the versatile implementation was 2.4x to 2.5x faster than standard ResNet-50, proving the practical utility of the method.
Conclusion
Versatile filters represent a shift from simply slimming down networks to making existing weights more productive. By inheriting weights across scales and channels, CNNs can maintain high performance while meeting the strict constraints of edge devices. Future work involves optimizing hardware kernels to further exploit the efficiency of binary masking and extending the method to generative and segmentation tasks.
Summary updated