[Paper Review] Meta Faster R-CNN: Towards Accurate Few-Shot Object Detection with Attentive Feature Alignment
This paper proposes Meta Faster R-CNN, a meta-learning-based few-shot object detection framework that improves proposal generation and classification for few-shot classes using a lightweight prototype matching network and attentive feature alignment. It achieves state-of-the-art performance on multiple benchmarks, especially in extreme few-shot settings (1/2-shot), without requiring fine-tuning during inference.
Few-shot object detection (FSOD) aims to detect objects using only a few examples. How to adapt state-of-the-art object detectors to the few-shot domain remains challenging. Object proposal is a key ingredient in modern object detectors. However, the quality of proposals generated for few-shot classes using existing methods is far worse than that of many-shot classes, e.g., missing boxes for few-shot classes due to misclassification or inaccurate spatial locations with respect to true objects. To address the noisy proposal problem, we propose a novel meta-learning based FSOD model by jointly optimizing the few-shot proposal generation and fine-grained few-shot proposal classification. To improve proposal generation for few-shot classes, we propose to learn a lightweight metric-learning based prototype matching network, instead of the conventional simple linear object/nonobject classifier, e.g., used in RPN. Our non-linear classifier with the feature fusion network could improve the discriminative prototype matching and the proposal recall for few-shot classes. To improve the fine-grained few-shot proposal classification, we propose a novel attentive feature alignment method to address the spatial misalignment between the noisy proposals and few-shot classes, thus improving the performance of few-shot object detection. Meanwhile we learn a separate Faster R-CNN detection head for many-shot base classes and show strong performance of maintaining base-classes knowledge. Our model achieves state-of-the-art performance on multiple FSOD benchmarks over most of the shots and metrics.
Motivation & Objective
- Address the poor quality of object proposals for few-shot classes, which often results in missed or misaligned bounding boxes due to limited training examples.
- Overcome the limitations of conventional RPNs and linear classifiers in few-shot settings by introducing a non-linear, metric-based prototype matching mechanism.
- Improve fine-grained proposal classification by explicitly addressing spatial misalignment between proposals and few-shot object features.
- Decouple detection for base and novel classes by learning a separate Faster R-CNN head for base classes, preserving performance while enabling incremental class addition without retraining.
- Enable zero-shot deployment of novel classes via meta-learning, where only prototype computation is needed during inference, avoiding costly fine-tuning.
Proposed method
- Propose a Meta-RPN that replaces the standard linear classifier in RPN with a non-linear, metric-learning-based prototype matching network to generate category-specific proposals for few-shot classes.
- Use a feature fusion network to enhance prototype matching by combining multi-scale features, improving discriminative capacity for few-shot classes.
- Introduce an attentive feature alignment module that estimates soft correspondence maps between proposal features and class prototypes to correct spatial misalignment.
- Apply spatial attention based on soft correspondence to align features and focus on foreground regions before computing similarity with prototypes.
- Train the entire model using meta-learning on base classes, enabling zero-shot inference for novel classes by computing prototypes from support images only.
- Maintain a separate detection head for base classes trained on abundant data, ensuring high performance while decoupling from the few-shot detection head.
Experimental results
Research questions
- RQ1Can a meta-learning-based approach improve proposal generation quality for few-shot object detection when training data is extremely limited?
- RQ2How effective is a non-linear prototype matching network with feature fusion in boosting recall and discriminability for few-shot classes compared to linear classifiers?
- RQ3To what extent does attentive feature alignment mitigate spatial misalignment between noisy proposals and few-shot object features?
- RQ4Can a decoupled detection head for base classes preserve high performance while enabling incremental learning of novel classes without fine-tuning?
- RQ5How does the meta-learning-only inference strategy compare to fine-tuning in extreme few-shot scenarios (e.g., 1/2-shot) on standard benchmarks?
Key findings
- The proposed Meta Faster R-CNN achieves state-of-the-art performance on multiple few-shot object detection benchmarks, particularly excelling in 1/2-shot settings where fine-tuning methods often fail.
- The meta-learning-only model outperforms strong baseline methods and matches or exceeds SOTA results using fine-tuning, especially on the more challenging MSCOCO 1/2-shot benchmarks.
- The model shows superior performance in extremely few-shot scenarios (e.g., 1/2-shot), where fine-tuning is ineffective, demonstrating the robustness of the meta-learning approach.
- The separate detection head for base classes significantly improves performance compared to joint softmax-based detectors, reducing the gap between meta-testing and full-supervised performance.
- The attentive feature alignment mechanism effectively reduces spatial misalignment, leading to more accurate few-shot proposal classification.
- The model enables incremental class addition without retraining or fine-tuning, as only prototype computation is required during inference, making it suitable for real-world deployment.
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.