MM-FSOD: Meta and metric integrated few-shot object detection

Yuewen Li, Wenquan Feng, Shuchang Lyu, Qi Zhao, Xuliang LiarXiv 2020

Abstract

Few-Shot Object Detection (FSOD) aims to break the dependency of deep learning models on massive annotated datasets, enabling the recognition of new objects from just a handful of examples. Current FSOD approaches often struggle with feature coupling and intra-class variance caused by complex backgrounds. We present MM-FSOD, a novel framework that integrates meta-learning with metric learning. By employing a specialized Meta-Representation (MR) module to construct class prototypes and a Pearson distance metric for classification, MM-FSOD achieves state-of-the-art performance on major benchmarks without requiring any fine-tuning for novel classes.

Introduction

Deep learning models typically require thousands of annotated examples to learn new object categories. FSOD addresses this limitation by enabling models to detect objects from as few as 1 to 10 images. However, two major hurdles persist: feature coupling, where deep features are correlated and lead to poor similarity measurements, and high intra-class variance, where background noise interferes with feature clustering. MM-FSOD addresses these by replacing traditional classification heads with a combination of meta-learning and robust metric distance measures.

Methodology

MM-FSOD is built upon the Faster R-CNN architecture, modified with two innovative modules designed to enhance feature discriminability and classification accuracy.

Overview of the MM-FSOD architecture, illustrating the integration of the Meta-Representation (MR) and Metric modules within a Faster R-CNN framework.

Meta-Representation (MR) Module

The MR module is a lightweight CNN trained using a model-agnostic meta-learning approach. It processes support images to reconstruct their features into high-level intra-class mean prototypes. This transformation forces features of the same class to cluster tightly in a discriminative embedding space, effectively learning the "essence" of a category.

Pearson Metric (PR) Module

To address the limitations of cosine distance, which assumes feature independence, MM-FSOD introduces the Pearson distance metric. By normalizing feature vectors by their mean and variance, the Pearson metric "uncouples" features and mitigates the impact of background noise. This results in more accurate similarity scores between query objects and class prototypes.

Crucially, the entire model is class-agnostic. It does not require retraining or fine-tuning when a new category is introduced; it simply processes a few support images to generate new prototypes on the fly.

Experiments and Results

The authors evaluated MM-FSOD on three major benchmarks: the FSOD dataset (1,000 categories), PASCAL VOC, and MS COCO.

Performance Benchmarks

MM-FSOD achieved state-of-the-art (SOTA) results across all tested datasets:

  • FSOD Dataset: In a 5-shot setting, the model reached 51.7% AP50, nearly doubling the previous benchmark of 27.5%.
  • PASCAL VOC: On the 1-shot "Split 1" test, it achieved 50.0% AP50, significantly outperforming the MPSR model (41.7%).
  • MS COCO: The model demonstrated strong stability and competitiveness across various shot counts (1, 3, 5, and 10).

Key Insights

Ablation studies confirmed that while the MR module provides the foundation for feature clustering, the Pearson metric is the critical component for distinguishing objects on the boundaries of different class clusters. Furthermore, MM-FSOD proved that superior architectural logic can outperform raw parameter count; using a ResNet-34 backbone, it surpassed competitors utilizing larger ResNet-101 architectures.

Discussion and Limitations

The primary advantage of MM-FSOD lies in its mathematical "shield" against background noise and feature correlation provided by the Pearson distance. However, the model remains sensitive to large disturbances in support data. If the few provided examples for a new class are extremely noisy or unrepresentative, the generated prototype may be skewed, leading to false positives or missed detections. Future research may focus on making prototype generation more robust to outliers and extending the framework to multi-scale feature fusion for better detection of small objects.

Summary updated

BibTeX
@misc{li2020mm,
  author = {Yuewen Li and Wenquan Feng and Shuchang Lyu and Qi Zhao and Xuliang Li},
  title = {{MM-FSOD: Meta and metric integrated few-shot object detection}},
  year = {2020},
  eprint = {2012.15159},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.15159},
}
Figure