HackerPapers

arXiv:2506.02996cs.AI

Linear Spatial World Models Emerge in Large Language Models

Matthieu Tehenan, Christian Bolivar Moya, Tenghai Long, Guang Lin

Abstract

Large language models (LLMs) have demonstrated emergent abilities across diverse tasks, raising the question of whether they acquire internal world models. In this work, we investigate whether LLMs implicitly encode linear spatial world models, which we define as linear representations of physical space and object configurations. We introduce a formal framework for spatial world models and assess whether such structure emerges in contextual embeddings. Using a synthetic dataset of object positions, we train probes to decode object positions and evaluate geometric consistency of the underlying space. We further conduct causal interventions to test whether these spatial representations are functionally used by the model. Our results provide empirical evidence that LLMs encode linear spatial world models.

arXiv comments
Journal reference
DOI
Subjects
cs.AIArtificial Intelligence

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 2 threads, from Dec 2025 to Mar 2026.

Comments linking this paper, per year.

Discussed in comments2 threads

  1. Bag of words, have mercy on us 1 comment
    • > If you feed it enough flat-earther content, as well a physics books, an LLM will happily tells you that the earth is flat, and explain you with lots of physics why it cannot be flat. This is a terrible example, because it's what humans do as well. See religious, or indeed…

      ben_wView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.