Skip to main content
QUICK REVIEW

[Paper Review] Dense Relation Distillation with Context-aware Aggregation for Few-Shot Object Detection

Hanzhe Hu, Shuai Bai|arXiv (Cornell University)|Mar 30, 2021
Advanced Neural Network ApplicationsComputer Science33 references14 citations
TL;DR

This paper proposes DCNet, a novel few-shot object detection framework that enhances feature learning through dense relation distillation (DRD) and context-aware feature aggregation (CFA). DRD enables pixel-wise matching between query and support features to preserve fine-grained details, while CFA adaptively fuses multi-scale RoI features using attention. The method achieves state-of-the-art performance on PASCAL VOC and MS COCO benchmarks.

ABSTRACT

Conventional deep learning based methods for object detection require a large amount of bounding box annotations for training, which is expensive to obtain such high quality annotated data. Few-shot object detection, which learns to adapt to novel classes with only a few annotated examples, is very challenging since the fine-grained feature of novel object can be easily overlooked with only a few data available. In this work, aiming to fully exploit features of annotated novel object and capture fine-grained features of query object, we propose Dense Relation Distillation with Context-aware Aggregation (DCNet) to tackle the few-shot detection problem. Built on the meta-learning based framework, Dense Relation Distillation module targets at fully exploiting support features, where support features and query feature are densely matched, covering all spatial locations in a feed-forward fashion. The abundant usage of the guidance information endows model the capability to handle common challenges such as appearance changes and occlusions. Moreover, to better capture scale-aware features, Context-aware Aggregation module adaptively harnesses features from different scales for a more comprehensive feature representation. Extensive experiments illustrate that our proposed approach achieves state-of-the-art results on PASCAL VOC and MS COCO datasets. Code will be made available at https://github.com/hzhupku/DCNet.

Motivation & Objective

  • To address the challenge of limited annotated data in few-shot object detection, where models struggle to generalize from only a few examples.
  • To overcome the loss of local context and discriminative features due to global pooling in existing meta-learning methods.
  • To mitigate scale variation issues in few-shot detection that lead to overfitting when modifying feature extractors.
  • To improve feature representation by fully exploiting support set information and capturing scale-aware contextual cues.

Proposed method

  • The dense relation distillation (DRD) module performs pixel-wise matching between query and support features using key and value maps to encode visual semantics and detailed appearance information.
  • DRD replaces global pooling with dense feature matching, enabling the model to leverage fine-grained local features for better generalization under low-shot conditions.
  • The context-aware feature aggregation (CFA) module uses three different RoI pooling resolutions to capture multi-scale contextual information.
  • An attention mechanism is applied to adaptively fuse features from different scales, balancing contributions and preserving critical context for diverse object sizes.
  • The framework is built on a meta-learning-based detection backbone, integrating DRD and CFA as plug-in modules without requiring class-specific adaptation.
  • The model is trained end-to-end with standard detection loss, and inference is performed in a single forward pass using support features as context.

Experimental results

Research questions

  • RQ1Can dense, pixel-wise matching between query and support features improve few-shot object detection by preserving local and discriminative features?
  • RQ2How does multi-scale feature aggregation with adaptive attention improve detection robustness across varying object sizes in low-shot scenarios?
  • RQ3Does replacing global pooling with dense relation distillation lead to significant performance gains, especially in extreme low-shot settings?
  • RQ4To what extent does context-aware feature aggregation reduce overfitting and improve generalization on both base and novel classes?

Key findings

  • The dense relation distillation (DRD) module achieves consistent performance gains across all shot settings on PASCAL VOC, with the largest improvements observed in low-shot regimes.
  • The context-aware feature aggregation (CFA) module significantly boosts performance by preserving scale-aware contextual information, reducing false positives and missing detections.
  • Using three different RoI pooling resolutions and an attention-based fusion mechanism yields the best performance, outperforming single-resolution baselines.
  • The ablation study confirms that both DRD and CFA modules are essential, with their combination achieving state-of-the-art results on PASCAL VOC and MS COCO.
  • On MS COCO, DCNet achieves SOTA performance in most metrics across 10/30-shot setups, demonstrating strong generalization on a large-scale, complex dataset.
  • Visualizations show that DRD enhances query feature activation and enables joint, class-agnostic relation modeling across all classes simultaneously.

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.