Papers › Revisiting Few-Shot Object Detection with Vision-Language Models

Revisiting Few-Shot Object Detection with Vision-Language Models

22 Dec 2023arXiv:2312.14494archive 2025-07-28

Anish Madan, Neehar Peri, Shu Kong, Deva Ramanan

The era of vision-language models (VLMs) trained on web-scale datasets challenges conventional formulations of "open-world" perception. In this work, we revisit the task of few-shot object detection (FSOD) in the context of recent foundational VLMs. First, we point out that zero-shot predictions from VLMs such as GroundingDINO significantly outperform state-of-the-art few-shot detectors (48 vs. 33 AP) on COCO. Despite their strong zero-shot performance, such foundation models may still be sub-optimal. For example, trucks on the web may be defined differently from trucks for a target application such as autonomous vehicle perception. We argue that the task of few-shot recognition can be reformulated as aligning foundation models to target concepts using a few examples. Interestingly, such examples can be multi-modal, using both text and visual cues, mimicking instructions that are often given to human annotators when defining a target concept of interest. Concretely, we propose Foundational FSOD, a new benchmark protocol that evaluates detectors pre-trained on any external data and fine-tuned on multi-modal (text and visual) K-shot examples per target class. We repurpose nuImages for Foundational FSOD, benchmark several popular open-source VLMs, and provide an empirical analysis of state-of-the-art methods. Lastly, we discuss our recent CVPR 2024 Foundational FSOD competition and share insights from the community. Notably, the winning team significantly outperforms our baseline by 23.3 mAP! Our code and dataset splits are available at https://github.com/anishmadan23/foundational_fsod

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2312.14494")

Code

Syntology Ran 6 of 9 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: official repository: 9 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

anishmadan23/foundational_fsod officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

9 samples harvested; 6 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · violated contract
1ran · our draft was wrong
1ran · fixture could not drive it
3ran
3unverified

Licence: 0 of the 9 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from anishmadan23/foundational_fsod. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_clip_embeddings anishmadan23/foundational_fsod/detic/predictor.py official repository ran Apache-2.0 (permissive) · 1f211df98dc51cee · report
get_fed_loss_inds_deterministic_with_negs anishmadan23/foundational_fsod/detic/modeling/utils.py official repository ran Apache-2.0 (permissive) · 3b2a9d30d2f8d81a · report
load_class_freq anishmadan23/foundational_fsod/detic/modeling/utils.py official repository ran Apache-2.0 (permissive) · e17a462624fc9dac · report
match_name_keywords anishmadan23/foundational_fsod/detic/custom_solver.py official repository ran · violated contract Apache-2.0 (permissive) · c15434906f804d7f · report
window_partition anishmadan23/foundational_fsod/detic/modeling/backbone/swintransformer.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · f9fd6241d935f07b · report
window_reverse anishmadan23/foundational_fsod/detic/modeling/backbone/swintransformer.py official repository ran · our draft was wrong Apache-2.0 (permissive) · fb32094c6dbece71 · report
compute_average_precision anishmadan23/foundational_fsod/detic/evaluation/oideval.py official repository unverified Apache-2.0 (permissive) · 2e0a799ccbd489e7 · report
create_timm_resnet anishmadan23/foundational_fsod/detic/modeling/backbone/timm.py official repository unverified Apache-2.0 (permissive) · 3634f2208a0255d7 · report
get_fed_loss_inds_deterministic2 anishmadan23/foundational_fsod/detic/modeling/utils.py official repository unverified Apache-2.0 (permissive) · c66a839ca35205e6 · report

Tasks

Autonomous VehiclesFew-Shot Object DetectionLanguage ModellingObjectObject Detectionobject-detection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

BASE

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections