Manuscript Offprint

arXiv:2610.13527

S-Space: Exploring Spatial Workspace in Multimodal Language Models

Zhiyuan Shi, Xiang Li, Xingzhuo Guo, Shangchen Miao, Weiliang Chen, Qiyu Dai, Jinshan Ren, Jiangran Lyu, Fangfu Liu, Mingsheng Long, Jialong Wu

Abstract

Multimodal language models (MLLMs) exhibit promising spatial reasoning capabilities, yet the internal mechanisms supporting them remain poorly understood. We uncover S-Space, a linear representation subspace in which object-token representations encode continuous coordinates along horizontal, vertical, and distance axes. Although we identify these axes by differentiating spatial-answer scores with respect to object-token activations, S-Space is intrinsic rather than induced by specific data or prompts, remaining readable under non-spatial questions. We show that S-Space functions as an internal spatial workspace of MLLMs. Perception encodes object locations into it, forming spatial representations that can be directly read out to support accurate spatial judgments. Internal reasoning transforms it for changing viewpoints. Verbal responses selectively access it, evidenced by causal interventions that alter spatial judgments while largely preserving non-spatial responses. Case studies further show that S-Space assigns locations to unseen entities and the observer, and connects physical directions with abstract linguistic meanings, suggesting both the capabilities and limitations of large-scale language training. Finally, we use S-Space as a diagnostic tool for spatial reasoning failures. Direction-word readouts reveal systematic coupling between cardinal and image-relative reference frames. More importantly, a perception-computation decomposition exposes a key bottleneck: MLLMs can form capable spatial representations, yet fall short in the spatial transformations required to reason reliably across viewpoint changes.

Date: October 8, 2026

Project Page: https://mirros.ai/blog/s-space

Code: https://github.com/mirros-lab/s-space

1 Introduction

Multimodal large language models (MLLMs) [1–4] have rapidly advanced in spatial intelligence [5, 6], demonstrating utility in reconstruction [7, 8], planning [9], navigation [10], and manipulation [11, 12] in the physical world. Despite this growing range of applications, robust spatial reasoning remains a fundamental challenge for MLLMs, with substantial performance gaps persisting on tasks that humans solve effortlessly [13–15]. Interpreting these limitations requires looking beyond end-to-end performance: external behaviors such as answers and actions alone reveal little about where failures arise, while the internal representations and mechanisms remain poorly understood and underdiagnosed.

How is spatial information represented inside an MLLM, and how does it shape the model's responses? Research on human visual cognition offers a useful perspective: there is a mental workspace in which internal representations are maintained and manipulated in the human brain [16, 17]. While existing works have explored spatial encodings and representational biases in MLLMs [18, 19], a simple and unified explanation of how spatial information is encoded, transformed, and ultimately used to produce responses remains to be established. We ask whether MLLMs similarly possess an internal spatial workspace akin to that of the human brain. Uncovering such a mechanism could help explain spatial reasoning failures and point toward targeted improvements.

In this work, we uncover S-Space, a three-dimensional linear subspace of intermediate representations that functions as an internal spatial workspace in MLLMs. Using a simple gradient-based procedure, we identify fixed spatial orientations that generalize across datasets, tasks, and prompts, defining axes for left-right, above-below, and close-far directions. As illustrated in Figure 1, object locations can then be directly read out as continuous coordinates through linear projection of their representations [20]. Experiments demonstrate that S-Space accurately encodes object locations and provides spatial information that causally shapes the model's judgments, while remaining readable across prompts even when the model is answering questions unrelated to space.

Figure

A large wooden ship 1^{1} with three masts 2^{2} sails on a lake 3^{3} near a red torii gate 4^{4} and a snow-capped mountain in the background

(a) Molmo2-ER.

A modern living room features a white sectional sofa 1^{1}, a green armchair 2^{2}, a wooden coffee table 3^{3}, a large tree 4^{4}, a painting 5^{5}, and a floor lamp 6^{6} on a dark rug 7^{7}.

(b) Qwen3.5-4B.

A police car 1^{1} with flashing lights 2^{2} is parked on a grassy hillside 3^{3} near a lighthouse 4^{4} and ocean, with a man 5^{5} on a bicycle 6^{6} and a dog 7^{7} nearby

(c) Qwen3.6-27B.

Figure 1 Object coordinates read out from S-Space across MLLMs. For each input image and caption, the intermediate representations of object-name tokens are linearly projected onto the three axes of S-Space to obtain continuous coordinates. Colors and numbers link object names, image regions, and their corresponding coordinates.

With S-Space, we examine the spatial content represented within MLLMs. Through case studies, we show that the workspace brings visual evidence and linguistic meanings into a shared spatial geometry, extending its content beyond directly visible objects. Our final analysis comes as a diagnosis of spatial reasoning failures, building on S-Space's ability to separate spatial perception from subsequent computation. We study viewpoint-changing problems [15] by constructing an oracle that transforms S-Space coordinates, revealing that the encoded spatial information supports accurate answers even when the model fails to generate them. Direction-word readouts further reveal systematic coupling between cardinal and image-relative directions, offering insight into reference-frame confusion [21]. These diagnoses expose a key bottleneck in spatial reasoning: MLLMs can form accurate perceptual representations yet fail to draw reliable spatial conclusions from them.

Our contributions can be summarized as follows:

  • To the best of our knowledge, we are the first to systematically identify and characterize an internal spatial workspace in MLLMs, revealing how spatial information can be encoded, updated, and causally used within the model's internal representations.

  • We propose a simple gradient-based method for identifying S-Space, enabling accurate and generalizable continuous coordinate readouts along fixed spatial directions.

  • We establish S-Space as a diagnostic tool for spatial reasoning failures, separating spatial perception from subsequent computation and exposing limitations in how models use available spatial information.

References (43)