Rethinking Prototype-based Similarity Learning for Few-Shot Object Detection

KunHo Heo, Seungjae Kim, Wongyu Lee, SuYeon Kim, MyeongAh Cho
6/22/2026
1 citation
cs.CV

Official code: VisualScienceLab-KHU/ReSet (9 stars, Python, last commit 2026-10-01).

Abstract

Few-shot object detection aims to detect novel object categories from only a few labeled examples, avoiding costly large-scale annotation. Recent prototype-based similarity learning approaches enable training-free adaptation by matching query features with class prototypes.

Show full abstract

However, they suffer from two fundamental limitations: (i) class confusion arising from inter-class similarity margin collapse, and (ii) insufficient visual cues for precise localization, as similarity scores capture only class-level semantic affinity while providing limited spatial information. To address these issues, we introduce two complementary components. Text-Anchored Semantic Mask (TSMa) leverages class-level text features as semantic anchors to identify semantically aligned channels through channel-wise interaction between visual and text features. By suppressing style-induced spurious responses and emphasizing class-intrinsic signals, TSMa enlarges inter-class similarity margins and mitigates class confusion. We further propose Stage-Aligned Hierarchical Autoregressive Regression (SHARe), which reformulates localization as a hierarchical autoregressive process that progressively refines bounding boxes across multiple stages. SHARe leverages the layer-wise characteristics of ViT representations by aligning feature abstraction levels with regression stages: deeper layers guide early coarse localization, while shallower layers rich in edge and texture cues refine spatial details in later stages. Experiments on COCO demonstrate a new state of the art, outperforming the previous best by +10.1 nAP, with extensive analysis validating each component. The code is available at https://github.com/VisualScienceLab-KHU/ReSet.

View on arXivView PDF

Code Implementations(1)

90Python, CudaJun 20, 20262 months ago

Similar Papers

Cite this paper

@article{heo2026rethinking,
  title  = {Rethinking Prototype-based Similarity Learning for Few-Shot Object Detection},
  author = {KunHo Heo and Seungjae Kim and Wongyu Lee and SuYeon Kim and MyeongAh Cho},
  year   = {2026},
  eprint = {2606.23069},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.23069v3},
  journal = {ECCV 2026 2026}
}

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/2606.23069.svg)](https://codeofpaper.com/paper/2606.23069)

Discussion