While Large Language Models (LLMs) excel at general reasoning, their ability to interpret dense, sequential human mobility data remains under-explored. We introduce MobQA, a benchmark designed to evaluate LLMs on their semantic understanding of GPS trajectories. Unlike conventional predictive tasks, MobQA requires models to explain the "why" behind movement patterns. Our evaluation reveals that while top-tier models like Gemini 2.0 are proficient at factual retrieval, they struggle with complex spatiotemporal reasoning and long-context trajectories, highlighting a significant gap in current mobility AI.
Introduction: Beyond Next-Location Prediction
Human mobility research has traditionally focused on closed-ended predictive tasks, such as Point-of-Interest (POI) prediction or next-location forecasting. While effective, these models often lack the capacity for semantic interpretation—they can predict where a user is going but cannot explain the underlying motivation or identify subtle behavioral anomalies.
The challenge stems from the nature of raw GPS data, which consists of unstructured timestamps and coordinates. To bridge this gap, we propose MobQA, a framework that transforms raw mobility traces into textual trajectories to leverage the reasoning capabilities of LLMs.
Methodology
MobQA utilizes a multi-step pipeline to convert raw GPS data into a queryable format:
- Textual Representation: Raw data is downsampled to 1-minute intervals and formatted as structured text strings (e.g.,
(09:02, -0.75, 8.79)). - Semantic Enrichment: Professional annotators labeled a subset of the data with transport modes (e.g., walking, bus) and the underlying reasons for movement.
- Question Generation: The benchmark includes three question categories: Factual Retrieval (data extraction), Multiple-Choice (semantic inference), and Free-form (high-level interpretation and summarization).
- LLM-as-a-Judge Evaluation: Given the inadequacy of traditional metrics like BLEU for semantic truth, we employ an LLM-based scoring system (using Gemini 2.0 Flash) to evaluate the "faithfulness" and "informativeness" of model responses.
The benchmark is built on the well-known Geolife GPS dataset, comprising 5,800 high-quality question-answer pairs across daily and weekly trajectories.
Key Results and Insights
Our evaluation of leading LLMs yielded several key insights into the state of mobility AI:
- The Reasoning Gap: Models like Gemini 2.0 Flash achieve near-perfect accuracy (0.991) in factual retrieval but drop significantly (to approximately 0.40) on multiple-choice reasoning tasks. This suggests that LLMs currently function more as efficient search engines for mobility data rather than deep analysts.
- The "Long Context" Tax: Performance degrades sharply as trajectories scale from daily to weekly. Reasoning over thousands of points often leads to hallucinations or the omission of critical details, indicating that long-context handling remains a bottleneck.
- Reasoning Model Performance: Interestingly, OpenAI’s o3-mini, despite its general reasoning strengths, struggled with dense numerical mobility data. This indicates that general-purpose chain-of-thought reasoning does not automatically translate to dense, sequential numerical domains.
- Fine-Tuning Potential: While open-source models (e.g., Llama 3) performed poorly initially, Supervised Fine-Tuning (SFT) significantly boosted their performance in multiple-choice tasks, although they still lag behind closed-source giants in generating nuanced free-form explanations.
Conclusion and Future Directions
MobQA exposes the limitations of current LLMs in understanding the semantics of human movement. While retrieval is nearly solved, true semantic understanding remains elusive. Future work will focus on expanding the dataset's geographic diversity beyond Beijing and exploring multilingual support (the current version is in Japanese). Additionally, the team aims to incorporate deeper reasoning tasks involving intent estimation and personal preference modeling to further push the boundaries of mobility AI.
Summary updated