Skip to main content
QUICK REVIEW

[Paper Review] DeFRCN: Decoupled Faster R-CNN for Few-Shot Object Detection

Limeng Qiao, Yuxuan Zhao|arXiv (Cornell University)|Aug 20, 2021
Advanced Neural Network ApplicationsComputer Science57 references17 citations
TL;DR

DeFRCN proposes a decoupled Faster R-CNN architecture for few-shot object detection, introducing Gradient Decoupled Layers (GDL) to decouple feature flow between backbone, RPN, and RCNN, and a Prototypical Calibration Block (PCB) to refine classification scores using prototype-based pairwise scores. The method achieves state-of-the-art performance on COCO few-shot benchmarks, outperforming prior approaches by significant margins.

ABSTRACT

Few-shot object detection, which aims at detecting novel objects rapidly from extremely few annotated examples of previously unseen classes, has attracted significant research interest in the community. Most existing approaches employ the Faster R-CNN as basic detection framework, yet, due to the lack of tailored considerations for data-scarce scenario, their performance is often not satisfactory. In this paper, we look closely into the conventional Faster R-CNN and analyze its contradictions from two orthogonal perspectives, namely multi-stage (RPN vs. RCNN) and multi-task (classification vs. localization). To resolve these issues, we propose a simple yet effective architecture, named Decoupled Faster R-CNN (DeFRCN). To be concrete, we extend Faster R-CNN by introducing Gradient Decoupled Layer for multi-stage decoupling and Prototypical Calibration Block for multi-task decoupling. The former is a novel deep layer with redefining the feature-forward operation and gradient-backward operation for decoupling its subsequent layer and preceding layer, and the latter is an offline prototype-based classification model with taking the proposals from detector as input and boosting the original classification scores with additional pairwise scores for calibration. Extensive experiments on multiple benchmarks show our framework is remarkably superior to other existing approaches and establishes a new state-of-the-art in few-shot literature.

Motivation & Objective

  • To address the performance limitations of standard Faster R-CNN in few-shot object detection due to conflicting optimization objectives across stages and tasks.
  • To resolve the multi-stage conflict between RPN and RCNN in end-to-end training by decoupling gradient flow through learnable layers.
  • To mitigate the multi-task conflict between classification and localization by decoupling their optimization via a calibration module.
  • To improve generalization and robustness in data-scarce scenarios using a pre-trained classifier and novel support prototypes.
  • To establish a simple yet effective framework that outperforms both meta-learning and fine-tuning baselines in few-shot detection.

Proposed method

  • Introduces Gradient Decoupled Layers (GDL) that apply learnable affine transformations to forward features and scale backward gradients with a learnable parameter λ, enabling controlled decoupling between backbone and subsequent modules.
  • Deploys GDL between the backbone and RPN, and between the backbone and RCNN, to decouple multi-stage optimization and reduce interference between stages.
  • Proposes a Prototypical Calibration Block (PCB) that takes region proposals as input and enhances original classification scores using pairwise similarity scores computed between proposals and pre-computed class prototypes.
  • Uses a pre-trained ImageNet classifier to initialize the PCB, enabling zero-shot generalization to novel classes not seen during pretraining.
  • Calibrates final classification scores by combining original softmax outputs with prototype-based pairwise scores, improving confidence and accuracy on few-shot samples.
  • Employs a two-stage fine-tuning strategy with GDL and PCB, maintaining backbone weights while fine-tuning only the detection head and calibration components.

Experimental results

Research questions

  • RQ1How does end-to-end joint optimization in standard Faster R-CNN hinder few-shot object detection due to conflicting objectives between RPN and RCNN?
  • RQ2To what extent can decoupling gradient flow between stages improve feature representation and detection accuracy in low-data regimes?
  • RQ3Can a prototype-based calibration module improve classification performance without retraining the main detector head?
  • RQ4How effective is the proposed method in cross-domain and few-shot detection scenarios compared to existing SOTA approaches?
  • RQ5Does the use of pre-trained models with novel prototypes enable zero-shot generalization to unseen classes in few-shot detection?

Key findings

  • DeFRCN achieves state-of-the-art performance on the COCO 10-shot few-shot object detection benchmark, outperforming prior methods by a significant margin.
  • The addition of GDL improves mAP by +2.8% on the Cityscapes-to-FoggyCityscapes cross-domain detection task, demonstrating generalization beyond few-shot detection.
  • The Prototypical Calibration Block successfully boosts classification scores even for novel classes not present in ImageNet 1K, as shown by visualization of activation maps on unseen categories.
  • Visualizations confirm that different prototypes activate distinct regions in feature maps, validating the effectiveness of the pairwise score mechanism in data-scarce settings.
  • Experiments show that λ values between 1 and 5 degrade performance due to overfitting and unstable optimization, with optimal performance achieved at λ ∈ [0,1].
  • The method achieves strong results on both few-shot object detection and cross-domain detection, indicating broad applicability beyond few-shot scenarios.

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.