What Can Spatial Judgments Tell Us About Mental Imagery in Language Models?

Qwen2.5-3B’s answers reflected spatial relations implied by a text. A correct answer alone leaves open when the model inferred the location and whether it formed a mental image while reading. We tested 256 shelf descriptions, each followed in separate trials by a question about an explicitly located object or one whose location had to be inferred. The model scored 100% and 73.6%, respectively. All three prespecified tests at layer 18 were nonsignificant after Holm correction. At scene end, a linear probe decoded even explicitly stated locations with only 53.5% accuracy on held-out noun sets. For inferred locations, accuracy was 50.0% at scene end and 49.6% just after the question named the object. Swapping the inferred-location component after naming had no significant advantage over a matched random-direction intervention. In a secondary layer-24 analysis, a probe decoded explicitly stated locations just after naming with 97.7% accuracy on held-out noun sets and 95.7% in a subsequent check on held-out sentence orders. For inferred locations at the answer cue, accuracy was 69.1% on held-out noun sets and 43.8% on held-out sentence orders. The internal measurements leave both inference during reading and inference in response to the question compatible with the results. Data and code availability The accompanying replication archive contains the synthetic stimuli, experimental protocols, model scores, saved hidden states, intervention results, and analysis code. Instructions for the matched-scene experiment are in followup/README.txt. The archive also includes the records of the earlier experiments. AI use and author contribution Hasaqui Yamanobe formulated the research question and directed the scope of the study. ChatGPT helped develop the procedures, wrote and executed the code, analyzed model outputs, prepared the figure, and drafted and translated the manuscript. It also supplied the illustrative responses in the appendix. For this revision, ChatGPT used a separate calculation on the archived trial scores, held-out predictions, and intervention outputs to verify the headline behavioral scores, the readout comparisons, and the three primary adjusted p-values. No independent human recalculation is documented.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-01
DOI
https://doi.org/10.5281/zenodo.24693363
Primary Topic
Multimodal Machine Learning Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

What Can Spatial Judgments Tell Us About Mental Imagery in Language Models?

Hasaqui Yamanobe
Zenodo (CERN European Organization for Nuclear Research)
Multimodal Machine Learning Applications
preprint

What Can Spatial Judgments Tell Us About Mental Imagery in Language Models?

Hasaqui Yamanobe
preprint en

Abstract

Qwen2.5-3B’s answers reflected spatial relations implied by a text. A correct answer alone leaves open when the model inferred the location and whether it formed a mental image while reading. We tested 256 shelf descriptions, each followed in separate trials by a question about an explicitly located object or one whose location had to be inferred. The model scored 100% and 73.6%, respectively. All three prespecified tests at layer 18 were nonsignificant after Holm correction. At scene end, a linear probe decoded even explicitly stated locations with only 53.5% accuracy on held-out noun sets. For inferred locations, accuracy was 50.0% at scene end and 49.6% just after the question named the object. Swapping the inferred-location component after naming had no significant advantage over a matched random-direction intervention. In a secondary layer-24 analysis, a probe decoded explicitly stated locations just after naming with 97.7% accuracy on held-out noun sets and 95.7% in a subsequent check on held-out sentence orders. For inferred locations at the answer cue, accuracy was 69.1% on held-out noun sets and 43.8% on held-out sentence orders. The internal measurements leave both inference during reading and inference in response to the question compatible with the results. Data and code availability The accompanying replication archive contains the synthetic stimuli, experimental protocols, model scores, saved hidden states, intervention results, and analysis code. Instructions for the matched-scene experiment are in followup/README.txt. The archive also includes the records of the earlier experiments. AI use and author contribution Hasaqui Yamanobe formulated the research question and directed the scope of the study. ChatGPT helped develop the procedures, wrote and executed the code, analyzed model outputs, prepared the figure, and drafted and translated the manuscript. It also supplied the illustrative responses in the appendix. For this revision, ChatGPT used a separate calculation on the archived trial scores, held-out predictions, and intervention outputs to verify the headline behavioral scores, the readout comparisons, and the three primary adjusted p-values. No independent human recalculation is documented.

Zenodo (CERN European Organization for Nuclear Research)
Multimodal Machine Learning Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon