Skip to main content
QUICK REVIEW

[Paper Review] Improving Object Detection with Inverted Attention

Zeyi Huang, Wei Ke|arXiv (Cornell University)|Mar 28, 2019
Advanced Neural Network ApplicationsComputer Science17 references6 citations
TL;DR

This paper proposes Inverted Attention (IA), a lightweight training module that enhances object detectors by iteratively inverting attention across spatial and channel dimensions of feature maps using gradient-based feedback. Without extra parameters or inference overhead, IA improves robustness to occlusion, blur, and noise, achieving consistent mAP gains of up to 5.4% on PASCAL VOC2012 and 2.1% on COCO2017 across two-stage and single-stage detectors.

ABSTRACT

Improving object detectors against occlusion, blur and noise is a critical step to deploy detectors in real applications. Since it is not possible to exhaust all image defects through data collection, many researchers seek to generate hard samples in training. The generated hard samples are either images or feature maps with coarse patches dropped out in the spatial dimensions. Significant overheads are required in training the extra hard samples and/or estimating drop-out patches using extra network branches. In this paper, we improve object detectors using a highly efficient and fine-grain mechanism called Inverted Attention (IA). Different from the original detector network that only focuses on the dominant part of objects, the detector network with IA iteratively inverts attention on feature maps and puts more attention on complementary object parts, feature channels and even context. Our approach (1) operates along both the spatial and channels dimensions of the feature maps; (2) requires no extra training on hard samples, no extra network parameters for attention estimation, and no testing overheads. Experiments show that our approach consistently improved both two-stage and single-stage detectors on benchmark databases.

Motivation & Objective

  • To improve object detector robustness against real-world image defects such as occlusion, blur, and noise, which are difficult to capture exhaustively in training data.
  • To address the limitations of existing methods—like hard sample generation and attention estimation—that require extra training data, parameters, or inference overhead.
  • To develop a mechanism that enhances feature diversity during training by encouraging attention to complementary object parts, channels, and context.
  • To enable consistent performance gains across both two-stage and single-stage detectors without architectural modifications or inference cost.

Proposed method

  • IA operates during back-propagation by computing gradients of the feature maps with respect to classification scores from the backbone network.
  • It inverts attention by iteratively flipping the gradient-based attention maps across both spatial and channel dimensions of the feature maps.
  • The attention inversion is applied only during training, preserving inference efficiency and requiring no additional network parameters.
  • The method is integrated into standard detectors like Faster R-CNN and SSD by modifying the training loop to include gradient-based attention inversion.
  • The module is applied at the ROI feature map level for two-stage detectors and across full feature maps for single-stage detectors.
  • The process encourages the network to focus on previously neglected object parts, channels, and contextual features, improving feature diversity.

Experimental results

Research questions

  • RQ1Can a lightweight, parameter-free training module improve object detector robustness to image defects like occlusion and blur?
  • RQ2Does inverting attention during back-propagation across spatial and channel dimensions lead to more comprehensive feature learning?
  • RQ3Can such a mechanism improve performance on both two-stage and single-stage detectors without adding inference cost?
  • RQ4How does IA compare to hard sample generation and attention estimation in terms of performance and training overhead?
  • RQ5Does IA improve detection performance on small, medium, and large objects across different datasets?

Key findings

  • On PASCAL VOC2012 with ResNet101, IA improved Faster R-CNN’s mAP from 73.8% to 79.2%, a 5.4% absolute gain.
  • On COCO2017, IA increased mAP from 35.5% to 35.5% for Faster R-CNN with ResNet101, and from 28.8% to 29.6% for SSD512 with VGG16.
  • For Faster R-CNN with VGG16 on VOC2007, IA improved mAP from 69.1% to 71.6%, a 2.5% relative improvement.
  • IA consistently improved detection performance across 19 object categories on VOC2012 and 14 categories on COCO2017, demonstrating broad applicability.
  • The method improved performance on medium and large objects in Faster R-CNN and small/medium objects in SSD512, indicating context-aware feature learning.
  • Visualizations show that IA-trained networks attend to more comprehensive object regions and features, reducing over-reliance on dominant parts.

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.