Skip to main content
QUICK REVIEW

[Paper Review] Semantic Segmentation with Reverse Attention

Qin Huang, Chunyang Xia|arXiv (Cornell University)|Jul 20, 2017
Domain Adaptation and Few-Shot LearningComputer Science16 citations
TL;DR

This paper proposes the Reverse Attention Network (RAN), a three-branch fully convolutional network that enhances semantic segmentation by explicitly learning both positive (target class) and negative (non-target class) features through reverse learning. By introducing a reverse attention mechanism that amplifies responses in ambiguous regions, RAN achieves state-of-the-art performance, attaining 48.1% mean IoU on the PASCAL-Context dataset and consistent improvements across PASCAL VOC, NYUDv2, Person-Part, and ADE20K datasets.

ABSTRACT

Recent development in fully convolutional neural network enables efficient end-to-end learning of semantic segmentation. Traditionally, the convolutional classifiers are taught to learn the representative semantic features of labeled semantic objects. In this work, we propose a reverse attention network (RAN) architecture that trains the network to capture the opposite concept (i.e., what are not associated with a target class) as well. The RAN is a three-branch network that performs the direct, reverse and reverse-attention learning processes simultaneously. Extensive experiments are conducted to show the effectiveness of the RAN in semantic segmentation. Being built upon the DeepLabv2-LargeFOV, the RAN achieves the state-of-the-art mIoU score (48.1%) for the challenging PASCAL-Context dataset. Significant performance improvements are also observed for the PASCAL-VOC, Person-Part, NYUDv2 and ADE20K datasets.

Motivation & Objective

  • To address the limitation of existing semantic segmentation networks that focus only on learning features associated with target classes, leading to confusion in boundary regions.
  • To improve segmentation accuracy in complex regions where object responses are weak due to overlapping or similar visual patterns.
  • To explicitly teach the network to distinguish between target and non-target classes by learning the 'opposite' concept.
  • To enhance feature discrimination in ambiguous spatial regions through a novel reverse attention mechanism.
  • To achieve state-of-the-art performance on multiple benchmark datasets using a modified DeepLabv2-LargeFOV backbone.

Proposed method

  • The RAN architecture consists of three parallel branches: a direct-branch for standard segmentation of the target class, a reverse-branch for learning features not associated with the target class, and a reverse-attention branch that applies a learnable attention mask to amplify weak responses in ambiguous regions.
  • The reverse-attention branch uses a sigmoid-activated mask to focus on local regions with low confidence or high ambiguity, improving response differentiation.
  • The network is trained end-to-end using cross-entropy loss on all three branches, with feature maps from all branches fused for final prediction.
  • The method is built upon DeepLabv2-LargeFOV with ResNet-101, leveraging dilated convolutions and multi-scale context aggregation.
  • A per-class reverse attention mask is generated to selectively enhance responses in regions where the target object is visually similar to background or other objects.
  • The final segmentation output is obtained by fusing predictions from all three branches, combining both positive and negative knowledge for improved localization.

Experimental results

Research questions

  • RQ1Can learning the 'opposite' of a target class improve semantic segmentation performance in ambiguous or boundary regions?
  • RQ2Does a dedicated reverse attention mechanism that amplifies weak responses in confusing spatial patterns lead to better segmentation accuracy?
  • RQ3Can explicit modeling of non-target features reduce confusion between similar classes or between objects and background?
  • RQ4Does the integration of reverse learning with standard semantic learning lead to consistent performance gains across diverse datasets?
  • RQ5Can the RAN architecture achieve state-of-the-art performance on challenging benchmarks like PASCAL-Context, PASCAL VOC, NYUDv2, and ADE20K?

Key findings

  • RAN achieves a state-of-the-art mean IoU of 48.1% on the PASCAL-Context dataset, significantly outperforming the baseline DeepLabv2-LargeFOV.
  • On the PASCAL VOC2012 dataset, RAN improves the baseline by 1.4% in mean IoU, with a final score of 80.5% for RAN-s and 80.4% for RAN-n.
  • On the NYUDv2 dataset, RAN improves the baseline DeepLabv2-LargeFOV by approximately 3.9 percentage points, reaching 41.2% mean IoU for RAN-s and 40.7% for RAN-n.
  • On the ADE20K dataset, RAN achieves a mean IoU of 35.2% (RAN-s) and 35.3% (RAN-n), representing a ~2% improvement over the baseline DeepLabv2-LargeFOV.
  • Qualitative results on NYUDv2 show that RAN produces sharper and more accurate predictions, especially in complex indoor scenes with overlapping objects.
  • The ablation study confirms that the reverse attention mechanism significantly contributes to performance gains, particularly in regions with low response confidence.

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.