GPSBench: Do Large Language Models Understand GPS Coordinates?
Thinh Hung Truong, Jey Han Lau, Jianzhong Qi
TL;DR
GPSBench systematically probes intrinsic geospatial reasoning in LLMs across 17 tasks and two tracks (Pure GPS and Applied) by deriving ground truth from geodetic computations and GeoNames data. The benchmark reveals that LLMs handle basic coordinate operations reasonably, but struggle with complex spherical geometry and fine-grained place localization, with geographic knowledge showing hierarchical degradation from country to city level. GPS augmentation improves downstream spatial tasks, while finetuning can boost geometric computation at the expense of world knowledge. Model scaling generally boosts performance, and robustness to coordinate noise indicates genuine geographic understanding rather than memorization. The work provides a publicly available dataset and code to guide future model development and evaluation for location-aware AI systems.
Abstract
Large Language Models (LLMs) are increasingly deployed in applications that interact with the physical world, such as navigation, robotics, or mapping, making robust geospatial reasoning a critical capability. Despite that, LLMs' ability to reason about GPS coordinates and real-world geography remains underexplored. We introduce GPSBench, a dataset of 57,800 samples across 17 tasks for evaluating geospatial reasoning in LLMs, spanning geometric coordinate operations (e.g., distance and bearing computation) and reasoning that integrates coordinates with world knowledge. Focusing on intrinsic model capabilities rather than tool use, we evaluate 14 state-of-the-art LLMs and find that GPS reasoning remains challenging, with substantial variation across tasks: models are generally more reliable at real-world geographic reasoning than at geometric computations. Geographic knowledge degrades hierarchically, with strong country-level performance but weak city-level localization, while robustness to coordinate noise suggests genuine coordinate understanding rather than memorization. We further show that GPS-coordinate augmentation can improve in downstream geospatial tasks, and that finetuning induces trade-offs between gains in geometric computation and degradation in world knowledge. Our dataset and reproducible code are available at https://github.com/joey234/gpsbench
