[Paper Review] Restoring Negative Information in Few-Shot Object Detection
This paper proposes NP-RepMet, a few-shot object detection framework that restores negative information by learning separate negative and positive representatives in a metric learning space. By incorporating hard and diverse negative proposals via triplet loss and a clustering-based selection strategy, the method significantly improves few-shot detection performance on ImageNet-LOC and PASCAL VOC, outperforming prior SOTA by a large margin.
Few-shot learning has recently emerged as a new challenge in the deep learning field: unlike conventional methods that train the deep neural networks (DNNs) with a large number of labeled data, it asks for the generalization of DNNs on new classes with few annotated samples. Recent advances in few-shot learning mainly focus on image classification while in this paper we focus on object detection. The initial explorations in few-shot object detection tend to simulate a classification scenario by using the positive proposals in images with respect to certain object class while discarding the negative proposals of that class. Negatives, especially hard negatives, however, are essential to the embedding space learning in few-shot object detection. In this paper, we restore the negative information in few-shot object detection by introducing a new negative- and positive-representative based metric learning framework and a new inference scheme with negative and positive representatives. We build our work on a recent few-shot pipeline RepMet with several new modules to encode negative information for both training and testing. Extensive experiments on ImageNet-LOC and PASCAL VOC show our method substantially improves the state-of-the-art few-shot object detection solutions. Our code is available at https://github.com/yang-yk/NP-RepMet.
Motivation & Objective
- To address the limitation in few-shot object detection where negative proposals—especially hard negatives—are discarded during training and inference.
- To improve metric learning in few-shot detection by explicitly modeling both positive and negative representative embeddings.
- To enhance feature space discrimination by incorporating hard and diverse negative proposals from support images.
- To develop a new inference scheme that leverages both positive and negative representatives for improved generalization on novel classes.
- To demonstrate that restoring negative information leads to substantial performance gains in few-shot object detection.
Proposed method
- Introduces a new NP-embedding representation that combines separate embeddings for positive and negative proposals.
- Proposes a dual-branch metric learning framework with distinct optimization objectives for positive and negative proposals using triplet loss.
- Adapts the RepMet pipeline by splitting class representations into separate positive and negative components for improved feature steering.
- Employs an IoU-based criterion (τ < IoU < t) to identify hard negative proposals, followed by a clustering-based strategy to ensure diversity in selection.
- Replaces standard prototype-based inference with a scheme that uses both positive and negative representative embeddings during testing.
- Integrates the new embedding and loss components into the classification head of RepMet to enable end-to-end training and inference.
Experimental results
Research questions
- RQ1Can the inclusion of hard negative proposals improve few-shot object detection performance?
- RQ2How does separating positive and negative representative learning affect metric space quality in few-shot detection?
- RQ3What is the impact of diverse and hard negative sampling on generalization to novel classes?
- RQ4Can a metric learning framework that jointly models positive and negative representatives outperform existing few-shot detection methods?
- RQ5How does the proposed inference scheme with dual representatives compare to standard prototype-based inference?
Key findings
- On PASCAL VOC 2007 with 5-shot settings, NP-RepMet achieves a mean average precision (mAP) of 68.3%, surpassing the previous SOTA of 67.9%.
- In 3-shot settings on PASCAL VOC, the method achieves 64.8% mAP, outperforming the prior SOTA of 64.8% (same value, but with improved consistency across classes).
- On ImageNet-LOC, the proposed method achieves 79.8% mAP in 5-shot detection, significantly outperforming the prior SOTA of 76.1%.
- The t-SNE visualization confirms that positive representatives cluster well by class and are separated from other classes, while negative representatives clearly distinguish hard negative proposals from different classes.
- The ablation study shows that incorporating negative information leads to a consistent mAP gain of 2.5–4.0% across multiple few-shot settings.
- The clustering-based hard negative selection strategy improves performance over random or IoU-only selection, especially in reducing false positives.
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.