Skip to main content
QUICK REVIEW

[Paper Review] Disentangled Non-Local Neural Networks

Minghao Yin, Zhuliang Yao|arXiv (Cornell University)|Jun 11, 2020
Human Pose and Action RecognitionComputer Science45 references10 citations
TL;DR

This paper proposes the Disentangled Non-Local (DNL) block, which decouples the attention computation in standard non-local blocks into separate whitened pairwise and unary terms to improve feature learning. By training these terms independently using dedicated softmax and embedding matrices, DNL achieves significant performance gains across semantic segmentation, object detection, and action recognition, with up to 3.4% mIoU improvement on PASCAL-Context and 0.7% mAP gain on COCO.

ABSTRACT

The non-local block is a popular module for strengthening the context modeling ability of a regular convolutional neural network. This paper first studies the non-local block in depth, where we find that its attention computation can be split into two terms, a whitened pairwise term accounting for the relationship between two pixels and a unary term representing the saliency of every pixel. We also observe that the two terms trained alone tend to model different visual clues, e.g. the whitened pairwise term learns within-region relationships while the unary term learns salient boundaries. However, the two terms are tightly coupled in the non-local block, which hinders the learning of each. Based on these findings, we present the disentangled non-local block, where the two terms are decoupled to facilitate learning for both terms. We demonstrate the effectiveness of the decoupled design on various tasks, such as semantic segmentation on Cityscapes, ADE20K and PASCAL Context, object detection on COCO, and action recognition on Kinetics.

Motivation & Objective

  • To investigate the internal mechanism of the non-local block and identify limitations in its attention computation.
  • To understand why the standard non-local block underperforms when both pairwise and unary attention terms are jointly optimized.
  • To improve visual representation learning by decoupling the two attention terms to allow independent optimization.
  • To validate the effectiveness of the disentangled design across multiple vision tasks, including segmentation, detection, and action recognition.

Proposed method

  • Decomposes the non-local block's attention computation into two distinct terms: a whitened pairwise term for inter-pixel relationships and a unary term for pixel saliency.
  • Applies separate softmax functions and independent embedding matrices to the pairwise and unary terms, eliminating their coupling during training.
  • Trains the disentangled components in isolation to analyze their individual visual learning behaviors.
  • Replaces standard non-local blocks with the DNL block in existing models without architectural changes, enabling direct comparison.
  • Uses ablation studies to verify that decoupling improves feature learning and model performance.
  • Applies the DNL block to state-of-the-art models like Mask R-CNN and Slow-only networks for object detection and action recognition.

Experimental results

Research questions

  • RQ1How do the pairwise and unary components of the non-local block contribute to visual representation learning when isolated?
  • RQ2Why does the joint optimization of pairwise and unary terms in the standard non-local block hinder feature learning?
  • RQ3Can decoupling these terms lead to better learning of within-region relationships and salient boundaries?
  • RQ4Does the disentangled design improve performance across diverse vision tasks such as semantic segmentation, object detection, and action recognition?

Key findings

  • The whitened pairwise term alone learns clear within-region relationships, while the unary term alone learns salient boundaries, indicating distinct visual clues.
  • When coupled in the standard non-local block, both terms fail to learn clear visual patterns, and the model performs worse than the unary-only variant.
  • On Cityscapes, replacing the standard non-local block with DNL yields a 2.0% mIoU gain using a ResNet-101 backbone.
  • On ADE20K, the DNL block achieves a 1.3% mIoU improvement over the standard non-local block, setting a new SOTA with minimal modifications.
  • On PASCAL-Context, the DNL block improves mIoU by 3.4% over the standard non-local block using ResNet-101.
  • On COCO, the DNL block achieves 0.7% higher bbox mAP and 0.6% higher mask mAP than the standard non-local block, with gains of 0.7% and 0.6% respectively.

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.