4-Connected Shift Residual Networks

Andrew Brown, Pascal Mettes, Marcel Worring

Abstract

Convolutional Neural Networks (CNNs) are computationally expensive due to spatial convolutions. This paper explores the "shift" operation—a parameter-free data movement between adjacent pixels—as a replacement for $3 \times 3$ kernels. By introducing a 4-connected shift pattern and "flattening" the traditional bottleneck architecture, the authors develop a network that matches ResNet101’s ImageNet accuracy while reducing FLOPs by over 40%.

Introduction

While CNNs excel at image recognition, their success is tethered to high computational costs. Spatial convolutions, such as $3 \times 3$ kernels, are the primary drivers of this expense because they perform multiplications across both channel and spatial dimensions. Recent research has proposed the "shift" operation as a zero-FLOP, zero-parameter alternative. However, its application to large-scale, high-accuracy models like ResNet101 remained underexplored. This paper investigates the optimal neighborhood for these shifts and how to integrate them into deep architectures effectively.

Methods: Shifting and Flattening

The core of this approach is the shift operation, which moves subsets of activations across the image plane. This is followed by a $1 \times 1$ pointwise convolution to mix information across channels. The authors propose three major innovations:

  1. 4-Connected (4C) Shifts: Comparing the 8-direction "Moore neighborhood" to the 4-direction "von Neumann neighborhood" (up, down, left, right).
  2. Multi-Stage Shifting: Shifts are added to all $1 \times 1$ layers within a block, significantly expanding the receptive field.
  3. Flattening the Bottleneck: Traditional bottlenecks reduce channel counts to make $3 \times 3$ convolutions affordable. Since shifts are free, the authors "flatten" the block by maintaining high channel counts, allowing for shallower, more efficient networks.
Evolution of the shift architecture from standard bottleneck (a) to flattened multi-shift (d), with corresponding receptive fields.

Key Results

The proposed 4-connected shift networks demonstrate superior efficiency and accuracy on benchmarks like CIFAR-100 and ImageNet.

  • Efficiency: Replacing spatial convolutions in ResNet101 with 4C shifts reduced FLOPs and parameters by over 40% with negligible accuracy loss (~77.3% vs 77.6%).
  • Accuracy: The "Flattened Multi-Shift" (4C-MSF-ResNet35) model achieved 78.4% top-1 accuracy on ImageNet, outperforming the 101-layer ResNet baseline by 0.8% despite being much shallower.
  • Performance Trade-offs: As shown in the figure below, the proposed models (A, B, C) occupy a superior position on the accuracy-vs-FLOPs curve compared to standard CNNs and other shift-based methods.
ImageNet Top-1 Accuracy vs. GFLOPs. The proposed models (orange) show a significant improvement in efficiency over standard CNNs (grey).

Conclusion

This work demonstrates that simple 4-connected shifts can effectively replace expensive spatial convolutions in large-scale models. By removing the need for bottlenecking, the "flattened" architecture achieves higher accuracy with fewer layers. Future work includes optimizing hardware implementation for memory movement and exploring these techniques in Transformer-based architectures.

Summary updated

BibTeX
@inproceedings{brown2019connected,
  author = {Andrew Brown and Pascal Mettes and Marcel Worring},
  title = {{4-Connected Shift Residual Networks}},
  booktitle = {Workshops @ ICCV},
  year = {2019},
  doi = {10.1109/iccvw.2019.00248},
}
Figure