Skip to main content
QUICK REVIEW

[Paper Review] Dual-Awareness Attention for Few-Shot Object Detection

Tung-I Chen, Yueh-Cheng Liu|arXiv (Cornell University)|Feb 24, 2021
Domain Adaptation and Few-Shot LearningComputer Science54 references9 citations
TL;DR

This paper proposes Dual-Awareness Attention (DAnA), a novel attention mechanism that enhances few-shot object detection by enabling query-position-aware (QPA) feature adaptation from support images. DAnA combines Background Attenuation (BA) to suppress noisy features and Cross-Image Spatial Attention (CISA) to model spatial correspondence across support and query regions, achieving state-of-the-art performance with a 6.9 AP gain over prior methods on COCO.

ABSTRACT

While recent progress has significantly boosted few-shot classification (FSC) performance, few-shot object detection (FSOD) remains challenging for modern learning systems. Existing FSOD systems follow FSC approaches, ignoring critical issues such as spatial variability and uncertain representations, and consequently result in low performance. Observing this, we propose a novel extbf{Dual-Awareness Attention (DAnA)} mechanism that enables networks to adaptively interpret the given support images. DAnA transforms support images into extbf{query-position-aware} (QPA) features, guiding detection networks precisely by assigning customized support information to each local region of the query. In addition, the proposed DAnA component is flexible and adaptable to multiple existing object detection frameworks. By adopting DAnA, conventional object detection networks, Faster R-CNN and RetinaNet, which are not designed explicitly for few-shot learning, reach state-of-the-art performance in FSOD tasks. In comparison with previous methods, our model significantly increases the performance by 47\% (+6.9 AP), showing remarkable ability under various evaluation settings.

Motivation & Objective

  • To address the limitations of existing few-shot object detection (FSOD) methods that underperform on both base and novel classes due to spatial misalignment and feature uncertainty.
  • To develop a flexible attention mechanism that enhances feature representation from few support images without modifying the backbone of existing detectors.
  • To improve detection performance by preserving spatial relationships and reducing uncertainty in support feature aggregation.
  • To enable two-stage and one-stage detectors like Faster R-CNN and RetinaNet to achieve state-of-the-art FSOD performance without architectural redesign.

Proposed method

  • Proposes Background Attenuation (BA), which models high-level features as wave patterns along the channel dimension, suppressing features with dissimilar wave patterns as noise.
  • Introduces Cross-Image Spatial Attention (CISA), which generates query-position-aware (QPA) vectors by measuring similarity between query regions and support features to guide detection.
  • Uses feature concatenation to combine QPA vectors with query features, enabling localized, class-specific attention without element-wise operations.
  • Applies BA and CISA in a modular fashion, making DAnA compatible with both two-stage (e.g., Faster R-CNN) and one-stage (e.g., RetinaNet) object detection frameworks.
  • Employs a multi-support feature aggregation strategy using QPA vectors to reduce uncertainty compared to simple average pooling.
  • Leverages RPN as a critical component to maintain detection quality, showing that RPN is indispensable for DAnA’s performance.

Experimental results

Research questions

  • RQ1Can spatial misalignment and feature uncertainty in few-shot object detection be mitigated by a learnable attention mechanism that preserves local and spatial relationships?
  • RQ2Does transforming support features into query-position-aware representations improve detection accuracy compared to global average pooling or standard attention?
  • RQ3Can a dual-module attention mechanism (BA and CISA) outperform general soft attention or baseline feature fusion in few-shot detection?
  • RQ4Is the proposed DAnA mechanism effective across different detection architectures, including both two-stage and one-stage detectors?
  • RQ5Does the use of RPN significantly enhance the performance of DAnA, and is it essential for achieving state-of-the-art results?

Key findings

  • DAnA achieves a 6.9 AP improvement over previous state-of-the-art methods on the COCO few-shot object detection benchmark, demonstrating a significant performance boost.
  • The ablation study confirms that CISA significantly improves performance by enabling query-position-aware feature adaptation, outperforming simple mean pooling of support features.
  • Background Attenuation (BA) is more effective than general soft attention in suppressing noise, as shown by a 1.5 AP gain in ablation experiments.
  • Concatenating QPA vectors with query features yields better results than element-wise multiplication, indicating that feature fusion strategy matters for attention integration.
  • The removal of RPN leads to a significant performance drop, proving that RPN is essential for DAnA to achieve optimal detection performance.
  • Visualizations confirm that CISA successfully captures semantic correspondence between query and support images, such as heads or limbs of animals, even in complex scenes.

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.