Introduction
Predicting human mobility is a cornerstone of modern urban planning and transportation management. However, traditional models often treat mobility as a sequence of coordinates and timestamps—a "black box" of spatiotemporal patterns—ignoring the underlying intent (the why) behind the movement. While human experts can often infer intent from context (e.g., "returning home at 6:00 PM"), scaling this intuition to millions of records is computationally prohibitive.
LIMP (Large Language Model Enhanced Intent-aware Mobility Prediction) addresses this gap by leveraging the commonsense reasoning of Large Language Models (LLMs). By distilling reasoning from high-end models like GPT-4o into smaller, deployable models and integrating these insights into a transformer-based predictor, LIMP achieves significant improvements in next-location accuracy.
Methodology
The LIMP framework consists of three integrated stages designed to bridge the gap between linguistic reasoning and spatiotemporal modeling.
1. A2I (Analyze-Abstract-Infer) Agentic Workflow
Rather than direct prompting, LIMP employs a structured A2I strategy. It emulates human expertise by analyzing statistical features (e.g., visit frequency), abstracting high-level insights (e.g., peak activity hours), and finally inferring specific intents such as "At Home," "Working," or "Shopping." A critical component is Home and Workplace Identification (HWI), which grounds the reasoning in these primary "anchor" locations.
2. Reasoning Distillation
To overcome the cost and latency of proprietary models, the authors use GPT-4o to label a small subset of data. This "gold standard" is then used to fine-tune a smaller, open-source Llama 3-8B model via LoRA (Low-Rank Adaptation). This allows the smaller model to maintain high reasoning performance while being locally deployable.
3. Intent-Enhanced Prediction Model
The framework generates an intent probability distribution based on historical patterns. This distribution is converted into an embedding and integrated into a transformer-based model. By treating intent as a distribution rather than a single label, the model effectively captures the inherent uncertainty in human behavior.
Experimental Setup
The model was evaluated on two large-scale, real-world datasets:
- Beijing Dataset: 3 months of mobile app check-in data comprising approximately 745,000 records.
- Shanghai Dataset: 1 month of Call Detail Records (CDR) from a cellular operator, totaling roughly 215,000 records.
- Ground Truth: A subset was manually annotated by human experts to validate the LLM's inference capabilities.
Results and Discussion
LIMP consistently outperformed state-of-the-art baselines, including RNN, DeepMove, STAN, and GETNext.
Key findings include:
- Accuracy Gains: On the Beijing dataset, LIMP achieved a 9.52% relative improvement in Top-1 accuracy (Acc@1) over the strongest baseline, GETNext.
- Intent Inference Quality: The A2I workflow achieved an intent accuracy of 67.9%, outperforming standard zero-shot prompting (59.0%).
- Intent as a Regularizer: Intent signals act as a powerful filter for spatiotemporal "noise," making destinations more predictable by clarifying the purpose of the trip.
Conclusion
LIMP demonstrates that integrating LLM-based intent reasoning significantly enhances mobility prediction. While the model shows some sensitivity to data density and struggles with semantically overlapping POIs (e.g., offices within shopping malls), the successful distillation of complex reasoning into smaller models opens new avenues for real-time urban analytics. Future work will explore extending this framework to traffic flow forecasting and broader urban characterization tasks.
Summary updated