Projective Steering of In Situ-Identified Attention Heads Improves Directional Relation Prediction in Vision-Language Models

Patricia Stöhr, Hannah Kniesel, Timo RopinskiarXiv 2026

TL;DR

Vision-language models (VLMs) can write poetry about a photograph, yet routinely embarrass themselves when asked whether a dog is above or below a table. By acting like neurosurgeons—identifying the exact 1% of attention heads causally responsible for spatial reasoning and gently amplifying their natural signals at inference time—researchers significantly boost spatial accuracy without retraining the model or breaking its general intelligence.

What Problem Does This Paper Address?

Ask a modern VLM about relative positions—left vs. right, above vs. below, in front of vs. behind—and it often hallucinates or falls back on language biases rather than actually looking at the image. Fine-tuning models on massive spatial datasets fixes this, but it is expensive.

A lightweight alternative is model steering: nudging internal activations during inference without touching the model's weights. Typically, researchers use probing (training a mini-classifier on internal activations) to find which attention heads know about space, and then add a fixed "steering vector" to those heads.

This standard pipeline has two big flaws:

  1. Correlation isn't causation: Just because you can decode spatial info from an attention head doesn't mean the model actually uses that head to make its final decision.
  2. Blunt-force nudging: Adding a fixed vector to every input, regardless of context, leads to over- or under-steering, degrading overall output quality.

Methods

The authors overhaul both steps of the steering pipeline—how targets are found, and how they are steered.

Figure 1. Overview. We combine activation patching with a faithfulness analysis to identify, in situ, causally relevant attention heads to steer, and introduce projective steering, which amplifies a head’s mean-centered activation along a spatially discriminative direction. Steering causally important heads improves the VLMs’ directional relation prediction without harming the general VQA capabilities.
  1. In Situ Causal Identification (What to steer): Instead of training external probes, the authors use activation patching. They feed the VLM an image ("dog above table") and a swapped counterpart ("dog below table"). By copying an attention head's output from the first run into the second, they see if it flips the model's answer. Heads that restore the answer get high recovery scores. They then run a faithfulness analysis—iteratively muting (mean-ablating) top heads—to find the smallest group of heads necessary for the task (defined as the set where muting them wipes out $\ge 90\%$ of performance).
  2. Projective Steering (How to steer): Rather than adding a constant vector, the authors compute a unit vector $v$ representing the axis separating opposite spatial concepts (e.g., average "left" activation minus average "right" activation) and the head's overall mean activation $\mu$. For a new test input with activation $h$, they apply the update: $$h \leftarrow h + \alpha \langle h - \mu, v \rangle v$$ In plain English: they measure how far the head's current activation already leans along the spatial axis $v$, and amplify that specific deviation by a strength factor $\alpha$. It adapts dynamically to every single input without leaking test labels.

Datasets

To cleanly isolate spatial reasoning, the authors built a benchmark of complementary image pairs—every image has a twin where the two objects swap positions, ensuring balanced answers:

  • 2D Shapes (New): Synthetic images of colored dots, squares, and triangles (left/right, above/below).
  • 3D Objects (New): CLEVR-rendered scenes with spheres, cubes, and cylinders under randomized lighting and camera angles (adds front/behind).
  • WhatsUp (Adapted): Real-world household object pairs from the existing WhatsUp benchmark, reformatted with consistent spatial questions.
Figure 2. Datasets. We use three datasets of increasing complexity: 2D images of geometric shapes, 3D scenes with geometric objects, and images with real-world objects. Each dataset consists of image pairs: one image showing two objects in a directional relation, and its counterpart with the objects’ positions swapped. Each pair shares a directional-relation question.

To ensure steering doesn't cause brain damage elsewhere, they also evaluate general visual question answering (VQA) on VQAv2, GQA, and POPE (filtered to remove spatial questions).

Key Insights and Ideas

  • The Vision Encoder isn't driving the bus here: Activation patching across the entire VLM revealed almost zero causal recovery in vision encoder heads. The bottleneck—and the causal leverage—lives in the middle-to-late layers of the language model decoder.
  • Universal Spatial Heads exist: Across all three tested VLMs (Ministral3-3B, Gemma3-4B, InternVL3.5-4B), a tiny handful of specific heads show up in the top-10 for every spatial axis (horizontal, vertical, and depth).
  • Necessary, but not sufficient: Muting at most 1% of decoder heads causes spatial reasoning to completely collapse (high necessity). However, keeping only those 1% while muting the rest doesn't work—you need 71–100% of the model for sufficiency. Spatial computation is distributed, but passes through a tiny, steerable bottleneck.
  • Simpler isn't always easier for VLMs: Counterintuitively, Ministral made more mistakes on simple 2D geometric shapes than on 3D rendered scenes—likely because shaded 3D renders look closer to the natural photos dominating VLM training data.

Key Results

By steering at most 1% of LM decoder heads (just 1 head in Gemma3, 7 in Ministral3, and 12 in InternVL3.5):

  • Accuracy & F1 Gains: Projective steering boosts average directional accuracy by +7.9 percentage points (pp) on Gemma3, +6.5 pp on Ministral3, and +1.4 pp on InternVL3.5 (which already had a high 96.5% baseline). Macro-F1 jumped by +7.2, +6.3, and +2.0 pp, respectively.
  • Beats SOTA: It outperformed inference-time spatial methods (ScalingVis and AdaptVis, which intervene on 100% of decoder heads) as well as standard fixed-vector shift steering across all models.
  • Side-effect free: General VQA performance on VQAv2, GQA, and POPE remained virtually untouched (F1 shifts of at most -0.3 to -1.9 pp), whereas ScalingVis dropped Gemma's VQAv2 F1 by up to 14.3 pp.

Limitations and Future Work

  • Can't steer pure noise: Because projective steering amplifies a head's existing deviation from its mean ($h - \mu$), if a head is completely confused ($h \approx \mu$), the dot product is near zero and steering does nothing. While this smartly prevents the method from amplifying noise, it means it cannot rescue a prediction when the head carries no signal at all.
  • Compute cost of discovery: Activation patching requires sweeping over every head, which can be computationally heavy for massive models.
  • Beyond Attention: This study focused exclusively on attention heads; the authors note that exploring Multi-Layer Perceptrons (MLPs) is a promising next step.

Summary updated

BibTeX
@misc{stohr2026projective,
  author = {Patricia Stöhr and Hannah Kniesel and Timo Ropinski},
  title = {{Projective Steering of In Situ-Identified Attention Heads Improves Directional Relation Prediction in Vision-Language Models}},
  year = {2026},
  eprint = {2611.38708},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38708},
}
Figure