Skip to main content
QUICK REVIEW

[Paper Review] Closing the Generalization Gap in One-Shot Object Detection

Claudio Michaelis, Matthias Bethge|arXiv (Cornell University)|May 4, 2021
Domain Adaptation and Few-Shot LearningComputer Science40 references5 citations
TL;DR

This paper demonstrates that increasing the number of object categories during training nearly closes the generalization gap in one-shot object detection, improving AP50 on COCO from 22.0 to 27.5 and boosting zero-shot generalization from seen to unseen classes from 45% to 89%, without relying on complex metric learning—simply by scaling category diversity.

ABSTRACT

Despite substantial progress in object detection and few-shot learning, detecting objects based on a single example - one-shot object detection - remains a challenge. A central problem is the generalization gap: Object categories used during training are detected much more reliably than novel ones. We here show that this generalization gap can be nearly closed by increasing the number of object categories used during training. Doing so allows us to beat the state-of-the-art on COCO by 5.4 %AP50 (from 22.0 to 27.5) and improve generalization from seen to unseen classes from 45% to 89%. We verify that the effect is caused by the number of categories and not the amount of data and that it holds for different models, backbones and datasets. This result suggests that the key to strong few-shot detection models may not lie in sophisticated metric learning approaches, but instead simply in scaling the number of categories. We hope that our findings will help to better understand the challenges of few-shot learning and encourage future data annotation efforts to focus on wider datasets with a broader set of categories rather than gathering more samples per category.

Motivation & Objective

  • Address the persistent generalization gap in one-shot object detection, where models perform significantly worse on novel categories compared to seen ones.
  • Investigate whether the generalization gap stems from insufficient data per category or insufficient category diversity during training.
  • Determine whether scaling the number of training categories can improve zero-shot generalization without relying on complex metric learning techniques.
  • Evaluate the robustness of the proposed approach across different models, backbones, and datasets to confirm the generality of the findings.

Proposed method

  • Train one-shot object detection models on datasets with increasing numbers of object categories to assess the impact on generalization performance.
  • Control for data quantity by ensuring that the total amount of training data remains constant while varying only the number of distinct categories.
  • Use standard object detection architectures with standard training protocols, focusing on the effect of category diversity rather than model complexity.
  • Evaluate performance on both seen and unseen categories to measure the generalization gap and its reduction.
  • Compare results across multiple backbones and datasets to validate the consistency of the effect.
  • Measure zero-shot generalization as the ratio of detection AP on unseen categories to that on seen categories.

Experimental results

Research questions

  • RQ1Does increasing the number of object categories during training reduce the generalization gap in one-shot object detection?
  • RQ2Is the improvement in generalization due to category count rather than total training data quantity?
  • RQ3Does the observed effect hold across different model architectures and backbone networks?
  • RQ4Can this simple scaling strategy outperform state-of-the-art methods that rely on complex metric learning?
  • RQ5To what extent does category diversity improve zero-shot generalization from seen to unseen classes?

Key findings

  • Increasing the number of training categories significantly reduces the generalization gap in one-shot object detection.
  • The method improves AP50 on COCO from 22.0 to 27.5, representing a 5.4 percentage point gain over the prior state of the art.
  • Zero-shot generalization performance improves from 45% to 89% when transferring from seen to unseen classes.
  • The improvement is attributed to category count rather than data quantity, as shown through controlled ablations.
  • The effect is consistent across different models, backbones, and datasets, indicating broad applicability.
  • The results suggest that scaling category diversity may be more effective than complex metric learning for few-shot detection.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.