Watch and Learn: Teaching Visual In-Context Learning by Removing Textual Shortcuts
Nimrod Shabtay, Asaf Yehudai, Avihu Dekel, Eli Schwartz, Raja Giryes
Key points
From the paper's conclusion- We therefore hypothesize that VLMs are insufficiently trained to perform visual in-context learning (vICL).
Abstract
Vision-language models (VLMs) struggle with in context learning compared to their textual counterparts. Our preliminary study shows that VLMs rely on textual shortcuts and underutilize the visual demonstrations. We therefore hypothesize that VLMs are insufficiently trained to perform visual in-context learning (vICL). To this end, we construct MIME, a task-agnostic vICL training set without textual shortcuts. We ensure the instruction does not state the rule linking the demonstration images to their answers, so the model must infer it from the visual demonstrations. Fine-tuning on MIME improves vICL accuracy by 8.1 to 18.0 points across three VLMs, preserves single-image performance, and improves multi-image and text only in-context learning. In contrast, stating the rule in the training data sharply reduces this gain. We further propose DTAD (Demonstration Text Attention Dropout), which randomly withholds demonstration labels during training so that the VLM must infer the rule from the demonstration images. While achieving comparable vICL accuracy to fine-tuning on MIME, DTAD yields more consistent attention to the demonstration images. On TrueMICL, Qwen3-VL-8B trained on MIME matches frontier models such as Claude Opus 5, and surpasses them with DTAD. Finally, adding MIME to the instruction-tuning mix of LLaVA 1.5 13B more than doubles its vICL accuracy without hurting single-image abilities, whereas a same-size multi-image set improves it only slightly. These results suggest that vICL data should be a standard component of VLM training.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Two Vectors Replace In-Context Demos: Structured Task Adaptation via EmbeddingsarXiv · 2026
- In-Context Learning Can Help Vision-Language Models Overcome Training PriorsarXiv · 2026
- MedICL: Modality-Anatomy-Aware Visual In-Context Learning for Medical Visual Question AnsweringarXiv · 2026
- A failure of Imagination: VLMs fail to use visual representations for text, but self-distillation can helparXiv · 2026
- MCD: Causal Distillation of Multimodal In-Context Learning in Large Vision-Language ModelsarXiv · 2026
- TraceICL: Thread-Resolved Demonstration Curation with Consistency Calibration for Robust Multimodal In-Context LearningarXiv · 2026