The Dual Mechanisms of Spatial Reasoning in Vision-Language Models

Kelly Cui, Nikhil Prakash, Ayush Raina, David Bau, Antonio Torralba +1 more
3/23/2026
cs.CVcs.LG

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Many multimodal tasks, such as image captioning and visual question answering, require vision-language models (VLMs) to associate objects with their properties and spatial relations. Yet it remains unclear where and how such associations are computed within VLMs. In this work, we show that VLMs rely on two concurrent mechanisms to represent such associations. In the language model backbone, intermediate layers represent content-independent spatial relations on top of visual tokens corresponding to objects. However, this mechanism plays only a secondary role in shaping model predictions. Instead, the dominant source of spatial information originates in the vision encoder, whose representations encode the layout of objects and are directly exploited by the language model backbone. Notably, this spatial signal is distributed globally across visual tokens, extending beyond object regions into surrounding background areas. We show that enhancing these vision-derived spatial representations globally across all image tokens improves spatial reasoning performance on naturalistic images. Together, our results clarify how spatial association is computed within VLMs and highlight the central role of vision encoders in enabling spatial reasoning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cui2026dual,
  title  = {The Dual Mechanisms of Spatial Reasoning in Vision-Language Models},
  author = {Kelly Cui and Nikhil Prakash and Ayush Raina and David Bau and Antonio Torralba and Tamar Rott Shaham},
  year   = {2026},
  eprint = {2603.22278},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.22278v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.22278.svg)](https://codeofpaper.com/paper/2603.22278)

Discussion