What You Show Is Not What You Get: Rethinking Demonstration Following in Visual In-Context Segmentation
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 23 of its 26 references that are in the map. Submitted 8 Nov 2026.
Builds on
23 of 26 references.
References · 23
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 34,995
- 2014Microsoft COCO: Common Objects in Contextcited by 18,045
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 8,800
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,487
- 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 337
- 2022Visual Prompting via Image Inpaintingcited by 260
- 2023Sequential Modeling Enables Scalable Learning for Large Vision Modelscited by 219
- 2023What In-Context Learning "Learns" In-Context: Disentangling Task Recognition and Task Learningcited by 161
- 2023PACO: Parts and Attributes of Common Objectscited by 158
- 2021PartImageNet: A Large, High-Quality Dataset of Partscited by 116
- 2017Look into Person: Self-supervised Structure-sensitive Learning and A New Benchmark for Human Parsingcited by 111
- 2023OV-PARTS: Towards Open-Vocabulary Part Segmentationcited by 34
11 more
- 2023Unifying Image Processing as Visual Prompting Question Answeringcited by 33
- 2024A Simple Image Segmentation Framework via In-Context Examplescited by 27
- 2024Finding Visual Task Vectorscited by 25
- 2024Learning A Low-Level Vision Generalist via Visual Task Promptcited by 20
- 2024AWRaCLe: All-Weather Image Restoration using Visual In-Context Learningcited by 20
- 2024Towards Global Optimal Visual In-Context Learning Prompt Selectioncited by 17
- 2024Data-efficient Large Vision Models through Sequential Autoregressioncited by 16
- 2025Towards Reliable and Holistic Visual In-Context Learning Prompt Selectioncited by 3
- 2026Enhancing Visual In-Context Learning by Multi-Faceted Fusioncited by 2
- 2026Love Me, Love My Label: Rethinking the Role of Labels in Prompt Retrieval for Visual In-Context Learningcited by 1
- 2026Beyond Model Size: Probing the Gaps in Visual in-Context Learning by Training a Tiny Modelcited by 1
Built on by
Not cited yet.