Abstract
This paper introduces a novel 3D tensor perspective that unifies various lightweight CNN architectures—such as MobileNet and ShiftNet—under a single geometric framework. By reshaping 4D convolutional kernels into 3D tensors, the authors derive a first-of-its-kind pruning strategy for shift layers, achieving significant model compression with minimal accuracy loss.
Introduction
As deep learning moves toward edge devices like smartphones and IoT sensors, the demand for computationally efficient "lightweight" models has grown. Standard Convolutional Neural Networks (CNNs) are resource-intensive, leading researchers to develop alternatives like Depthwise Separable (DS) convolutions and Shift operations. However, these efficient modules are often treated as disparate "tricks."
This paper addresses the lack of a unifying visual framework that explains the mathematical relationships between these architectures. By utilizing tensor decompositions, the authors provide a geometric intuition that bridges the gap between traditional dense convolutions and modern sparse alternatives.
The 3D Tensor Framework
The core innovation is a change in perspective: reshaping the standard 4D kernel tensor (Input Channels, Output Channels, Height, Width) into a 3D kernel tensor ($|c_i|, |c_o|, |k^2|$). By viewing this 3D block from different "slices," classical tensor decompositions map directly to famous CNN structures.
- Frontal Slices: Approximating these leads to standard Depthwise Separable (DS) convolutions (MobileNet style).
- Horizontal Slices: These map to an "Inverted" DS convolution.
- Lateral Slices: When represented as "one-hot" kernels, these are mathematically equivalent to Shift layers.
- Canonical Polyadic Decomposition (CPD): This view naturally generates the Linear Bottleneck (Pointwise-Depthwise-Pointwise or PDP) used in architectures like MobileNetV2.
Mapping to Linear Bottlenecks
The CPD view is particularly powerful for understanding bottleneck layers. By treating the bottleneck as a rank-constrained approximation of the 3D tensor, the authors show how knowledge can be transferred from dense models to sparse ones.
The paper finds that initializing weights using CPD from a pre-trained dense model is significantly better than random initialization. For a rank-32 PDP model, CPD initialization reached 89.73% accuracy on CIFAR-10, whereas random initialization only reached 75.19%, proving the value of the tensor view for knowledge transfer.
Pruning Strategy and Results
Building on the lateral slice view, the authors propose a new pruning method for ShiftNet. By collecting rank-1 terms corresponding to the same shift and using Singular Value Decomposition (SVD), they identify which shift channels are "dominant." This allows for "uneven" pruning, where different spatial shift directions are pruned at different rates based on their importance to the network's success.
Key results include:
- Shift Layer Pruning: On ShiftResNet-20, the method achieved 49.18% compression on CIFAR-10 with only a 0.49% drop in accuracy.
- VGG-16 Compression: Using the PDP configuration derived from their tensor view, they compressed VGG-16 by 98.12% while maintaining an 89.73% accuracy on CIFAR-10.
Conclusion
By sticking to a 3D view, the authors make tensor decomposition intuitive and bridge the gap between traditional "heavy" tensors and "zero-parameter" shift operations. While currently validated on CIFAR datasets, this framework offers a promising path toward more structured optimization of CNNs for edge hardware. Future work may extend this unifying view to 3D convolutions for video or attention mechanisms in Transformers.
Summary updated