Drop an Octave: Reducing Spatial Redundancy in Convolutional Neural Networks With Octave Convolution

Yunpeng Chen, Haoqi Fan, Bing Xu, Zhicheng Yan, Yannis Kalantidis, Marcus Rohrbach, Shuicheng Yan, Jiashi Feng

Abstract

In natural images, information is conveyed at different frequencies where higher frequencies are usually encoded with fine details and lower frequencies are usually encoded with global structures. Similarly, the output feature maps of a convolution layer can also be seen as a mixture of information at different frequencies. In this work, we propose to factorize the mixed feature maps by their frequencies, and design a novel Octave Convolution (OctConv) operation to store and process feature maps that vary spatially “slower” at a lower spatial resolution reducing both memory and computation cost. Unlike existing multi-scale methods, OctConv is formulated as a single, generic, plug-and-play convolutional unit that can be used as a direct replacement of (vanilla) convolutions without any adjustments in the network architecture. It is also orthogonal and complementary to methods that suggest better topologies or reduce channel-wise redundancy like group or depth-wise convolutions. We experimentally show that by simply replacing convolutions with OctConv, we can consistently boost accuracy for both image and video recognition tasks, while reducing memory and computational cost. An OctConv-equipped ResNet-152 can achieve 82.9% top-1 classification accuracy on ImageNet with merely 22.2 GFLOPs.

Introduction

Convolutional Neural Networks (CNNs) have achieved remarkable success in computer vision, yet their computational demands remain a significant barrier for deployment on resource-constrained devices. While prior research has focused on reducing redundancy in model parameters through pruning or in channel dimensions via depth-wise and group convolutions, spatial redundancy remains largely unaddressed. In standard feature maps, adjacent pixels often share highly similar information, particularly in regions representing global structures.

Standard convolution operations treat all spatial locations uniformly, processing high-frequency "fine details" and low-frequency "global structures" at the same high resolution. This paper introduces Octave Convolution (OctConv), which leverages the observation that low-frequency components change slowly across space and can thus be processed at a lower spatial resolution without loss of critical information.

The Octave Convolution Operation

The core innovation of OctConv is the factorization of feature maps into two groups based on their spatial frequency:

  1. High-frequency ($X^H$): These maps capture fine details and are maintained at the original spatial resolution.
  2. Low-frequency ($X^L$): These maps capture global structures and are stored at half the spatial resolution (one "octave" lower).
Frequency factorization and the Octave Convolution operation.

To ensure effective feature learning, OctConv enables communication between these two groups through four distinct paths:

  • Intra-frequency updates: Standard convolutions are applied within the high-frequency ($H \to H$) and low-frequency ($L \to L$) groups.
  • Inter-frequency exchange:
    • $L \to H$: Low-frequency features are convolved and then upsampled to match the high-frequency resolution.
  • $H \to L$: High-frequency features are downsampled via average pooling and then convolved to match the low-frequency resolution.

OctConv is designed as a "plug-and-play" replacement for vanilla convolutions. It introduces a single hyperparameter, $\alpha$, representing the fraction of channels allocated to the low-frequency group.

Key Insights and Advantages

Beyond computational efficiency, OctConv offers several architectural benefits:

  • Enlarged Receptive Field: Processing low-frequency maps at half-resolution effectively doubles the receptive field of a $3 \times 3$ kernel (to $6 \times 6$ in the original space). This allows the network to capture more global context, often leading to improved accuracy.
  • Frequency Factorization: Fourier analysis confirms that the low-frequency group captures smooth signal components while the high-frequency group focuses on edges and details, validating the signal processing intuition.
  • Orthogonality: OctConv is complementary to other efficiency techniques, such as Squeeze-and-Excitation (SE) blocks or depth-wise convolutions, allowing for further optimization in models like MobileNet.

Experimental Results

The authors evaluated OctConv across standard image and video recognition benchmarks:

  • ImageNet Classification: Replacing standard convolutions in a ResNet-50 ($\alpha=0.125$) increased Top-1 accuracy by 1.2% while reducing FLOPs from 4.1G to 3.6G. A high-capacity ResNet-152 with OctConv achieved 82.9% Top-1 accuracy with only 22.2 GFLOPs, outperforming many state-of-the-art manually and automatically designed models.
  • Video Action Recognition: On the Kinetics-400 dataset, an OctConv-equipped I3D backbone improved accuracy by 1.0% while reducing computational costs by approximately 9%.
  • Inference Speed: Theoretical FLOP reductions translated into actual CPU inference time speedups, demonstrating the practical utility of the method.

Conclusion and Future Work

Octave Convolution provides a simple yet effective way to reduce spatial redundancy in CNNs. By processing low-frequency information at a lower resolution, it achieves a superior trade-off between accuracy and efficiency. While this work focuses on a single-octave reduction, future research could explore multi-octave decompositions for even greater gains. Additionally, developing custom CUDA kernels optimized for OctConv's multi-path structure could further enhance GPU performance.

Summary updated

BibTeX
@misc{chen2019drop,
  author = {Yunpeng Chen and Haoqi Fan and Bing Xu and Zhicheng Yan and Yannis Kalantidis and Marcus Rohrbach and Shuicheng YAN and Jiashi Feng},
  title = {{Drop an Octave: Reducing Spatial Redundancy in Convolutional Neural Networks With Octave Convolution}},
  year = {2019},
  eprint = {1904.05049},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.05049},
}
Figure