NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Few Contrastive Attention Heads Enable Visual Grounding in Large Vision-Language Models

Neha Sengar, Andres Saurez, Dongsoo Har, Sangkeum Lee

NeurIPS page · Open on the map

Category: Vision-Language Models › Fine-Grained Vision-Language Alignment · Type: new method · Keywords: visual grounding, attention heads, zero-shot learning, large vision-language models, contrastive prompting

Areas: Multimodal › Multimodal Integration and Robustness › Visual Grounding and Perception; Computer Vision & 3D › Visual Multimodal Perception › Object Part Discovery

Summary

The paper introduces an attention-head discovery framework that extracts visual grounding from large vision-language models without any labeled data or architectural changes, achieving state-of-the-art zero-shot performance.

Explained to a 5-year-old

A big computer model can look at pictures and understand words. Usually, we have to teach it a lot to make it point to things in pictures. This paper shows we can ask the model two different questions and look at its thoughts to find where it already knows how to point. By using only a few special parts of the model, it can point to objects almost as well as if we had taught it. This makes it possible to use the model for picture-word tasks without needing lots of labeled pictures.

Explained to a 5-year-old, longer

A big computer program can see pictures and understand words written in language. To make it point to the right part of a picture when you say something, we usually need to train it with many examples. This paper finds a way to do that without any training examples. It asks the program two different questions: one about what you want to find and one about what not to find. By comparing the program's answers to these two questions, we can see which parts of the program already know how to point. The program has many small pieces called attention heads that help it focus on different things. The method looks at only the ten most important heads and uses their differences to decide where the object is. This approach works well on several picture-word tests, beating many existing methods. It also works without needing extra labels about what objects are called. The result is a faster, cheaper way to get visual grounding from large models. It means you can use powerful picture-word tools even when you don't have a lot of labeled data. Overall, the paper shows that clever questioning can unlock hidden abilities in big models.

For a technical reader

The paper presents a zero-shot method to extract visual grounding from existing large vision-language models without any fine-tuning or architectural changes. It exploits the observation that text and image embeddings are roughly linearly separable, allowing spatial cues to be read from the model’s attention heads. By issuing paired prompts (target and contrastive) and measuring differential residuals through the heads’ output matrices, the approach computes four scores per head that indicate how much each head contributes to localization. The top-10 heads are then combined using importance-weighted query differences to produce bounding boxes, achieving state-of-the-art results on RefCOCO, RefCOCO+, and RefCOCOg. This technique enables efficient deployment of grounding capabilities in pre-trained multimodal models.

Problem

Large Vision-Language Models (LVLMs) typically need fine-tuning and architectural changes to perform visual grounding, which is costly and limits their use. The challenge is to enable visual grounding in LVLMs without any labeled data or model modifications.

Method

The approach leverages the observation that text and image features are approximately linearly disentangled, enabling spatial information extraction from LVLMs. It uses dual prompting with target and contrastive descriptions to compute differential residual representations, projects them through attention head output matrices, and evaluates per-head spatial contributions via four complementary scores. Finally, it aggregates signals from the top-10 attention heads using importance-weighted query differences to localize objects.

Results

The approach improves over training-free non-LVLM baselines by up to 27.95% on RefCOCO, 21.93% on RefCOCO+, and 8.40% on RefCOCOg, and beats the LVLM baseline by up to 8.04% on RefCOCO without ground-truth category labels.

Contributions

It provides a zero-shot, label-free method to discover discriminative attention heads for visual grounding in existing LVLMs, requiring no architectural changes. The method achieves superior performance across multiple benchmarks while eliminating the need for manual head selection or supervised training.

Limitations and assumptions

The approach assumes that text and image features are approximately linearly disentangled, which may not hold for all models, and it only leverages the top-10 attention heads, potentially overlooking useful heads beyond this set.

Practical relevance

This work enables practitioners to deploy visual grounding capabilities in large vision-language models on modest hardware without costly data annotation or model fine-tuning.

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