Skip to main content
QUICK REVIEW

[Paper Review] Asymmetric Non-local Neural Networks for Semantic Segmentation

Zhen Zhu, Mengde Xu|arXiv (Cornell University)|Aug 21, 2019
Advanced Neural Network ApplicationsComputer Science51 references77 citations
TL;DR

Introduces Asymmetric Pyramid Non-local Block (APNB) and Asymmetric Fusion Non-local Block (AFNB) to reduce computation and memory in non-local modules for semantic segmentation, achieving state-of-the-art results on Cityscapes, ADE20K, and PASCAL Context.

ABSTRACT

The non-local module works as a particularly useful technique for semantic segmentation while criticized for its prohibitive computation and GPU memory occupation. In this paper, we present Asymmetric Non-local Neural Network to semantic segmentation, which has two prominent components: Asymmetric Pyramid Non-local Block (APNB) and Asymmetric Fusion Non-local Block (AFNB). APNB leverages a pyramid sampling module into the non-local block to largely reduce the computation and memory consumption without sacrificing the performance. AFNB is adapted from APNB to fuse the features of different levels under a sufficient consideration of long range dependencies and thus considerably improves the performance. Extensive experiments on semantic segmentation benchmarks demonstrate the effectiveness and efficiency of our work. In particular, we report the state-of-the-art performance of 81.3 mIoU on the Cityscapes test set. For a 256x128 input, APNB is around 6 times faster than a non-local block on GPU while 28 times smaller in GPU running memory occupation. Code is available at: https://github.com/MendelXu/ANN.git.

Motivation & Objective

  • Motivate to reduce the heavy computation and memory cost of standard non-local blocks while preserving performance in semantic segmentation.
  • Propose APNB by embedding a pyramid sampling module to sample anchor points for the non-local operation.
  • Propose AFNB to fuse multi-level features using long-range dependencies.
  • Demonstrate efficiency improvements (time and memory) and state-of-the-art accuracy on Cityscapes, ADE20K, and PASCAL Context.

Proposed method

  • Revisit standard non-local block and identify the dominant O(CN^2) complexity in computing the similarity and aggregation across all N spatial locations.
  • Introduce sampling via spatial pyramid pooling after the theta and gamma embeddings to obtain a small set of anchor points S, reducing complexity to O(CNS) compared to O(CN^2).
  • Define APNB by computing V_P between phi and theta_P, normalizing to obtain V_P, and aggregating with gamma_P to produce O_P, then concatenating with X as Y_P.
  • In AFNB, fuse high-level and low-level features by computing cross-level similarity V_F between phi_h and theta_l, then aggregate with gamma_l to obtain O_F and fuse with X_h.
  • Extend the architecture with ResNet-101 backbone and dilated convolutions; apply two supervision signals (final and Stage4) and online hard pixel mining for training.

Experimental results

Research questions

  • RQ1Can the non-local block be made significantly more efficient without sacrificing segmentation performance by sampling anchor points through pyramid pooling?
  • RQ2Do asymmetric non-local designs (APNB and AFNB) provide better accuracy and efficiency than standard non-local blocks or simple fusion schemes?
  • RQ3What is the impact of sampling strategies and anchor point counts on segmentation performance on standard benchmarks?

Key findings

  • APNB yields large efficiency gains (about 6x faster and 28x less GPU memory for a 256x128 input) with negligible performance loss compared to the standard non-local block.
  • AFNB improves cross-level feature fusion by leveraging long-range dependencies, contributing to noticeable performance gains over baselines.
  • The full asymmetric non-local network (AFNB + APNB) achieves state-of-the-art results on Cityscapes (81.3% mIoU), ADE20K (45.24%), and PASCAL Context (52.8%).
  • Using pyramid sampling with anchor points (S) and pyramid sizes (1,3,6,8) yields best Cityscapes performance; more anchor points improve accuracy at a computation cost.
  • Efficient APNB design significantly reduces GFLOPs, GPU memory, and inference time while maintaining high accuracy compared to NB and DenseASPP/PSANet baselines.

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.