What You Show Is Not What You Get: Rethinking Demonstration Following in Visual In-Context Segmentation
Abstract
Visual in-context segmentation uses visual demonstrations to guide predictions for a new image. In SegGPT, we identify background color mapping deviation, where non-target regions sharing a background label receive different output colors, and part-to-parent expansion, where predictions extend beyond the requested part into its parent object. These deviations can occur even when the relevant regions remain distinguishable in internal features. Controlled changes to demonstration colors and requested targets support an account in which demonstrations guide role and color assignments over familiar semantic regions, influenced by learned semantic and color preferences. Building on these findings, we introduce Semantic Contrast Prompt Selection (SCPS). Its semantic contrast encoding assigns separate colors to the requested part and the rest of its object while keeping the remaining scene black. SCPS combines existing retrieval scores with quality estimates from labeled development images to select demonstrations and their binary or semantic contrast encodings. Averaged across seven retrieval methods on three benchmarks, SCPS improves target IoU by 0.054 and reduces leakage into the rest of the object by 22.7% relative to the original binary selectors. Our findings offer a new perspective on understanding and improving demonstration following in visual in-context segmentation.
Create a lesson
Related papers
Query-Only Prompt-Agnostic Attacks on Visual In-Context Learning
Shared title terminologycs.CVXiao Hu, Muhammad Ibrahim, Hao Wen et al.
FP-Prune: Rethinking Visual Token Pruning from an Information Gain Perspective
Shared title terminologycs.CVHaozhe Zhao, Junxiang Zhang, Junxin Wang et al.
Rethinking Visual Token Retention in Multimodal Reasoning
Shared title terminologycs.CVFawaz Sammani, Nikos Deligiannis
World In-Context Learning for Agentic Robot Manipulation
Shared title terminologycs.CVHeng Fang, Zehui Guo, Yuehan Zhang et al.
SegDis: Foreground Segmentation Followed by Type Discrimination for Salient and Camouflaged Object Detection
Shared title terminologycs.CVDingning Luo, Shuo Dou, Tong Jiang et al.
BiRefNet-V2: Rethinking Bilateral Reference for High-Resolution Dichotomous Image Segmentation
Shared title terminologycs.CVPeng Zheng, Deng-Ping Fan, Binglu Wang et al.