Pyramidal Convolution: Rethinking Convolutional Neural Networks for Visual Recognition

Ionut Cosmin Duta, Li Liu, Fan Zhu, Ling Shao

TL;DR

Pyramidal Convolution (PyConv) introduces a "double-oriented pyramid" of kernels that processes inputs at multiple scales and depths in parallel. By combining larger kernels with reduced connectivity (via grouped convolutions), PyConv significantly boosts the receptive field and multi-scale recognition capabilities of CNNs without increasing computational cost or parameter count.

What Problem Does This Paper Address?

Standard Convolutional Neural Networks (CNNs) typically rely on a single kernel size—most commonly $3 \times 3$—across their layers. While stacking these layers and using downsampling (pooling) eventually increases the network's receptive field, it comes with two major drawbacks:

  1. Limited Context: The empirical receptive field in deep layers is often much smaller than the theoretical one, limiting the network's ability to understand large-scale context.
  2. Scale Variance: Natural images contain objects at vastly different scales (e.g., a building vs. a person). A fixed kernel size is often suboptimal for capturing this diversity simultaneously.

The authors argue that downsampling the input before capturing enough context information leads to a loss of useful details, especially in complex scenes.

Methods

The core innovation is Pyramidal Convolution (PyConv). Instead of a single kernel, a PyConv layer contains a pyramid of $n$ levels of kernels.

Comparison between standard convolution and the proposed PyConv.

As shown in Figure 2, PyConv follows a "double-oriented" design:

  • Increasing Spatial Size: As you move up the pyramid levels, the kernel size increases (e.g., $3 \times 3, 5 \times 5, 7 \times 7, 9 \times 9$). This allows the network to capture different levels of detail and context in parallel.
  • Decreasing Connectivity (Depth): To keep the computational cost in check, the depth of the kernels (the number of input channels they see) decreases as the spatial size increases. This is achieved using grouped convolutions.
Illustration of how grouped convolutions reduce connectivity and parameters.

By carefully balancing the kernel size and the number of groups (as illustrated in Figure 3), the authors ensure that a PyConv layer has roughly the same number of parameters and FLOPs as a standard $3 \times 3$ convolution. This makes PyConv a "plug-and-play" replacement for standard convolutions in existing architectures like ResNet.

Datasets

The authors evaluated PyConv across four major computer vision tasks using standard benchmarks:

  • Image Classification: ImageNet (1.28M training images, 1000 classes).
  • Semantic Segmentation: ADE20K (a challenging scene parsing dataset with 150 categories).
  • Object Detection: COCO val2017.
  • Video Action Recognition: Kinetics-400.

Key Insights and Ideas

  • Parallel Multi-Scale Processing: Unlike standard CNNs that capture scale information sequentially through depth, PyConv captures it in parallel within a single layer. This provides the network with a richer set of features from the very first stages.
  • Efficiency through Sparsity: The use of grouped convolutions for larger kernels is a clever way to gain a massive receptive field "for free." It acknowledges that while large-scale context is important, we don't necessarily need dense, full-channel connectivity to capture it effectively.
  • Flexibility: PyConv is highly customizable. Designers can choose the number of pyramid levels, kernel sizes, and grouping strategies based on the specific requirements of a task or the resolution of the feature maps at different stages of the network.

Key Results

The results across all tasks were significant:

  • ImageNet: A 50-layer PyConvResNet outperformed a standard 152-layer ResNet. Specifically, PyConvResNet-50 achieved better top-1 accuracy while using 2.39x fewer parameters and 2.52x fewer FLOPs.
  • Semantic Segmentation: The authors proposed a new "PyConv Parsing Head" (PyConvPH) for scene parsing.
The PyConvSegNet framework for semantic segmentation.

As shown in Figure 5, this head captures both local and global context. It set a new state-of-the-art on the ADE20K benchmark, proving more efficient and accurate than established heads like PSPNet's PPM or DeepLabv3's ASPP.

  • Video Recognition: On Kinetics-400, PyConvResNet3D-50 improved top-1 accuracy by 2.45% over the ResNet3D-50 baseline while being slightly more efficient.

Limitations and Future Work

While PyConv shows broad success, the authors noted some qualitative failure cases in semantic segmentation, such as confusing visually similar objects (e.g., a door vs. a window) in highly complex scenes.

The paper suggests that the flexibility of PyConv opens up a large search space for new architectures. Future work could involve using Neural Architecture Search (NAS) to find optimal PyConv configurations. Additionally, the authors believe PyConv could be highly beneficial for image restoration, inpainting, and super-resolution—tasks where multi-scale context is critical.

Summary updated

BibTeX
@misc{duta2020pyramidal,
  author = {Ionut Cosmin Duta and Li Liu and Fan Zhu and Ling Shao},
  title = {{Pyramidal Convolution: Rethinking Convolutional Neural Networks for Visual Recognition}},
  year = {2020},
  eprint = {2006.11538},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.11538},
}
Figure