Steer a VLM's gaze over images

Redirecting ten gaze heads overrides an explicit text prompt: a click-to-steer demo and a prompt-conflict sweep in Qwen3-VL-2B.

BuildingA ten-head gaze-steering handle that overrides a VLM's text prompt — a click-to-steer demo plus a prompt-conflict sweep
ModelsQwen3-VL-2B (subject) · Claude Sonnet (1-of-6 panel judge) · random-head control
TopicsMultimodal · Vision · Steering · Circuits & causal tracing
Try it yourself. Open the finished run in your own workspace and pick up where it leaves off.

When a vision-language model describes an image, a handful of attention heads point at the region it is talking about. Redirecting those ten "gaze heads" does more than nudge the caption: it can override an explicit text prompt that asks about a different region.

The obvious way to control what a model describes is to ask it in words, and on these comic strips a panel-specific prompt is a strong instruction the model follows on its own 82.2% of the time. The open question is which handle wins when the prompt and the steering point at different panels.

76.5% of the time, in a direct conflict, the caption follows the steered panel and only 4.7% follow the prompt. A ten-head attention edit beats the written instruction in roughly three of four cases.

This recipe builds a driveable, stress-tested handle on a VLM's gaze: a replication of gaze-head steering at 2B, an explorer over the real generations, and a prompt-conflict sweep that measures how dominant the handle is.

Key takeaways

Gaze Heads in a nutshell

When a VLM describes an image, its language backbone attends back to the image tokens. Gandikota & Bau (arXiv:2606.14703) find that this mechanism is localized: a small number of "gaze heads" concentrate on the specific region the model is currently describing. Because the signal lives in attention, it is also a control surface. Forcing those heads to attend to a chosen region steers the generated description toward it, without any fine-tuning.

The paper measures this on six-panel comic strips, where the model is asked which panel it is describing and the six panels give a clean 1-of-6 readout. The headline at the smallest model it quantifies, Qwen3-VL-2B, is that steering the top-10 gaze heads makes the model describe a chosen panel 68.6% of the time.

The control is what makes that number mean something. Steering ten random non-gaze heads instead leaves the chosen-panel rate at 1.3%, near the floor, so the effect is specific to the heads that track gaze rather than a general consequence of perturbing attention. Chance, picking one panel of six, is 16.7%.

The method, end to end:

Recipe goal: measure gaze-head steering robustness across prompts

The research objective of this thread was to take the paper's claim from a single number to something a reader can drive and stress, then to test how robust the mechanism is against the most natural competitor: the prompt itself. The thread built the evidence in three steps.

1. Replicate the mechanism (experiment #17). Steering the top-10 gaze heads on 250 held-out strips makes Qwen3-VL-2B describe the chosen panel 68.4% of the time (95% CI [66.1, 70.7]), against the paper's 68.6%. The random-head control sits at 1.4% and chance at 16.7%, with non-overlapping intervals. The discover and evaluation strips are disjoint, split by comic id, so head selection cannot leak into the score. A sweep over the number of steered heads peaks near ten, matching the paper's choice.

Horizontal bar chart of steering accuracy: gaze heads (top-10) 68.4%, chance 16.7%, random heads 1.4%, with a dashed line marking the paper's 68.6%
The mechanism reproduces at 2B. Steering accuracy on 250 held-out strips (1,500 strip-panel pairs per condition). Gaze-head steering lands on the paper's 68.6%; the random-head control stays near the floor, so the effect is specific to the heads that track gaze.

2. Make it tangible (experiment #26). The replication's stored generations became a self-contained explorer: pick a strip, see the base caption, click any panel and watch the caption the model produced when its gaze heads were redirected there. The explorer reuses experiment #17's generations verbatim, and a live GPU check confirmed the steering hook reproduces those stored outputs bit-for-bit, so the demo shows real model behavior rather than a mock-up.

3. Push past the paper (experiment #30). A real signal invites a harder question: the paper steers under a neutral prompt, but what if the prompt itself asks about a specific panel? The follow-up sweeps seven prompts (one panel-agnostic, six panel-specific by position) against every steering target, on 100 strips, and judges each caption.

Verdict: On these comic strips, the gaze-head attention handle is not just a steering knob but a dominant one: redirecting ten heads overrides an explicit panel-specific text prompt in roughly three of four direct conflicts.

Where to take it next

Does the override survive at larger scales and against stronger prompts? Re-run the conflict sweep at 8B and across other VLM families, widen the prompt axis to content-based and system-level instructions, and patch or ablate to locate where in the stack the gaze heads outcompete the instruction-following pathway.

Where do the gaze heads look when nobody is steering them? Track the gaze heads' attention across a broad range of natural images with no intervention, and check whether they reliably mark the region a VLM is describing in everyday scenes.

Does gaze-steering work on natural images, not just tidy comic panels? Rebuild discovery and steering on a region-annotated set such as COCO, steer toward an object's bounding box, and judge whether the description follows.