Grounding Isn't Knowing: Do VLMs Need Object Localization for Spatial Reasoning?

Xiwei Liu, Yulong Li, Xinlin Zhuang, Xuhui Li, Zhixiang Lu, Haolin Yang, Imran Razzak, Yutong XiearXiv 2026

TL;DR

This paper investigates whether Vision-Language Models (VLMs) must precisely localize objects to reason about their spatial relationships. Using mechanistic interpretability tools on LLaVA-1.5 and Qwen2.5-VL, the authors demonstrate that spatial reasoning relies on coarse, object-centered layouts rather than exact boundary geometry, operating via a staged process that utilizes largely distinct neural circuits from precise localization.

What Problem Does This Paper Address?

Modern VLMs can easily answer spatial questions like "Is the mug behind the cup?" However, a correct answer doesn't prove the model actually understands the spatial layout; it could be relying on language priors, context clues, or coarse scene regularities.

Crucially, the AI community often conflates three distinct capabilities:

  1. Precise localization: Finding exact object boundaries (bounding boxes).
  2. Relational grounding: Binding target and reference objects to spatially anchored representations.
  3. Spatial reasoning: Transforming those representations into a directed relation (e.g., left, right, behind).

This paper addresses a fundamental architectural question: Is computing a precise bounding box a necessary intermediate step for a VLM to perform spatial reasoning?

Methods

The authors deploy a comprehensive suite of mechanistic interpretability techniques to dissect LLaVA-1.5 and Qwen2.5-VL:

  • Visual Information Ablation (Token Ablation): They selectively replace object-aligned visual tokens (or eroded/dilated versions of the object masks) with a neutral, global average visual embedding. This tests how the loss of fine boundary data versus interior object data impacts performance.
  • Layer-wise Probing & Logit Lens: They train linear classifiers at each decoder layer to see where 2D spatial coordinates become decodable. Concurrently, they use the logit lens technique to track exactly when the final relational answer emerges in the network.
  • Attention Knockout: They systematically block attention from post-image tokens to object-aligned tokens within specific layer groups to identify where spatial information is actively extracted.
  • Causal Mediation Analysis (CMA): Using activation patching, they swap internal activations between runs of clean images and counterfactual "object-removed" images. This isolates the specific attention heads causally responsible for carrying spatial and localization information.

Datasets

The study utilizes a carefully curated dataset derived from the What’s Up benchmark (Subsets A and B).

  • It contains 1,228 object annotations across 614 images, focusing strictly on directional relations (left of, right of, in front of, behind).
  • Object-Removed Control Set: To prevent models from cheating via background context, the authors used the LaMa inpainting tool to remove target objects. They only analyzed image pairs where the model correctly identified the object in the original image but failed when it was inpainted, ensuring the network was genuinely leveraging real object evidence.
Examples of the curated dataset and its inpainted counterparts.

Key Insights and Ideas

  • Grounding $\neq$ Precise Localization: Erasing an object's interior tokens severely damages the model's ability to output a precise bounding box, yet its spatial relation accuracy remains almost entirely unaffected. The model needs to anchor where an object roughly is, but it doesn't care about its exact geometric boundaries.
  • A Staged Pipeline: Spatial processing is sequential but non-bottlenecked. Object position information is decoded early-to-midway through the LLM layers, whereas the final relational decision is formed much later in the deep layers.
  • Sparsely Overlapping Circuits: While localization and spatial reasoning share early grounding steps, they quickly diverge. They are mediated by a very small, sparse set of attention heads that are highly task-specific.

Key Results

  • Robustness to Ablation: When target object tokens were ablated, localization accuracy plummeted drastically (e.g., Qwen2.5-VL-7B's target localization dropped by over 64 points). Remarkably, its spatial relation accuracy only dropped by a maximum of 1.32 points.
  • Temporal Separation: As shown via layer-wise probing, positional coordinates peak in decodability around layer 10–14. However, the logit lens reveals that the actual spatial relation answer remains near chance until sharply rising in the final layers (e.g., after layer 19 for Qwen).
Positional decoding accuracy peaks early, while relation accuracy emerges late in the network.
  • Head Specialization: Among the top 10 causally essential attention heads identified by CMA, LLaVA-1.5-13B shared only 3 heads between the two tasks, and Qwen2.5-VL-7B shared only 2. This proves that the apparent layer-level overlap masks a stark functional specialization at the head level.

Limitations and Future Work

While this study provides a clear look inside the VLM spatial engine, the authors note a few limitations:

  • The evaluation is restricted to relatively simple, clean images containing pairs of distinct household objects.
  • It remains an open question whether these insights hold true for highly crowded scenes, complex 3D spatial environments, or video-based temporal spatial reasoning.

Summary updated

BibTeX
@misc{liu2026grounding,
  author = {Xiwei Liu and Yulong Li and Xinlin Zhuang and Xuhui Li and Zhixiang Lu and Haolin Yang and Imran Razzak and Yutong Xie},
  title = {{Grounding Isn't Knowing: Do VLMs Need Object Localization for Spatial Reasoning?}},
  year = {2026},
  eprint = {2608.23074},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.23074},
}
Figure