Few-Shot Object Detection with Proposal Balance Refinement

Sueyeon Kim, Woo-Jeoung Nam, Seong-Whan LeearXiv 2022

TL;DR

Most few-shot object detection methods focus on improving how models classify objects, but they often neglect how they locate them. This paper introduces Proposal Balance Refinement, a multi-stage approach that fixes the "proposal imbalance" problem—where novel classes suffer from a lack of high-quality bounding box candidates—leading to significant performance gains on standard benchmarks.

What Problem Does This Paper Address?

Object detection is a two-part challenge: you have to identify what an object is (classification) and where it is (localization). In the "few-shot" setting, where a model only sees a handful of examples for new classes, most researchers focus on the "what." They try to create better feature embeddings so the model doesn't confuse a new class (like a "bus") with a known one (like a "car").

However, the authors of this paper noticed a hidden bottleneck: Proposal Imbalance. In popular two-stage detectors, a Region Proposal Network (RPN) suggests potential boxes, which are then refined. Standard few-shot techniques freeze the RPN to prevent it from "forgetting" base classes. The result? The RPN produces far fewer and much lower-quality proposals for new classes compared to the ones it was originally trained on.

As shown in Figure 2, there is a massive gap in the quality of proposals between base training and novel fine-tuning. For novel classes, the number of high-quality proposals (those with an Intersection over Union (IoU) > 0.9) drops to just 8.4% of the low-quality ones.

![Fig.

  1. Imbalanced intersection-over-union (IoU) distribution under the few-shot setting.](/figures/art_2050d81bceb14b1ca13f0478a1e98ffd)

Methods

The authors propose two main interventions to restore balance:

  1. Sequential Proposal Balance Refinement (PBR): Instead of a single refinement step, the model uses three sequential stages with increasing IoU thresholds ($\alpha = 0.5, 0.6, 0.7$). Each stage takes the output of the previous one and refines it further. This "resampling" process ensures the model sees enough high-quality positive samples for novel classes, preventing it from overfitting to sloppy, low-quality boxes.
  2. Revised RPN Fine-tuning: Rather than freezing the RPN entirely, the authors jointly update it during the novel class fine-tuning stage. To prevent the model from forgetting what it already knows, they use a scaled loss coefficient ($\gamma_{rpn} = 0.5$). This allows the RPN to learn the "objectness" of new classes without corrupting the existing feature space.

The overall architecture, illustrating these stages and the flow of regressed bounding boxes, is detailed in Figure 3.

![Fig.

  1. An overall architecture of our approach.](/figures/art_41a7d8806648493fb3c2bd3405dd9cd0)

Datasets

The model was evaluated on two gold-standard computer vision benchmarks:

  • PASCAL VOC: Using three different splits of 15 base classes and 5 novel classes, tested at 1, 2, 3, 5, and 10-shot settings.
  • MS COCO: A more challenging dataset used for cross-domain evaluation (training on COCO base classes and testing on PASCAL VOC novel classes).

Key Insights and Ideas

  • Localization is a First-Class Citizen: Few-shot detection isn't just a classification problem. If your RPN can't find the object accurately, even the best classifier in the world will fail because it's looking at the wrong pixels.
  • The Quality Death Spiral: Freezing the RPN creates a vicious cycle. The RPN provides poor proposals $\rightarrow$ the classifier/regressor overfits to these poor proposals $\rightarrow$ the final detection quality remains low.
  • Successive Refinement Works: By gradually increasing the IoU threshold across stages, the model effectively "trains itself" to recognize higher-quality overlaps, shifting the distribution of novel class proposals to look more like the healthy distribution of base classes (see Figure 4).

![Fig.

  1. Improvement of IoU distribution at each stage.](/figures/art_98db10a11ab8477399dbc19009cc9c08)

Key Results

The proposed method achieved state-of-the-art results across multiple benchmarks:

  • PASCAL VOC: On the third novel set (10-shot), the model achieved 56.0 mAP, significantly outperforming the TFA baseline (49.8 mAP) and other complex meta-learning approaches (Figure 1).
  • Cross-Domain Generalization: In the COCO $\rightarrow$ PASCAL VOC 10-shot experiment, the model reached 48.9 mAP, a leap of over 6.5% compared to the previous best performance.
  • Error Reduction: Qualitative results in Figure 5 show that the model is much better at handling common few-shot failures, such as mis-localization (drawing the box too small/large) and missing objects entirely.

![Fig.

  1. Qualitative comparison between our approach and the main baseline.](/figures/art_c5f15b7cc91a476d9838f9651a2410e5)

Limitations and Future Work

While the paper demonstrates clear gains, a few areas remain for exploration:

  • Computational Cost: Adding sequential stages (PBR) increases the number of parameters and inference time compared to a standard one-stage refinement. The authors don't explicitly detail the trade-off between this overhead and the accuracy gains.
  • Base Class Performance: The authors noted a slight dip in base class performance (about 0.8%) when fine-tuning the RPN. While they argue this is a worthy trade-off for the massive gains in novel classes, finding a way to achieve "zero-loss" on base classes remains a challenge.
  • Hyperparameter Sensitivity: The choice of the RPN loss coefficient ($\gamma_{rpn} = 0.5$) was determined empirically; future work could investigate automated ways to balance this loss.

Summary updated

BibTeX
@misc{kim2022few,
  author = {Sueyeon Kim and Woo-Jeoung Nam and Seong-Whan Lee},
  title = {{Few-Shot Object Detection with Proposal Balance Refinement}},
  year = {2022},
  eprint = {2204.10527},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.10527},
}
Figure