All You Need is a Few Shifts: Designing Efficient Convolutional Neural Networks for Image Classification

Weijie Chen, Di Xie, Yuan Zhang, Shiliang Pu
3/13/2019
cs.CV

Official code: hikvision-research/SparseShiftLayer (15 stars, Apache-2.0, last commit 2022-09-05).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

An official implementation of CVPR 2019 paper "All You Need Is a Few Shifts: Designing Efficient Convolutional Neural Networks for Image Classification".

154C, C++Jun 24, 20224 years agoApache-2.0
image-classificationimagenetlightweight-neural-networkmlp-mixershiftnet

Similar Papers

Cite this paper

@article{chen2019need,
  title  = {All You Need is a Few Shifts: Designing Efficient Convolutional Neural Networks for Image Classification},
  author = {Weijie Chen and Di Xie and Yuan Zhang and Shiliang Pu},
  year   = {2019},
  eprint = {1903.05285},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.05285}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1903.05285.svg)](https://codeofpaper.com/paper/1903.05285)

Discussion