NeurIPS 2026QuestionsPapersAreasAboutMarkdown

In-Context Learning Can Help Vision Language Models Overcome Training Prior

Kun Wang, Xindi Wu, Sanghyuk Chun, Olga Russakovsky, Esin Tureci

NeurIPS page · OpenReview · Open on the map

Category: Vision-Language Models › Multimodal Reasoning and Alignment · Type: empirical study · Keywords: vision-language models, in-context learning, visual grounding, counterfactual evaluation, attention analysis

Areas: LLM Reasoning › Domain-Specific Reasoning › Visual Reasoning; Multimodal › Multimodal Visual Reasoning › Visual and Textual Reasoning; Evaluation & Benchmarks › Visual Multimodal Evaluation › Vision-Language Diagnostics

Summary

The paper demonstrates that controlled visual in-context learning can help vision-language models overcome learned training priors, yielding large gains on prior-conflicting counterfactual examples across multiple VLM families.

Explained to a 5-year-old

A computer program called a vision-language model can look at pictures and understand words together. While it is learning, it picks up patterns that tell it what to expect in pictures. Sometimes those patterns make it ignore important visual clues when the picture is unusual. Researchers wanted to see if they could help the model use the picture instead of its habits. They did this by giving the model a few example pictures before asking it a question.

Explained to a 5-year-old, longer

A computer program called a vision-language model can look at pictures and understand words at the same time. While it is learning, it picks up patterns that tell it what to expect in pictures. Sometimes those patterns make it ignore important visual clues when the picture is unusual. Researchers wanted to see if they could help the model use the picture instead of its habits. They did this by giving the model a few example pictures before asking it a question. These example pictures act like tiny stories that guide the model’s attention. When the model saw the examples, it started looking more carefully at the important parts of the new picture. This helped the model answer questions correctly even when the picture broke its usual expectations. The improvement was biggest for very large models, but even smaller models got some benefit. The study tested many different kinds of vision tasks, like counting objects and describing scenes. They found that the trick worked well when the model already had some visual understanding, but not when it was very weak. Overall, the research shows that a simple trick of showing examples can unlock hidden visual abilities in these computer models.

For a technical reader

The paper shows that vision-language models already have the ability to ground visual inputs, but they often rely on learned statistical priors that can override visual evidence. By presenting a few labeled examples directly in the prompt (visual in-context learning), the model’s attention shifts toward relevant visual cues and away from prior-driven biases. This simple prompting technique yields large accuracy gains on counter-factual examples-up to 27% for the largest model-while leaving normal performance unchanged. The effect is strongest when the model already possesses some visual capability, and it fails when that capability is weak. The authors provide attention visualizations that illustrate how the model’s focus changes with the examples.

Problem

Vision-language models sometimes ignore visual evidence when the input contradicts learned statistical regularities, leading to performance failures that may be misattributed to missing visual capabilities.

Method

The authors conduct controlled visual in-context learning experiments across five vision-centric tasks, using demonstrations to see if models can leverage visual evidence when it conflicts with training priors. They analyze visual representations to see how attention shifts toward grounding cues and away from prior-supporting cues. They also examine the limits of this effect when underlying visual capability is weak.

Results

Demonstrations yielded large gains on prior-conflicting counterfactual examples (+27.2% for Qwen3-VL 235B and +18.1% for Qwen3-VL 32B) while leaving real accuracy largely unchanged, with improvements ranging from +9.7% to +30.3% across five VLM families.

Contributions

The work reveals that VLMs possess visual grounding capabilities that standard evaluations may miss, demonstrates the effectiveness of controlled in-context learning for uncovering these capabilities, and provides analysis of attention shifts that explain the observed improvements.

Limitations and assumptions

The approach is limited when the model lacks sufficient visual grounding capability, and the findings are based on controlled in-context learning setups that may not reflect all real-world scenarios.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction