Foundation Models for Geospatial Reasoning: Assessing Capabilities of Large Language Models in Understanding Geometries and Topological Spatial Relations
Yuhan Ji, Song Gao, Ying Nie, Ivan Maji\'c, Krzysztof Janowicz

TL;DR
This study evaluates large language models' ability to understand and reason with geospatial geometries and topological relations, revealing promising accuracy levels and highlighting potential for developing geo-foundation models.
Contribution
It introduces a systematic assessment of LLMs in geospatial reasoning, comparing different approaches and demonstrating GPT-4's superior performance in understanding spatial relations.
Findings
GPT-4 with few-shot prompting achieved over 0.66 accuracy.
Embedding and prompt engineering approaches both achieved over 0.6 accuracy.
GPT models can interpret inverse topological relations and translate vernacular descriptions.
Abstract
Applying AI foundation models directly to geospatial datasets remains challenging due to their limited ability to represent and reason with geographical entities, specifically vector-based geometries and natural language descriptions of complex spatial relations. To address these issues, we investigate the extent to which a well-known-text (WKT) representation of geometries and their spatial relations (e.g., topological predicates) are preserved during spatial reasoning when the geospatial vector data are passed to large language models (LLMs) including GPT-3.5-turbo, GPT-4, and DeepSeek-R1-14B. Our workflow employs three distinct approaches to complete the spatial reasoning tasks for comparison, i.e., geometry embedding-based, prompt engineering-based, and everyday language-based evaluation. Our experiment results demonstrate that both the embedding-based and prompt engineering-based…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
