[Paper Review] All You Need is a Few Shifts: Designing Efficient Convolutional Neural Networks for Image Classification
This paper proposes the Sparse Shift Layer (SSL), a novel, efficient convolutional neural network component that replaces depthwise separable convolutions by applying only a few strategically placed shift operations to feature maps. By introducing a learnable shift penalty and quantization-aware training, SSL enables high accuracy with minimal computational cost—achieving 75.0% top-1 accuracy on ImageNet with only 563M M-Adds, outperforming MobileNet, ShuffleNet, and NAS-searched models in both accuracy and inference speed.
Shift operation is an efficient alternative over depthwise separable convolution. However, it is still bottlenecked by its implementation manner, namely memory movement. To put this direction forward, a new and novel basic component named Sparse Shift Layer (SSL) is introduced in this paper to construct efficient convolutional neural networks. In this family of architectures, the basic block is only composed by 1x1 convolutional layers with only a few shift operations applied to the intermediate feature maps. To make this idea feasible, we introduce shift operation penalty during optimization and further propose a quantization-aware shift learning method to impose the learned displacement more friendly for inference. Extensive ablation studies indicate that only a few shift operations are sufficient to provide spatial information communication. Furthermore, to maximize the role of SSL, we redesign an improved network architecture to Fully Exploit the limited capacity of neural Network (FE-Net). Equipped with SSL, this network can achieve 75.0% top-1 accuracy on ImageNet with only 563M M-Adds. It surpasses other counterparts constructed by depthwise separable convolution and the networks searched by NAS in terms of accuracy and practical speed.
Motivation & Objective
- To address the inefficiency of depthwise separable convolutions in practice due to high memory movement overhead.
- To investigate whether shift operations can be made more efficient by reducing redundant shifts through sparsity.
- To design a new, lightweight neural network architecture that fully exploits the limited capacity of neural networks using only sparse shift operations.
- To demonstrate that shift operations, when properly regularized and quantized, can outperform depthwise separable convolutions in both accuracy and inference speed.
Proposed method
- Propose the Sparse Shift Layer (SSL), which applies only a few learned shift operations to intermediate feature maps, reducing memory movement overhead.
- Introduce a shift operation penalty during optimization to encourage sparsity, allowing only a small subset of feature maps to be shifted.
- Develop a quantization-aware shift learning method to make shift operations differentiable without using interpolation, preserving inference efficiency.
- Design a new network architecture, FE-Net, that maximizes feature diversity and information flow using only 1x1 convolutions and sparse shifts.
- Use width multiplier as a hyperparameter to control the trade-off between accuracy and computational cost in FE-Net.
- Integrate SE modules in the expansion path of inverted bottlenecks to enhance channel-wise attention and further increase shift sparsity.
Experimental results
Research questions
- RQ1Can a small number of strategically placed shift operations provide sufficient spatial information communication in CNNs?
- RQ2Can shift operations be made more efficient than depthwise separable convolutions by reducing memory movement through sparsity?
- RQ3Can a network built entirely without depthwise separable convolutions surpass existing compact models in accuracy and inference speed?
- RQ4How does channel attention (via SE modules) affect shift sparsity and model performance in the SSL-based architecture?
Key findings
- Only a few shift operations are sufficient for effective spatial information communication, with 60–80% of feature maps remaining unshifted in trained models.
- The proposed FE-Net with SSL achieves 75.0% top-1 accuracy on ImageNet with only 563M M-Adds, surpassing MobileNetV2 and NAS-searched models.
- On both GPU and CPU, FE-Net with SSL achieves significantly faster inference than MobileNetV2, with 16.1ms on GPU and 1.9s on CPU at 32-batch size.
- Integrating SE modules increases shift sparsity from 69.5% to 80.2%, indicating that channel attention enhances the efficiency of sparse shifts.
- FE-Net with SSL outperforms depthwise separable convolution-based models (e.g., MobileNet, ShuffleNet) and NAS-optimized networks in both accuracy and practical runtime.
- The quantization-aware shift learning method enables differentiable training without interpolation, maintaining hardware efficiency during inference.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.