mlsanityData to 7 Oct 2026

Distortions in Judged Spatial Relations in Large Language Models

arXiv 2401.04218 ↗First posted 8 Jan 2024cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

We present a benchmark for assessing the capability of Large Language Models (LLMs) to discern intercardinal directions between geographic locations and apply it to three prominent LLMs: GPT-3.5, GPT-4, and Llama-2. This benchmark specifically evaluates whether LLMs exhibit a hierarchical spatial bias similar to humans, where judgments about individual locations' spatial relationships are influenced by the perceived relationships of the larger groups that contain them. To investigate this, we formulated 14 questions focusing on well-known American cities. Seven questions were designed to challenge the LLMs with scenarios potentially influenced by the orientation of larger geographical units, such as states or countries, while the remaining seven targeted locations were less susceptible to such hierarchical categorization. Among the tested models, GPT-4 exhibited superior performance with 55 percent accuracy, followed by GPT-3.5 at 47 percent, and Llama-2 at 45 percent. The models showed significantly reduced accuracy on tasks with suspected hierarchical bias. For example, GPT-4's accuracy dropped to 33 percent on these tasks, compared to 86 percent on others. However, the models identified the nearest cardinal direction in most cases, reflecting their associative learning mechanism, thereby embodying human-like misconceptions. We discuss avenues for improving the spatial reasoning capabilities of LLMs.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 15 of its 30 references that are in the map. First posted on arXiv 8 Jan 2024.

Builds on

15 of 30 references.

References · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  5. 2023Bias and Fairness in Large Language Models: A Surveycited by 626
  6. 2020Artificial Intelligence, Values and Alignmentcited by 443
  7. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
  8. 2023Evaluating the Logical Reasoning Ability of ChatGPT and GPT-4cited by 202
  9. 2023How well do Large Language Models perform in Arithmetic tasks?cited by 130
  10. 2022Capturing Failures of Large Language Models via Human Cognitive Biasescited by 97
  11. 2023GPT4GEO: How a Language Model Sees the World's Geographycited by 68
  12. 2023Autonomous GIS: the next-generation AI-powered GIScited by 52
3 more
  1. 2023GeoGPT: Understanding and Processing Geospatial Tasks through An Autonomous GPTcited by 40
  2. 2023Evaluating the Effectiveness of Large Language Models in Representing Textual Descriptions of Geometry and Spatial Relationscited by 9
  3. 2023An Evaluation of ChatGPT-4's Qualitative Spatial Reasoning Capabilities in RCC-8cited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Do Vision-Language Models Represent Space and How? Evaluating Spatial Frame of Reference Under Ambiguities
  2. 2025Can Large Language Models Integrate Spatial Data? Empirical Insights into Reasoning Strengths and Computational Weaknesses
  3. 2024Evaluating Large Language Models on Spatial Tasks: A Multi-Task Benchmarking Study
  4. 2026Mechanistic Diagnostics of Spatial Lexical Bias in Multimodal Large Language Model Spatial Reasoning
  5. 2023Are Large Language Models Geospatially Knowledgeable?
  6. 2026From Human Cognition to Neural Activations: Probing the Computational Primitives of Spatial Reasoning in LLMs
  7. 2026Do LLMs Build World Models From Text? A Multilingual Diagnostic of Spatial Reasoning
  8. 2025Stuck in the Matrix: Probing Spatial Reasoning in Large Language Models