DetPO: In-Context Learning with Multi-Modal LLMs for Few-Shot Object Detection
Gautam Rajendrakumar Gare, Neehar Peri, Matvei Popov, Shruti Jain, John Galeotti, Deva Ramanan
Abstract
Multi-Modal LLMs (MLLMs) demonstrate strong visual grounding capabilities on popular object detection benchmarks like OdinW-13 and RefCOCO. However, state-of-the-art models still struggle to generalize to out-of-distribution classes, tasks and imaging modalities not typically found in their pre-training. While in-context prompting is a common strategy to improve performance across diverse tasks, we find that it often yields lower detection accuracy than prompting with class names alone. This suggests that current MLLMs cannot yet effectively leverage few-shot visual examples and rich textual descriptions for object detection. Since frontier MLLMs are typically only accessible via APIs, and state-of-the-art open-weights models are prohibitively expensive to fine-tune on consumer-grade hardware, we instead explore black-box prompt optimization for few-shot object detection. To this end, we propose Detection Prompt Optimization (DetPO), a gradient-free test-time optimization approach that refines text-only prompts by maximizing detection accuracy on few-shot visual training examples while calibrating prediction confidence. Our proposed approach yields consistent improvements across generalist MLLMs on Roboflow20-VL and LVIS, outperforming prior black-box approaches by up to 9.7 mAP. Our code and optimized prompts are available at https://ggare-cmu.github.io/DetPO/
Create a lesson
Metadata
- Comments
- This work has been accepted to the European Conference on Computer Vision (ECCV) 2026. Project Page: https://ggare-cmu.github.io/DetPO/
Related papers
Personalized Object Identification and Localization via In-Context Inference with Vision-Language Models
Shared title terminologycs.CVKensuke Nakamura, Byung-Woo Hong
AnyMatch: Supercharging Universal Multi-Modal Image Matching with Large-Scale Single-View Images
Shared title terminologycs.CVMeng Yang, Zizhuo Li, Linfeng Tang et al.
ForeSea: AI Forensic Search with Multi-modal Queries for Video Surveillance
Shared title terminologycs.CVHyojin Park, Yi Li, Janghoon Cho et al.
MMLoP: Multi-Modal Low-Rank Prompting for Efficient Vision-Language Adaptation
Shared title terminologycs.CVSajjad Ghiasvand, Haniyeh Ehsani Oskouie, Mahnoosh Alizadeh et al.
Histopathology Multi-modal Embedding for Pathology Composed Retrieval
Shared title terminologycs.CVQifeng Zhou, Wenliang Zhong, Thao M. Dang et al.
Decompose, Compare, and Decide: Multimodal LLMs are Implicit Few-Shot Learners
Shared title terminologycs.CVYunhan Wang, Eshika Khandelwal, Edson Araujo et al.