Meta Faster R-CNN: Towards Accurate Few-Shot Object Detection with Attentive Feature Alignment

Guangxing Han, Shiyuan Huang, Jiawei Ma, Yicheng He, Shih-Fu Chang
4/15/2021
255 citations
cs.CVcs.AIcs.MM

Official code: GuangxingHan/Meta-Faster-R-CNN (98 stars, Python, last commit 2023-04-05).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Code for AAAI 2022 Oral paper: 'Meta Faster R-CNN: Towards Accurate Few-Shot Object Detection with Attentive Feature Alignment'

9812Python, ShellMar 31, 20223 years ago
attentionfew-shot-object-detectionmeta-learning

Similar Papers

Cite this paper

@article{han2021meta,
  title  = {Meta Faster R-CNN: Towards Accurate Few-Shot Object Detection with Attentive Feature Alignment},
  author = {Guangxing Han and Shiyuan Huang and Jiawei Ma and Yicheng He and Shih-Fu Chang},
  year   = {2021},
  eprint = {2104.07719},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.07719}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.07719.svg)](https://codeofpaper.com/paper/2104.07719)

Discussion