GPSBench: Do Large Language Models Understand GPS Coordinates?

Thinh Hung Truong, Jey Han Lau, Jianzhong Qi

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

Introduction

As Large Language Models (LLMs) are increasingly integrated into navigation, robotics, and mapping applications, their ability to reason about real-world geography has become a critical frontier. While existing spatial reasoning benchmarks often focus on small-scale, "tabletop" environments, real-world geographic reasoning involves massive scales, spherical geometry, and the integration of raw coordinates with factual world knowledge.

This paper introduces GPSBench, a comprehensive benchmark designed to evaluate how well LLMs natively understand raw GPS coordinates (latitude and longitude) without relying on external mapping APIs. Understanding these intrinsic capabilities is vital for applications requiring low latency, offline access, or strict privacy.

Methodology

The researchers evaluated 14 state-of-the-art LLMs—including models from the GPT, Gemini, Claude, Qwen, and Mistral families—in a zero-shot setting. To isolate different types of spatial intelligence, the benchmark is divided into two distinct tracks:

  1. Pure GPS Track: Mathematical tasks requiring no world knowledge, such as computing Haversine distances, bearings, and spherical polygon areas.
  2. Applied Track: Tasks requiring the integration of coordinates with real-world knowledge, such as identifying a city from a coordinate, finding spatial outliers, or determining relative positions.

To ensure models were not simply memorizing training data, the authors probed robustness by injecting Gaussian noise into coordinates. They also investigated the trade-offs involved in fine-tuning models specifically for GPS tasks.

The GPSBench Dataset

GPSBench is a massive dataset containing 57,800 samples across 17 tasks. The data was generated using the authoritative GeoNames database, covering over 18,000 unique global locations across six continents. In addition to the core benchmark, the authors utilized existing spatial benchmarks (MapEval and Hierarchical Spatial) to test if augmenting standard text prompts with explicit GPS coordinates improves downstream performance.

Results and Analysis

The evaluation revealed a significant "capability gap": most LLMs are notably better at applied geographic reasoning than at pure geometric computation. While models possess rich knowledge about places, they struggle with the underlying mathematics of the spherical Earth.

Performance comparison of 14 LLMs across Applied and Pure GPS tracks, highlighting the capability gap.

Key Findings

  • Hierarchical Knowledge Degradation: LLMs tend to view the world like a "blurry map." While they are excellent at identifying the correct country for a given coordinate (up to 97% accuracy), their ability to pinpoint exact cities collapses to under 25%.
The degradation of geographic accuracy as the required granularity increases from country to city level.
  • Genuine Understanding vs. Memorization: Model performance remained stable even when random noise (from 10m to 1km) was added to input coordinates. This suggests that LLMs have learned generalized, continuous spatial representations rather than just memorizing coordinate strings.
  • Top Performers: GPT-5-mini achieved the highest Applied Track accuracy (74.1%), while GPT-5.1 dominated the Pure GPS Track (84.4%), showing that flagship "reasoning" models are beginning to bridge the gap in mathematical spatial tasks.
  • The Fine-tuning Trade-off: Training specifically on GPS tasks improves geometric math skills but can lead to "catastrophic forgetting" of real-world geographic knowledge, suggesting these are distinct skills that are difficult to optimize simultaneously.

Discussion and Limitations

While GPSBench provides a rigorous foundation, the authors note several limitations. The benchmark currently focuses on text-based LLMs; multimodal models that process visual map data may exhibit different behaviors. Additionally, the reliance on the GeoNames database biases the data toward populated urban areas, leaving remote regions underrepresented.

Future work will explore continual learning techniques to enhance geodetic mathematical capabilities without degrading the models' pre-trained world knowledge.

Summary updated

BibTeX
@misc{truong2026gpsbench,
  author = {Thinh Hung Truong and Jey Han Lau and Jianzhong Qi},
  title = {{GPSBench: Do Large Language Models Understand GPS Coordinates?}},
  year = {2026},
  eprint = {2602.16105},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.16105},
}
Figure