Content-aware Directed Propagation Network with Pixel Adaptive Kernel Attention

Min-Cheol Sagong, Yoon-Jae Yeo, Seung‐Won Jung, Sung‐Jea Ko · DOI

Abstract

Convolutional neural networks (CNNs) have achieved noticeable results on numerous applications. Although the weight-sharing property of convolutions makes them widely adopted, its content-agnostic characteristic is a major drawback. We propose a novel operation, Pixel Adaptive Kernel Attention (PAKA), which provides directivity to filter weights by multiplying spatially varying attention from learnable features. PAKA infers pixel-adaptive attention maps along channel and spatial directions separately to address the decomposed model with fewer parameters. We also propose the Hierarchical PAKA Module (HPM) for improved information aggregation. HPM achieves state-of-the-art performance on semantic segmentation and demonstrates generalizability in multi-modal tasks like color-guided depth map super-resolution.

Introduction

Standard Convolutional Neural Networks (CNNs) rely on the principle of weight sharing, where the same filter is applied across all spatial locations. While this ensures translation invariance and parameter efficiency, it renders the operation "content-agnostic." The network applies the same feature extraction template regardless of whether a pixel resides in a uniform region or on a complex object boundary.

To overcome this, researchers have explored content-adaptive methods. Dynamic Filter Networks (DFN) generate unique filters for every pixel but suffer from a massive explosion in parameters. Deformable Convolutions offer spatial flexibility but can be difficult to optimize. Pixel Adaptive Kernel Attention (PAKA) provides a middle ground: it modulates existing shared weights with content-aware attention, achieving high flexibility with minimal computational overhead.

Pixel Adaptive Kernel Attention (PAKA)

The core of the proposed method is the PAKA operation. Rather than predicting entirely new filters, PAKA computes a kernel attention map that is multiplied by standard shared weights.

The PAKA mechanism decomposes attention into channel and directional modulation branches to efficiently adapt shared weights to local content.

To maintain parameter efficiency, PAKA decomposes the attention into two distinct branches:

  1. Channel Modulation Branch: Learns to weight specific feature channels based on the local pixel context.
  2. Directional Modulation Branch: Learns a spatial attention map (reshaped to the kernel size) that determines which neighboring pixels contribute most to the current feature extraction. This provides the "directivity" that allows the kernel to follow object boundaries.

Hierarchical PAKA Module (HPM)

For tasks requiring global context, such as semantic segmentation, the authors introduce the Hierarchical PAKA Module (HPM). While common modules like Atrous Spatial Pyramid Pooling (ASPP) use parallel dilated convolutions, HPM employs a sequential cascade of dilated PAKA layers.

The Hierarchical PAKA Module (HPM) uses a sequential cascade of PAKA layers to refine information aggregation across multiple scales.

This hierarchical structure allows the network to refine its "propagational field" at each step. Each subsequent layer builds upon the directional decisions of the previous one, leading to more precise feature aggregation across different scales.

Experimental Evaluation

The proposed PAKA and HPM were evaluated on challenging benchmarks for semantic segmentation and depth map super-resolution.

Semantic Segmentation

On the ADE20K dataset, a ResNet-101 backbone equipped with HPM achieved a 45.42 mIoU, outperforming established architectures like EncNet (44.65) and PSPNet (43.29). Notably, HPM is significantly more efficient than ASPP; it achieved higher accuracy (41.15 vs 40.71 mIoU) while reducing the parameter count from 90.7M to 36.1M.

Depth Map Super-resolution

PAKA's ability to use guidance features makes it ideal for multi-modal tasks. In color-guided depth map super-resolution on the Middlebury dataset, PAKA achieved a state-of-the-art PSNR of 42.19 dB for x16 up-sampling, surpassing the previous best of 41.90 dB.

Conclusion

Pixel Adaptive Kernel Attention (PAKA) effectively addresses the content-agnostic limitations of standard convolutions. By decomposing attention into channel and spatial components, it provides a content-aware "directivity" to kernels without the parameter overhead of dynamic filter networks. The success of the Hierarchical PAKA Module in semantic segmentation and depth super-resolution highlights PAKA's potential as a versatile, drop-in replacement for standard convolutions in complex vision tasks.

Summary updated

BibTeX
@misc{sagong2021content,
  author = {Min-Cheol Sagong and Yoon-Jae Yeo and Seung‐Won Jung and Sung‐Jea Ko},
  title = {{Content-aware Directed Propagation Network with Pixel Adaptive Kernel Attention}},
  year = {2021},
  eprint = {2107.13144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.13144},
}

Loading related content...

Figure