Skip to main content
QUICK REVIEW

[Paper Review] Few-Shot Object Detection via Association and DIscrimination

Yuhang Cao, Jiaqi Wang|arXiv (Cornell University)|Nov 23, 2021
Advanced Neural Network ApplicationsComputer Science24 citations
TL;DR

This paper proposes FADI, a two-stage fine-tuning framework for few-shot object detection that improves feature space compactness and inter-class separability. By explicitly associating novel classes with semantically similar base classes and disentangling classification branches with a set-specialized margin loss, FADI achieves state-of-the-art performance, improving baseline methods by up to +18.7 mAP, especially in 1- and 3-shot settings.

ABSTRACT

Object detection has achieved substantial progress in the last decade. However, detecting novel classes with only few samples remains challenging, since deep learning under low data regime usually leads to a degraded feature space. Existing works employ a holistic fine-tuning paradigm to tackle this problem, where the model is first pre-trained on all base classes with abundant samples, and then it is used to carve the novel class feature space. Nonetheless, this paradigm is still imperfect. Durning fine-tuning, a novel class may implicitly leverage the knowledge of multiple base classes to construct its feature space, which induces a scattered feature space, hence violating the inter-class separability. To overcome these obstacles, we propose a two-step fine-tuning framework, Few-shot object detection via Association and DIscrimination (FADI), which builds up a discriminative feature space for each novel class with two integral steps. 1) In the association step, in contrast to implicitly leveraging multiple base classes, we construct a compact novel class feature space via explicitly imitating a specific base class feature space. Specifically, we associate each novel class with a base class according to their semantic similarity. After that, the feature space of a novel class can readily imitate the well-trained feature space of the associated base class. 2) In the discrimination step, to ensure the separability between the novel classes and associated base classes, we disentangle the classification branches for base and novel classes. To further enlarge the inter-class separability between all classes, a set-specialized margin loss is imposed. Extensive experiments on Pascal VOC and MS-COCO datasets demonstrate FADI achieves new SOTA performance, significantly improving the baseline in any shot/split by +18.7. Notably, the advantage is most announced on extremely few-shot scenarios.

Motivation & Objective

  • To address the degraded feature space and poor inter-class separability in few-shot object detection under low-data regimes.
  • To overcome the limitations of holistic fine-tuning, where novel classes implicitly leverage multiple base classes, causing scattered intra-class feature structures.
  • To build a compact, discriminative feature space for each novel class through explicit association with a single base class.
  • To enhance separability between novel and base classes by disentangling classification heads and applying a set-specialized margin loss.
  • To achieve state-of-the-art performance on standard benchmarks, particularly in extreme few-shot scenarios (1- and 3-shot).

Proposed method

  • In the association step, each novel class is linked to a semantically similar base class using a semantic similarity metric, enabling the novel class to imitate the well-structured feature space of its associated base class.
  • In the discrimination step, the classification branches for base and novel classes are disentangled to reduce ambiguity and improve decision boundary clarity.
  • A set-specialized margin loss is introduced, with separate margins for base, novel, and negative classes, to maximize inter-class separability.
  • The loss components are parameterized with α, β, γ, where β is set to 1/K for shot K to adaptively scale margin magnitude based on data availability.
  • The framework is trained in two dedicated stages: first association, then discrimination, with hyperparameters tuned via ablation on validation splits.
  • The method is evaluated on Pascal VOC and MS-COCO datasets using standard few-shot splits, with mAP as the primary metric.

Experimental results

Research questions

  • RQ1Can explicit association with a single base class improve intra-class compactness and reduce feature scattering in few-shot object detection?
  • RQ2Does disentangling classification heads for base and novel classes enhance inter-class separability and reduce confusion?
  • RQ3Can a set-specialized margin loss with adaptive scaling improve generalization in low-shot settings?
  • RQ4How does FADI perform compared to existing fine-tuning and meta-learning baselines across different shot settings?
  • RQ5To what extent does FADI mitigate base class forgetting while improving novel class detection accuracy?

Key findings

  • FADI achieves a +18.7 mAP improvement over the TFA baseline across all shot settings on Pascal VOC and MS-COCO.
  • On Pascal VOC novel split-1, FADI achieves 50.3 mAP at 1-shot, 54.8 mAP at 2-shot, and 54.2 mAP at 3-shot, significantly outperforming prior SOTA methods.
  • The method improves performance by 2.5, 4.3, and 2.8 mAP over the previous SOTA at 1-, 2-, and 3-shot on split-1, respectively.
  • On split-3, FADI achieves 59.3 mAP at 5-shot, a 5.6-point improvement over the previous SOTA at the same shot setting.
  • The ablation study confirms that the novel margin (β) contributes most to performance gain, with β=1/K yielding optimal results across shot settings.
  • FADI shows minimal base class forgetting, with only a 1.3-point drop in base AP50 compared to TFA, while improving novel class AP50 by 10.5 points on average.

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.