[Paper Review] Should I Look at the Head or the Tail? Dual-awareness Attention for Few-Shot Object Detection.
This paper proposes Dual-Awareness-Attention (DAnA), a novel attention mechanism that models cross-image spatial relationships between support and query images in few-shot object detection (FSOD), improving robustness to spatial misalignment. DAnA enhances existing detectors like Faster R-CNN and RetinaNet, achieving state-of-the-art performance with 48% and 125% relative gains on COCO.
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, neglect the problem of spatial misalignment and the risk of information entanglement, and result in low performance. Observing this, we propose a novel Dual-Awareness-Attention (DAnA), which captures the pairwise spatial relationship cross the support and query images. The generated query-position-aware support features are robust to spatial misalignment and used to guide the detection network precisely. Our DAnA component is adaptable to various existing object detection networks and boosts FSOD performance by paying attention to specific semantics conditioned on the query. Experimental results demonstrate that DAnA significantly boosts (48% and 125% relatively) object detection performance on the COCO benchmark. By equipping DAnA, conventional object detection models, Faster-RCNN and RetinaNet, which are not designed explicitly for few-shot learning, reach state-of-the-art performance.
Motivation & Objective
- Address the challenge of spatial misalignment and information entanglement in few-shot object detection (FSOD), which hinders performance despite advances in few-shot classification (FSC).
- Overcome the limitations of existing FSOD methods that naively adapt FSC approaches without accounting for spatial relationships between support and query images.
- Develop a general-purpose attention module that enhances existing object detection networks without requiring architectural redesign for few-shot learning.
- Improve detection accuracy by generating query-position-aware support features that are robust to spatial variations and guide detection more precisely.
Proposed method
- Propose Dual-Awareness-Attention (DAnA), an attention mechanism that explicitly models pairwise spatial relationships between features in support and query images.
- Generate query-position-aware support features by attending to query image features, enabling the model to adapt support features based on the spatial context of the query.
- Integrate DAnA as a plug-in module into existing detection heads (e.g., Faster R-CNN, RetinaNet), allowing it to be used with standard detectors without architectural changes.
- Use cross-attention mechanisms to compute attention weights that align support features with the spatial position of the query, reducing sensitivity to spatial misalignment.
- Condition the attention mechanism on both the query image’s spatial layout and semantic content, enabling selective focus on relevant support regions.
- Train the model end-to-end with standard detection loss, while DAnA learns to refine feature representations through attention supervision.
Experimental results
Research questions
- RQ1Can modeling cross-image spatial relationships between support and query images improve few-shot object detection performance?
- RQ2Does a query-position-aware attention mechanism reduce the negative impact of spatial misalignment in FSOD?
- RQ3Can a general-purpose attention module like DAnA be effectively integrated into standard object detectors to achieve state-of-the-art FSOD performance?
- RQ4To what extent does DAnA improve detection accuracy on standard benchmarks like COCO compared to existing FSOD methods?
Key findings
- DAnA significantly improves few-shot object detection performance on the COCO benchmark, achieving a 48% relative gain over baseline Faster R-CNN.
- When applied to RetinaNet, DAnA achieves a 125% relative improvement in detection performance, demonstrating strong generalization across architectures.
- The integration of DAnA into standard detectors without architectural modification leads to state-of-the-art results, proving its effectiveness and adaptability.
- The proposed method effectively mitigates the issue of spatial misalignment by learning query-conditioned attention over support features.
- DAnA enhances feature representation by reducing information entanglement, leading to more precise object localization and classification.
- The ablation study confirms that both spatial and semantic awareness in attention are crucial for performance gains, validating the dual-awareness design.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.