[Paper Review] Few-shot Object Detection via Feature Reweighting
This paper proposes a few-shot object detection framework that leverages meta features and a lightweight reweighting module to adapt to novel classes using only a few annotated examples. By learning generalizable features from base classes and dynamically reweighting them based on support images, the model achieves state-of-the-art performance, especially in low-shot settings, outperforming strong baselines by large margins on multiple datasets.
Conventional training of a deep CNN based object detector demands a large number of bounding box annotations, which may be unavailable for rare categories. In this work we develop a few-shot object detector that can learn to detect novel objects from only a few annotated examples. Our proposed model leverages fully labeled base classes and quickly adapts to novel classes, using a meta feature learner and a reweighting module within a one-stage detection architecture. The feature learner extracts meta features that are generalizable to detect novel object classes, using training data from base classes with sufficient samples. The reweighting module transforms a few support examples from the novel classes to a global vector that indicates the importance or relevance of meta features for detecting the corresponding objects. These two modules, together with a detection prediction module, are trained end-to-end based on an episodic few-shot learning scheme and a carefully designed loss function. Through extensive experiments we demonstrate that our model outperforms well-established baselines by a large margin for few-shot object detection, on multiple datasets and settings. We also present analysis on various aspects of our proposed model, aiming to provide some inspiration for future few-shot detection works.
Motivation & Objective
- To address the challenge of object detection in low-data regimes where rare or novel categories have insufficient annotated bounding boxes.
- To enable fast adaptation of a detection model to novel classes using only a few annotated examples, mimicking human few-shot learning ability.
- To design a detection framework that effectively transfers knowledge from base classes to novel classes through feature reweighting.
- To improve generalization and detection accuracy in few-shot settings where conventional CNNs overfit due to data scarcity.
Proposed method
- The model uses a meta feature learner to extract generalizable features from base classes with abundant training data.
- A lightweight reweighting module takes support images (with object masks) and generates class-specific reweighting vectors to modulate query image features.
- The reweighting vectors adaptively emphasize discriminative meta features relevant to each novel class, enhancing detection performance.
- The entire system is trained end-to-end using an episodic few-shot learning scheme with a carefully designed loss function.
- The framework is built on a one-stage detector architecture and applies reweighting at deeper feature layers (e.g., layer 21) for optimal performance.
- The model uses a softmax loss for multi-class classification, which outperforms binary loss by suppressing redundant detections.
Experimental results
Research questions
- RQ1Can a detection model be trained to generalize to novel object classes using only a few annotated examples?
- RQ2How can meta features from base classes be effectively reweighted to detect novel objects?
- RQ3What is the optimal location and form of support input (image, mask, cropped object) for effective reweighting?
- RQ4How does the choice of loss function (e.g., softmax vs. binary) affect few-shot detection performance?
- RQ5Does the reweighting mechanism improve detection speed and accuracy compared to standard fine-tuning?
Key findings
- The proposed model achieves 47.2% mAP on novel classes in the 10-shot setting on PASCAL VOC, significantly outperforming the next best baseline by over 5 percentage points.
- Using the softmax loss for classification yields a 32.4% improvement in novel class mAP compared to the single-binary loss (from 14.8% to 47.2%).
- Applying reweighting at deeper layers (e.g., layer 21) yields better performance than earlier layers, with 47.2% mAP vs. 40.7% on layer 13.
- Including a binary mask in the support input improves performance by 3.9% on novel classes compared to using only the image, demonstrating the importance of precise localization.
- The model maintains strong performance on base classes (69.7% mAP) while achieving high accuracy on novel classes, indicating effective knowledge transfer.
- The ablation study confirms that reweighting only half the features in layer 21 has minimal performance drop (46.9% vs. 47.2%), suggesting feature sharing across classes is effective.
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.