Skip to main content
QUICK REVIEW

[Paper Review] Attentive Contexts for Object Detection

Jianan Li, Yunchao Wei|arXiv (Cornell University)|Mar 24, 2016
Advanced Neural Network ApplicationsComputer Science4 citations
TL;DR

This paper proposes AC-CNN, a novel object detection framework that enhances region-based CNNs like Fast R-CNN by integrating both global and local contextual features through attention mechanisms. It uses a stacked LSTM-based attention network to highlight useful global context and a multi-scale contextualization module to enrich features around proposals, achieving a 2.0% and 2.2% mAP gain over Fast R-CNN on PASCAL VOC 2007 and 2012, respectively.

ABSTRACT

Modern deep neural network based object detection methods typically classify candidate proposals using their interior features. However, global and local surrounding contexts that are believed to be valuable for object detection are not fully exploited by existing methods yet. In this work, we take a step towards understanding what is a robust practice to extract and utilize contextual information to facilitate object detection in practice. Specifically, we consider the following two questions: "how to identify useful global contextual information for detecting a certain object?" and "how to exploit local context surrounding a proposal for better inferring its contents?". We provide preliminary answers to these questions through developing a novel Attention to Context Convolution Neural Network (AC-CNN) based object detection model. AC-CNN effectively incorporates global and local contextual information into the region-based CNN (e.g. Fast RCNN) detection model and provides better object detection performance. It consists of one attention-based global contextualized (AGC) sub-network and one multi-scale local contextualized (MLC) sub-network. To capture global context, the AGC sub-network recurrently generates an attention map for an input image to highlight useful global contextual locations, through multiple stacked Long Short-Term Memory (LSTM) layers. For capturing surrounding local context, the MLC sub-network exploits both the inside and outside contextual information of each specific proposal at multiple scales. The global and local context are then fused together for making the final decision for detection. Extensive experiments on PASCAL VOC 2007 and VOC 2012 well demonstrate the superiority of the proposed AC-CNN over well-established baselines. In particular, AC-CNN outperforms the popular Fast-RCNN by 2.0% and 2.2% on VOC 2007 and VOC 2012 in terms of mAP, respectively.

Motivation & Objective

  • To investigate how to effectively identify and utilize both global and local contextual information for improved object detection.
  • To address the limitation of existing methods that rely solely on internal proposal features, which may be insufficient for detecting small, occluded, or low-resolution objects.
  • To develop a unified deep learning framework that integrates attention-based global context modeling with multi-scale local context enrichment.
  • To demonstrate that context-aware feature learning significantly improves detection performance, especially for challenging object categories.

Proposed method

  • The AC-CNN framework consists of two main sub-networks: an Attention-based Global Contextualized (AGC) network and a Multi-scale Local Contextualized (MLC) network.
  • The AGC sub-network uses stacked Long Short-Term Memory (LSTM) layers to iteratively generate an attention map that highlights salient global contextual regions in the input image.
  • Global context features are then computed by selectively aggregating feature maps based on the attention map, focusing on relevant background and co-occurring objects.
  • The MLC sub-network enhances each proposal by extracting and fusing contextual features from inside and outside the proposal at multiple scales using pre-defined scaling ratios.
  • The global and local context features are concatenated and fed into the final classification and bounding box regression heads for detection.
  • The model is trained using a multi-task loss function that jointly optimizes for classification and localization, with global context excluded from bounding box regression to preserve localization accuracy.

Experimental results

Research questions

  • RQ1How can useful global contextual information be automatically identified and highlighted for object detection?
  • RQ2How can local contextual information both inside and outside a proposal be effectively captured and integrated at multiple scales?
  • RQ3What is the impact of combining global and local context on object detection performance, especially for small or occluded objects?
  • RQ4Why does incorporating global context degrade bounding box regression performance, and how can this be mitigated?

Key findings

  • AC-CNN achieves a 2.0% mAP improvement over Fast R-CNN on the PASCAL VOC 2007 test set, with a 2.2% gain on VOC 2012.
  • The model significantly reduces false positives for challenging categories such as 'bottle', 'pottedplant', and 'chair', with a 5% improvement in detection accuracy for these classes.
  • Excluding global context from bounding box regression yields a 0.1% mAP improvement, confirming that global context can interfere with precise localization.
  • Visual analysis shows that the attention mechanism successfully highlights semantically relevant background regions, such as roads or people, that support object classification.
  • The model demonstrates superior performance on small objects and occluded instances, as shown in qualitative results where AC-CNN detects objects missed by Fast R-CNN.
  • The multi-scale local context module contributes to better feature representation, particularly for objects with complex or partial appearances.

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.