Skip to main content
QUICK REVIEW

[Paper Review] Detect Everything with Few Examples

Xinyu Zhang, Liu, Yuhan|arXiv (Cornell University)|Sep 22, 2023
Handwritten Text Recognition TechniquesComputer Science5 citations
TL;DR

DE-ViT proposes a few-shot object detection framework that detects novel classes without finetuning by leveraging frozen DINOv2 features and transforming multi-class detection into binary classification tasks. It achieves state-of-the-art performance on COCO and LVIS benchmarks, surpassing previous few-shot and even open-vocabulary detectors by up to 15 mAP and 6.9 AP50, respectively.

ABSTRACT

Few-shot object detection aims at detecting novel categories given only a few example images. It is a basic skill for a robot to perform tasks in open environments. Recent methods focus on finetuning strategies, with complicated procedures that prohibit a wider application. In this paper, we introduce DE-ViT, a few-shot object detector without the need for finetuning. DE-ViT's novel architecture is based on a new region-propagation mechanism for localization. The propagated region masks are transformed into bounding boxes through a learnable spatial integral layer. Instead of training prototype classifiers, we propose to use prototypes to project ViT features into a subspace that is robust to overfitting on base classes. We evaluate DE-ViT on few-shot, and one-shot object detection benchmarks with Pascal VOC, COCO, and LVIS. DE-ViT establishes new state-of-the-art results on all benchmarks. Notably, for COCO, DE-ViT surpasses the few-shot SoTA by 15 mAP on 10-shot and 7.2 mAP on 30-shot and one-shot SoTA by 2.8 AP50. For LVIS, DE-ViT outperforms few-shot SoTA by 17 box APr. Further, we evaluate DE-ViT with a real robot by building a pick-and-place system for sorting novel objects based on example images. The videos of our robot demonstrations, the source code and the models of DE-ViT can be found at https://mlzxy.github.io/devit.

Motivation & Objective

  • To address the practical limitations of finetuning-based few-shot object detection methods, which are complex and hinder real-world deployment.
  • To improve few-shot detection accuracy, especially on challenging benchmarks like COCO and LVIS, where existing methods underperform compared to open-vocabulary detectors.
  • To enable zero-shot inference for novel classes using only support images at test time, without any model adaptation or retraining.
  • To demonstrate that strong performance in few-shot detection can be achieved using only frozen vision transformers, avoiding costly finetuning.

Proposed method

  • Transforms multi-class classification into multiple one-vs-rest binary classification tasks using a single, shared binary classifier to avoid per-class finetuning.
  • Constructs class prototypes from support image features using DINOv2, which are used to compute similarity maps between proposal features and class representations.
  • Introduces a novel propagation-based localization mechanism that refines object bounding boxes by propagating regions on the similarity map through a spatial integral layer.
  • Uses a prototype projection head to map proposal features into similarity maps, enabling joint classification and localization using only frozen DINOv2 features.
  • Employs a background prototype and a class rearrangement module to improve generalization and reduce overfitting to base classes.
  • Relies on an off-the-shelf RPN for region proposal generation, with all downstream processing performed on frozen DINOv2 features.
Figure 1: Demonstration of the proposed method on YCB objects (Calli et al., 2015 ) . DE-ViT with ViT-L/14 is used for prediction. Note that our model is trained on only the base categories of LVIS. Example images of YCB objects are provided only during inference to represent novel categories.
Figure 1: Demonstration of the proposed method on YCB objects (Calli et al., 2015 ) . DE-ViT with ViT-L/14 is used for prediction. Note that our model is trained on only the base categories of LVIS. Example images of YCB objects are provided only during inference to represent novel categories.

Experimental results

Research questions

  • RQ1Can few-shot object detection be achieved without finetuning by leveraging strong pretrained vision models?
  • RQ2How can object localization be accurately performed using only frozen features from a vision transformer like DINOv2?
  • RQ3Can a unified binary classification head outperform multi-class classification heads in few-shot detection without per-class adaptation?
  • RQ4Does a propagation-based localization mechanism improve bounding box accuracy on novel classes when using frozen features?
  • RQ5Can a few-shot detector outperform open-vocabulary detectors in terms of AP50 and mask APr on challenging benchmarks like COCO and LVIS?

Key findings

  • DE-ViT surpasses the few-shot SoTA LVC by 15 mAP on 10-shot and 7.2 mAP on 30-shot detection on COCO.
  • On one-shot detection, DE-ViT outperforms the SoTA BHRL by 2.8 AP50 on COCO.
  • On LVIS, DE-ViT achieves 20 box APr higher than the previous few-shot SoTA DiGeo.
  • DE-ViT reaches 50 AP50 on novel classes in COCO, outperforming the open-vocabulary SoTA CORA+ by 6.9 AP50.
  • On LVIS, DE-ViT achieves 34.3 mask APr on novel categories, surpassing the SoTA Ro-ViT by 1.5 mask APr.
  • The method achieves state-of-the-art results without any finetuning, distillation, or additional pretraining data, relying solely on frozen DINOv2 features.
Figure 2: Overview of the proposed method. Our approach uses DINOv2 ViT to encode the image into a feature map, from which proposal features are extracted using ROIAlign. Proposals are generated via an off-the-shelf RPN. Prototype projection transforms proposal features into similarity maps based on
Figure 2: Overview of the proposed method. Our approach uses DINOv2 ViT to encode the image into a feature map, from which proposal features are extracted using ROIAlign. Proposals are generated via an off-the-shelf RPN. Prototype projection transforms proposal features into similarity maps based on

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.