Geospatial Mechanistic Interpretability of Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated unprecedented capabilities across various natural language processing tasks. Their ability to process and generate viable text and code has made them ubiquitous in many fields, while their deployment as knowledge bases and "reasoning" tools remains an area of ongoing research. In geography, a growing body of literature has been focusing on evaluating LLMs' geographical knowledge and their ability to perform spatial reasoning. However, very little is still known about the internal functioning of these models, especially about how they process geographical information. In this chapter, we establish a novel framework for the study of geospatial mechanistic interpretability - using spatial analysis to reverse engineer how LLMs handle geographical information. Our aim is to advance our understanding of the internal representations that these complex models generate while processing geographical information - what one might call "how LLMs think about geographic information" if such phrasing was not an undue anthropomorphism. We first outline the use of probing in revealing internal structures within LLMs. We then introduce the field of mechanistic interpretability, discussing the superposition hypothesis and the role of sparse autoencoders in disentangling polysemantic internal representations of LLMs into more interpretable, monosemantic features. In our experiments, we use spatial autocorrelation to show how features obtained for placenames display spatial patterns related to their geographic location and can thus be interpreted geospatially, providing insights into how these models process geographical information. We conclude by discussing how our framework can help shape the study and use of foundation models in geography.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 42 of its 68 references that are in the map. First posted on arXiv 6 May 2025.
Builds on
42 of 68 references.
References · 42
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2023Mistral 7Bcited by 3,065
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2024Scaling and evaluating sparse autoencoderscited by 530
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2024Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Modelscited by 412
30 more
- 2023Language Models Represent Space and Timecited by 306
- 2019Do NLP Models Know Numbers? Probing Numeracy in Embeddingscited by 157
- 2020Probing Pretrained Language Models for Lexical Semanticscited by 156
- 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 112
- 2023GPT4GEO: How a Language Model Sees the World's Geographycited by 68
- 2020Pooling Methods in Deep Neural Networks, a Reviewcited by 52
- 2023Autonomous GIS: the next-generation AI-powered GIScited by 52
- 2019Probing What Different NLP Tasks Teach Machines about Function Word Comprehensioncited by 44
- 2021Discourse Probing of Pretrained Language Modelscited by 38
- 2023Charting New Territories: Exploring the Geographic and Geospatial Capabilities of Multimodal LLMscited by 34
- 2023Geo-knowledge-guided GPT models improve the extraction of location descriptions from disaster-related social media messagescited by 31
- 2023Are Large Language Models Geospatially Knowledgeable?cited by 30
- 2024CityGPT: Empowering Urban Spatial Cognition of Large Language Modelscited by 29
- 2024GeoLLM-Engine: A Realistic Environment for Building Geospatial Copilotscited by 27
- 2024Advancing Spatial Reasoning in Large Language Models: An In-Depth Evaluation and Enhancement Using the StepGame Benchmarkcited by 26
- 2023Dialectical language model evaluation: An initial appraisal of the commonsense spatial reasoning abilities of LLMscited by 20
- 2021Do Language Models Know the Way to Rome?cited by 18
- 2024Where to Move Next: Zero-shot Generalization of LLMs for Next POI Recommendationcited by 17
- 2023On the Promises and Challenges of Multimodal Foundation Models for Geographical, Environmental, Agricultural, and Urban Planning Applicationscited by 15
- 2021Syntactic Perturbations Reveal Representational Correlates of Hierarchical Phrase Structure in Pretrained Language Modelscited by 14
- 2024On the Scaling Laws of Geographical Representation in Language Modelscited by 14
- 2022Probing for Constituency Structure in Neural Language Modelscited by 13
- 2023Identifying Linear Relational Concepts in Large Language Modelscited by 12
- 2024Evaluating Large Language Models on Spatial Tasks: A Multi-Task Benchmarking Studycited by 12
- 2024Correctness Comparison of ChatGPT-4, Gemini, Claude-3, and Copilot for Spatial Taskscited by 10
- 2024Evaluating the Ability of Large Language Models to Reason about Cardinal Directionscited by 10
- 2024Measuring Geographic Diversity of Foundation Models with a Natural Language--based Geo-guessing Experiment on GPT-4cited by 8
- 2023More than Correlation: Do Large Language Models Learn Causal Representations of Space?cited by 7
- 2024Distortions in Judged Spatial Relations in Large Language Modelscited by 5
- 2024Do Sentence Transformers Learn Quasi-Geospatial Concepts from General Text?cited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
- 2025Explaining Large Language Models with gSMILEcited by 4
- 2026Interaction Locality in Hierarchical Recursive Reasoningcited by 1
- 2026Interaction Locality in Hierarchical Recursive Reasoning20 May 2026
- 2025Explaining Large Language Models with gSMILE27 May 2025
Similar, not cited
Close in wording, no citation either way
- 2025Can Large Language Models Integrate Spatial Data? Empirical Insights into Reasoning Strengths and Computational Weaknesses
- 2025Linear Spatial World Models Emerge in Large Language Models
- 2024PLUGH: A Benchmark for Spatial Understanding and Reasoning in Large Language Models
- 2026From Human Cognition to Neural Activations: Probing the Computational Primitives of Spatial Reasoning in LLMs
- 2024Can Large Language Models Create New Knowledge for Spatial Reasoning Tasks?
- 2026Do LLMs Build World Models From Text? A Multilingual Diagnostic of Spatial Reasoning
- 2024Can Large Language Models Reason about the Region Connection Calculus?
- 2025Around the World in 24 Hours: Probing LLM Knowledge of Time and Place