atlas

Research map / Detection and segmentation / Open-set and few-shot detection

Visual In-Context Prompting

CVPR 2024 · Detection and segmentation › Open-set and few-shot detection · approach: Prompted SAM segmentation · 31 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces DINOv, a unified visual in-context prompting framework for generic (open-set) and referring segmentation, trained jointly on COCO and SA-1B on a MaskDINO-based encoder-decoder.

Problem

Visual prompting methods mainly support referring segmentation of a single object and do not address generic tasks like open-set segmentation and detection that require segmenting multiple objects of a concept from in-context visual examples.

Approach

A query-based encoder-decoder with a prompt encoder that extracts reference visual prompt features from reference image-prompt pairs via masked cross-attention, a shared decoder that attends them to the target image, and separate generic (learnable) and interactive point queries, enabling both generic and referring segmentation with arbitrary numbers of in-context examples.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use visual in-context prompting with DINOv-L rather than MaskDINO-LCOCO segmentation · COCOPQ: 58.3 -> 57.7Hurt
use DINOv-L visual prompts rather than the OpenSeed-L baselinegeneric segmentation · SegInWAP-Average: 36.1 -> 40.6Helped
use DINOv-L visual prompts rather than the OpenSeed-L baselineobject detection · ODinWAverage AP: 15.2 -> 15.7Helped
use only point queries instead of both generic and point queries (ablation)DINOv-SwinT · COCOPQ: 49.6 -> 45.2Hurt
use only generic queries instead of both generic and point queries (ablation)DINOv-SwinT · COCOPQ: 49.6 -> 46.2Hurt
encode visual prompts with cropped-region CLIP features rather than the proposed prompt encoder (ablation)DINOv-SwinT · ADE20Kmask AP: 11.4 -> 1.4Hurt
train on both COCO and SAM rather than COCO only (ablation)DINOv-SwinT · COCOPQ: 48.9 -> 49.6Helped
train on both COCO and SAM rather than COCO only (ablation)DINOv-SwinT · DAVIS17JF: 63.3 -> 73.3Helped
increase prompt-sampling batch size from 1 to 64 (ablation)DINOv-SwinT · COCOPQ: 28.9 -> 49.0Helped
increase the number of in-context examples (ablation)DINOv · generic segmentationperformanceMixed

Surprising findings

Limitations

Experimental setup

Datasets: COCO SA-1B

Benchmarks: COCO ADE20K SegInW ODinW DAVIS17 DAVIS16-Interactive YouTube-VOS 2018

Metrics: PQ mask AP box AP mIoU AP-Average AP-Median JF J F

Baselines: Mask2Former MaskDINO OneFormer X-Decoder OpenSeed FC-CLIP ODISE SegGPT Painter SEEM PerSAM UNINEXT

Builds on: MaskDINO Semantic-SAM SEEM SegGPT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy