Skip to main content
QUICK REVIEW

[Paper Review] Pixel-Adaptive Convolutional Neural Networks

Hang Su, Varun Jampani|arXiv (Cornell University)|Apr 10, 2019
Advanced Neural Network ApplicationsComputer Science48 references20 citations
TL;DR

This paper introduces Pixel-Adaptive Convolution (PAC), a content-adaptive convolution operation that modifies standard convolutions by multiplying filter weights with a spatially varying kernel derived from learnable or pre-defined pixel features. PAC generalizes standard convolutions, bilateral filtering, and pooling, achieving state-of-the-art performance in joint image upsampling and enabling a simple layer-hot-swapping strategy that boosts semantic segmentation accuracy by 2 mIoU without increasing parameters or inference cost.

ABSTRACT

Convolutions are the fundamental building block of CNNs. The fact that their weights are spatially shared is one of the main reasons for their widespread use, but it also is a major limitation, as it makes convolutions content agnostic. We propose a pixel-adaptive convolution (PAC) operation, a simple yet effective modification of standard convolutions, in which the filter weights are multiplied with a spatially-varying kernel that depends on learnable, local pixel features. PAC is a generalization of several popular filtering techniques and thus can be used for a wide range of use cases. Specifically, we demonstrate state-of-the-art performance when PAC is used for deep joint image upsampling. PAC also offers an effective alternative to fully-connected CRF (Full-CRF), called PAC-CRF, which performs competitively, while being considerably faster. In addition, we also demonstrate that PAC can be used as a drop-in replacement for convolution layers in pre-trained networks, resulting in consistent performance improvements.

Motivation & Objective

  • To address the limitations of standard convolutions, which are spatially shared and content-agnostic, by enabling filters to adapt to local image content.
  • To develop a generalization of standard convolutions that can unify multiple filtering techniques, including bilateral filtering and pooling.
  • To enable performance gains in existing pre-trained networks through a simple, parameter-preserving layer-hot-swapping technique.
  • To provide an efficient alternative to fully-connected CRF (Full-CRF) with competitive performance and faster inference.

Proposed method

  • PAC modifies standard convolutions by element-wise multiplying the fixed filter weights with a spatially varying adapting kernel K, which depends on local pixel features f.
  • The adapting kernel is computed as a function of feature similarity, such as a Gaussian kernel: exp(-1/2 ||f_i - f_j||²), where f_i and f_j are d-dimensional features at pixels i and j.
  • Adapting features f can be either pre-defined (e.g., color, position) or learned via a CNN, and are used to compute the spatially varying modulation of the convolutional filter.
  • PAC is applied as a drop-in replacement for standard convolution layers in pre-trained networks via layer hot-swapping, preserving original weights and only modifying the forward pass.
  • A variant of PAC is used for transposed convolution in joint upsampling, enabling learnable, guided upsampling of intermediate features.
  • PAC-CRF is introduced as a faster alternative to Full-CRF, using PAC layers to perform efficient CRF inference with improved boundary fidelity.

Experimental results

Research questions

  • RQ1Can a simple modification to standard convolutions enable content-adaptive filtering while preserving parameter efficiency?
  • RQ2How does PAC generalize existing filtering operations such as bilateral filtering and pooling?
  • RQ3Can PAC be used as a drop-in replacement in pre-trained networks to improve performance without increasing model size?
  • RQ4Does PAC-CRF achieve competitive performance with Full-CRF while being significantly faster?
  • RQ5Can PAC improve performance in joint image upsampling tasks, particularly for depth and optical flow prediction?

Key findings

  • PAC achieves state-of-the-art performance in joint image upsampling for both depth and optical flow prediction tasks.
  • Layer hot-swapping with PAC improves semantic segmentation mIoU by 2.0 on the Pascal VOC 2011 test set (67.20 → 69.18), with no increase in parameters or runtime.
  • When combined with PAC-CRF (16-64 variant), the mIoU further improves to 71.34, demonstrating complementary gains with post-processing.
  • PAC-CRF achieves performance comparable to Full-CRF while reducing inference time, making it a practical alternative for real-time applications.
  • The method generalizes standard convolution, bilateral filtering, and pooling operations, demonstrating broad applicability across vision tasks.
  • The use of early-layer features (e.g., CONV2_2) as adapting features for PAC layers enables effective content adaptation with minimal computational overhead.

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.