NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Constructing Fast Network through Deconstruction of Convolution

Yunho Jeon, Junmo Kim

In the world of deep learning, there is a constant tug-of-war between accuracy and efficiency. As convolutional neural networks (CNNs) grow deeper and wider to chase state-of-the-art performance, they become increasingly "heavy," demanding massive computational power and memory. This makes them difficult to deploy on edge devices like smartphones or embedded systems.

A paper from NeurIPS 2018, Constructing Fast Network through Deconstruction of Convolution, proposes a clever way to break this deadlock. By "deconstructing" the standard convolution into simpler parts and introducing a learnable Active Shift Layer (ASL), the authors demonstrate how to build networks that are not just smaller, but significantly faster and more accurate than previous lightweight models.

TL;DR

The authors deconstruct standard convolutions into a combination of $1 \times 1$ (pointwise) convolutions and a new "Active Shift Layer" (ASL). Unlike previous shift-based methods that used fixed, heuristic patterns, ASL makes the shift amount a learnable parameter. This allows the network to optimize its own receptive field dynamically, achieving superior speed and accuracy on mobile-scale hardware.

What Problem Does This Paper Address?

Standard $3 \times 3$ or $5 \times 5$ convolutions are computationally expensive. To solve this, researchers previously introduced depthwise separable convolutions (famously used in MobileNet) and ShiftNet, which replaces spatial convolutions with zero-parameter "shift" operations.

However, these solutions have two main flaws:

  1. The "Trap of FLOPs": We often use FLOPs (Floating Point Operations) as a proxy for speed. But in the real world, memory access patterns matter just as much. Depthwise convolutions often have fragmented memory access, making them slower on actual hardware than their low FLOP count suggests.
Inference time per FLOP for various operations, highlighting the inefficiency of depthwise convolutions.
  1. Heuristic Design: Previous shift-based networks assigned shift directions (up, down, left, right) heuristically. This is likely suboptimal, as the network cannot adapt its "view" of the data during training to better suit the specific task.

Methods: The Active Shift Layer

The core innovation of this paper is the Active Shift Layer (ASL). The authors argue that a standard convolution can be effectively deconstructed into two atomic operations: a spatial shift and a $1 \times 1$ convolution.

The Learnable Shift

Instead of forcing a channel to shift by exactly one pixel to the left or right, ASL introduces two continuous parameters for each channel: $\alpha_c$ (horizontal shift) and $\beta_c$ (vertical shift).

Comparison between traditional Grouped Shift (fixed directions) and the proposed Active Shift Layer (learnable continuous shifts).

Because these parameters are continuous, a shift of, say, 0.5 pixels isn't naturally defined on a discrete pixel grid. To make this differentiable (and thus trainable via backpropagation), the authors use bilinear interpolation. This allows the network to "pull" values from non-integer coordinates, effectively letting the gradient flow back to the shift parameters so the network can learn the optimal shift distances.

Depthwise Application

ASL is applied "depthwise," meaning each input channel gets its own unique $(\alpha, \beta)$ shift pair. This is followed by a $1 \times 1$ convolution to mix the information across channels. This structure allows the network to use highly optimized GEMM (General Matrix Multiply) libraries for the $1 \times 1$ parts while keeping the spatial movement extremely lightweight.

Key Insights and Ideas

  • $1 \times 1$ Convolutions are Kings of Speed: The authors highlight that $1 \times 1$ convolutions are "dense" operations that hardware handles very efficiently. By moving all spatial logic into the ASL and all "mixing" logic into $1 \times 1$ layers, they maximize hardware utilization.
  • Mimicking Dilated Convolutions: Because the shift amounts are learnable, the network can actually learn to shift by large amounts (e.g., 5 or 6 pixels). This allows ASL to mimic dilated convolutions, expanding the receptive field without adding a single extra weight parameter.
  • Shift vs. Depthwise: The paper provides a compelling argument that ASL is superior to depthwise convolution because it avoids the fragmented memory access that plagues the latter, leading to better inference times on both CPUs and GPUs.

Key Results

The resulting "ASNet" architectures showed impressive gains across standard benchmarks (CIFAR-10, CIFAR-100, and ImageNet):

  • Accuracy: On ImageNet, AS-ResNet-w68 achieved 72.2% Top-1 accuracy with only 3.42M parameters, outperforming MobileNetV1 (70.6%) and ShiftNet-A (70.1%).
  • Efficiency: A tiny version, AS-ResNet-w32, achieved 64.1% Top-1 accuracy on ImageNet with less than 1 million parameters (0.9M).
  • Real-world Speed: In CPU inference tests, the ASL-based models were consistently faster than MobileNetV2. For example, AS-ResNet-w32 took 18.7ms on an Intel i7 CPU, while MobileNetV2-0.5 (which has lower accuracy) took 26.8ms.

Limitations and Future Work

While ASL is powerful, its performance is still somewhat dependent on the underlying deep learning framework's implementation of the shift operation. The authors integrated their own optimized version in Caffe, but for ASL to be a true "drop-in" replacement everywhere, it requires native, optimized support in modern libraries like PyTorch or TensorFlow.

The authors also suggest that while they focused on classification, the "deconstruction" of convolution into learnable shifts could be highly beneficial for other tasks like object detection or segmentation, where large, adaptable receptive fields are even more critical.

Summary updated

BibTeX
@inproceedings{jeon2018constructing,
  author = {Yunho Jeon and Junmo Kim},
  title = {{Constructing Fast Network through Deconstruction of Convolution}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=By-is_bdbr},
}
Figure