Skip to main content
QUICK REVIEW

[Paper Review] Accelerating Deep Neural Networks with Spatial Bottleneck Modules

Junran Peng, Lingxi Xie|arXiv (Cornell University)|Sep 7, 2018
Advanced Neural Network ApplicationsComputer Science38 references9 citations
TL;DR

This paper proposes the spatial bottleneck module, a lightweight architectural component that accelerates convolutional neural networks by reducing spatial resolution via stride-2 convolution followed by deconvolution, achieving up to 2× inference speedup with maintained or improved accuracy on ImageNet and CIFAR-100. The method operates independently in the spatial domain, complementing existing channel-wise compression techniques.

ABSTRACT

This paper presents an efficient module named spatial bottleneck for accelerating the convolutional layers in deep neural networks. The core idea is to decompose convolution into two stages, which first reduce the spatial resolution of the feature map, and then restore it to the desired size. This operation decreases the sampling density in the spatial domain, which is independent yet complementary to network acceleration approaches in the channel domain. Using different sampling rates, we can tradeoff between recognition accuracy and model complexity. As a basic building block, spatial bottleneck can be used to replace any single convolutional layer, or the combination of two convolutional layers. We empirically verify the effectiveness of spatial bottleneck by applying it to the deep residual networks. Spatial bottleneck achieves 2x and 1.4x speedup on the regular and channel-bottlenecked residual blocks, respectively, with the accuracies retained in recognizing low-resolution images, and even improved in recognizing high-resolution images.

Motivation & Objective

  • To address the high computational cost of convolutional layers in deep neural networks, especially in real-time applications.
  • To explore under-explored spatial domain compression as a complementary approach to existing channel-wise acceleration methods.
  • To design a general-purpose, replaceable module that reduces FLOPs without increasing network depth.
  • To evaluate the impact of spatial sparsification on recognition accuracy and inference speed across different network depths.
  • To demonstrate that reduced spatial sampling can enhance generalization, particularly in deeper networks.

Proposed method

  • The spatial bottleneck module decomposes a convolution into two stages: a stride-2 convolution that down-samples the feature map to half its spatial dimensions, followed by a deconvolution that restores it to the original size.
  • The method uses a chessboard sampling strategy to sparsify spatial sampling, reducing computation while preserving feature representation.
  • The module is designed to be a drop-in replacement for any single convolutional layer or a pair of consecutive convolutional layers.
  • Non-linear activation and normalization layers are preserved when replacing two convolutions, but omitted between convolution and deconvolution to maintain linearity and avoid depth increase.
  • The approach is applied to residual blocks in ResNet architectures, both regular and channel-bottlenecked variants.
  • Training is performed from scratch using SGD with Nesterov momentum, data augmentation, and learning rate decay on ImageNet and CIFAR-100.

Experimental results

Research questions

  • RQ1Can reducing spatial resolution through a two-stage convolution-deconvolution process effectively accelerate deep neural networks?
  • RQ2Does spatial sparsification via the spatial bottleneck module maintain or improve recognition accuracy compared to standard convolutional layers?
  • RQ3How does the performance of the spatial bottleneck vary across different network depths and architectures?
  • RQ4Can the spatial bottleneck achieve significant speedups while remaining compatible with existing network designs?
  • RQ5Does the reduced spatial sampling improve generalization, especially in deeper networks?

Key findings

  • The spatial bottleneck achieved a 2× speedup on regular residual blocks and 1.4× speedup on channel-bottlenecked residual blocks, with no accuracy loss on CIFAR-100.
  • On ImageNet, the spatial bottleneck improved top-1 accuracy by 0.47% and top-5 by 0.25% in the 101-layer ResNet, with a 27% reduction in FLOPs.
  • The top-1 error rate dropped by 2.03% and top-5 by 3.69% on ResNet-101 compared to the baseline, indicating improved generalization with reduced computation.
  • The method consistently improved testing accuracy on deeper networks (ResNet-34 and ResNet-101) when the learning rate was sufficiently small, suggesting better optimization behavior.
  • The spatial bottleneck networks achieved better accuracy-FLOPs trade-offs than prior methods, outperforming approaches that sacrifice accuracy for speed.
  • The approach is effective across both low- and high-resolution image recognition tasks, with accuracy gains observed on high-resolution ImageNet images.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.