Introduction
Modern Convolutional Neural Networks (CNNs) have achieved remarkable success by increasing depth and width. However, this architectural expansion leads to a significant increase in parameter counts and computational overhead, hindering deployment on resource-constrained mobile and embedded devices. While techniques like low-rank decomposition and sparsification (e.g., depthwise separable convolutions) offer solutions, they often struggle to maintain a balance between efficiency and representational power.
This paper introduces Decoupled Convolutions, a novel framework that decomposes standard convolutional layers into two distinct operations: channel-domain projection and spatial-domain aggregation. By addressing the inherent "imbalance" in standard convolutions, the authors propose Balance Decoupling Spatial Convolutions (BDSC), which significantly reduce model size while preserving high accuracy.
Methodology: The Decoupling View
The core innovation lies in re-interpreting the standard convolution operation. Mathematically, a standard convolution can be viewed as a two-step process:
- Channel Projection: A 1x1 convolution that projects input features into a high-dimensional intermediate space.
- Spatial Aggregation: A structured, sparse spatial convolution that aggregates information across the spatial neighborhood.
Identifying and Fixing the Imbalance
In standard convolutions, the intermediate channel dimension is often excessively large, leading to significant redundancy. Conversely, the spatial component is typically a fixed, sparse mask. BDSC addresses this by:
- Reducing Redundancy: The intermediate channel dimension is constrained (e.g., $S = C_{in}$), preventing parameter explosion.
- Learning Spatial Configurations: Instead of a fixed mask, BDSC learns a flexible spatial configuration $\tilde{M}$. To maintain efficiency, these spatial filters use binary weights (0s and 1s), turning multiplications into simple additions during the aggregation step.
Unlike depthwise separable convolutions, which process channels independently, BDSC allows for spatial relationships to be encoded across different channels, providing superior flexibility.
Experimental Results
The proposed method was evaluated on CIFAR-10, CIFAR-100, and ImageNet (ILSVRC2012). The results demonstrate that BDSC is highly effective for model compression across various architectures like ResNet and DenseNet.
On the ImageNet dataset, BDSC achieved a 5x reduction in model size for ResNet-18 (from 44.6MB to 9.00MB) with a negligible accuracy drop of less than 0.5% (69.44% to 68.98%). When compared to depthwise separable convolutions at similar model sizes, BDSC consistently delivered higher accuracy (e.g., 68.98% vs. 65.70% for ResNet-18). Furthermore, the reduction in multiplications leads to a theoretical speedup of approximately 2.77x for convolutional layers.
Key Insights and Discussion
- Redundancy is Optional: Standard convolutions often project data into a much higher-dimensional space than necessary. Constraining this "width" allows for significant parameter savings without losing essential feature transformations.
- Learned Binary Masks: Using binary tensors for spatial configurations provides the flexibility of full convolutions with the efficiency of sparse ones.
- Efficiency vs. Accuracy: BDSC outperforms depthwise separable convolutions by allowing cross-channel spatial encoding, which is crucial for maintaining performance in compressed models.
Limitations
While BDSC offers impressive theoretical gains, empirical whole-network compression is limited by uncompressed components like initial layers and final fully connected layers. Additionally, the actual wall-clock speedup is contingent on hardware and software support for sparse or binary operations. Future research could extend this approach to more modern architectures like Transformers or tasks beyond classification, such as object detection.
Summary updated