atlas

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

VRP-SAM: SAM with Visual Reference Prompt

CVPR 2024 · Detection and segmentation › Open-set and few-shot detection · approach: Interactive and referring segmentation · 73 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.

Proposes VRP-SAM, which adds a meta-learning-style Visual Reference Prompt encoder to SAM so annotated reference images (point, scribble, box, or mask) guide segmentation of matching objects in target images.

Problem

SAM relies on per-image geometric prompts (points, boxes, coarse masks), which is laborious across many images, and sampling-based pseudo-mask prompting for visual reference segmentation is sensitive to pseudo-mask quality and generalizes poorly.

Approach

A VRP encoder (feature augmenter with prototype-enhanced features plus a learnable-query prompt generator) turns annotated reference images directly into prompt embeddings fed to SAM's mask decoder, replacing geometric prompts, while the image encoder is frozen.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add BCE loss to Dice loss (ablation)VRP-SAM · PASCAL-5imean IoU: 70.3 -> 71.9Helped
add Dice loss to BCE loss (ablation)VRP-SAM · PASCAL-5imean IoU: 70.1 -> 71.9Helped
use foreground prototype query initialization instead of random initialization (ablation)VRP-SAM · PASCAL-5imean IoU: 71.9 -> 68.2Hurt
use background prototype query initialization instead of random initialization (ablation)VRP-SAM · PASCAL-5imean IoU: 71.9 -> 62.6Hurt
initialize half the queries with foreground prototypes and half with background prototypes instead of random initialization (ablation)VRP-SAM · PASCAL-5imean IoU: 71.9 -> 67.4Hurt
increase the number of visual reference prompts from 1 to 5 (ablation)VRP-SAM · PASCAL-5i (point, scribble, box, and mask annotations)mean IoU: +1.2, +1.6, +1.1, +1.0Helped
vary the number of queries (ablation)VRP-SAM · PASCAL-5imIoUHelped

Surprising findings

Limitations

Experimental setup

Datasets: PASCAL-5i COCO-20i ImageNet

Benchmarks: PASCAL-5i COCO-20i

Metrics: mIoU

Baselines: Painter SegGPT PerSAM Matcher PFENet BAM HDMNet HSNet CyCTR DCAMA FP-Trans DGPNet

Builds on: Segment Anything Model PFENet Matcher SEEM

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