Abstract
Few-shot object detection (FSOD) aims to recognize and localize novel objects using only a handful of examples. Traditional methods often struggle with the "finetuning bottleneck," leading to overfitting or catastrophic forgetting. We present DE-ViT, a "plug-and-play" FSOD framework that eliminates finetuning by combining frozen Vision Transformer (ViT) features with a novel region-propagation mechanism. DE-ViT treats localization as a mask-refinement task and uses feature subspace projection to isolate relevant object features. Our approach sets new state-of-the-art records, outperforming existing methods by 15–17 points in mean Average Precision (mAP) on COCO and LVIS benchmarks.
Introduction
Training robotic systems to recognize new objects from minimal data is a cornerstone of open-environment intelligence. However, current FSOD paradigms face two primary challenges. First, the finetuning bottleneck: most detectors require computationally expensive finetuning on novel data, which often leads to overfitting on the few available examples. Second, the localization gap: while pretrained Vision Transformers (e.g., DINOv2) provide rich semantic features, they lack the explicit coordinate information necessary for precise bounding box regression.
DE-ViT addresses these issues by keeping the ViT backbone frozen and introducing a localization strategy based on region propagation rather than direct coordinate regression. This allows the model to detect novel items immediately upon receiving support images, without any extra training.
Methodology
DE-ViT introduces three core architectural innovations designed to bridge high-level semantics with precise spatial localization.
Region Propagation Network (RPN)
Instead of regressing bounding box coordinates, DE-ViT treats localization as a mask-refinement task. The model starts with a coarse object proposal and uses a sequence of Propagation Layers (PL) to iteratively "sculpt" a mask that fits the object. This leverages the spatial richness of ViT features without requiring the model to learn absolute coordinates for unseen classes.
Feature Subspace Projection
To avoid overfitting to base classes, DE-ViT employs a projection strategy. Support images (prototypes) are used to project query image features into a specific "subspace." This highlights features relevant to the novel object while suppressing background noise and irrelevant base-class information. Instead of asking "Is this a cat?", the model asks "How much does this region look like the subspace defined by these cat photos?"
Learnable Spatial Integral Layer
To convert refined masks back into standard bounding boxes, a differentiable Spatial Integral Layer is used. This layer is trained on base classes to learn the mask-to-box transformation, ensuring robust performance on novel classes during inference.
Experimental Results
The authors evaluated DE-ViT across major benchmarks, including Pascal VOC, COCO, and LVIS. The results demonstrate that DE-ViT doesn't just beat the competition; it significantly advances the state-of-the-art:
- COCO: On the 10-shot benchmark, DE-ViT surpassed the previous state-of-the-art (SoTA) by 15 mAP. On 30-shot, it maintained a lead of 7.2 mAP.
- LVIS: The model outperformed previous methods by 17 points in the "rare" category (APr), demonstrating its effectiveness in long-tailed distributions.
- Robotics Application: In real-world tests, a Kuka robot utilizing DE-ViT achieved a 97% success rate in sorting novel YCB objects based on only a few example images.
Discussion and Limitations
A key insight of this work is the importance of freezing the backbone; unfreezing for finetuning often leads to an "accuracy collapse" on novel classes. By shifting from classifiers to subspace projection, the model becomes more robust to domain shifts.
However, limitations remain. DE-ViT still depends on a traditional Region Proposal Network (RPN) trained on base classes. If the RPN fails to propose a novel object, the system cannot detect it. Furthermore, detection quality is dependent on the quality of support images. Future work aims to integrate "full transformer" architectures (like DETR) to remove the RPN dependency and move toward a fully end-to-end few-shot detector.
Summary updated