Introduction
While Question Answering (QA) systems have seen massive success in domains like natural language processing and computer vision, human mobility data remains largely "silent." Current spatio-temporal databases allow for precise queries on historical records, but they lack the reasoning capabilities required to handle natural language prompts or predict future patterns in a conversational context.
This vision paper introduces MobQA, a novel task that bridges the gap between spatio-temporal data mining and NLP. The goal is to develop "mobility chatbots" capable of answering questions about historical movements and forecasting future trajectories based on historical context.
The MobQA Framework
To address the unique challenges of reasoning over numerical spatio-temporal data, the authors propose a modular architecture designed to integrate mobility records with large language models (LLMs).
The framework consists of three primary components:
- Mobility-to-Text Module: Converts raw coordinate-based trajectory data into natural language descriptions, making it interpretable for LLMs.
- Mobility Prediction Engine: Acts as the system's predictive core, forecasting future trajectory segments based on historical observations.
- Context Matching/Fusion: Merges text descriptions, predictive representations, and the user's question to generate a final, coherent answer.
Task Definition and Question Generation
MobQA is defined by its knowledge source (mobility records), the user's question, and the generated answer. To scale the creation of benchmarks, the authors utilize a template-based approach to generate thousands of diverse questions. These questions fall into two main categories:
- Understanding Type: Focuses on retrieving and reasoning over historical data (e.g., "How many times did the user visit the Spanish Restaurant?").
- Prediction Type: Requires the model to forecast future behavior (e.g., "Which category of POIs is the user likely to visit on Sunday evening?").
Datasets and Evaluation
The proposed benchmark leverages public mobility datasets such as Gowalla and Foursquare. By extracting User IDs, POIs, and timestamps, the authors create a "historical observation segment" (the knowledge source) and a "future segment" (the ground truth).
A key innovation is the automated generation of ground truth: for "Understanding" questions, answers are derived via programmatic queries on historical data; for "Prediction" questions, the same logic is applied to the "future" segment of the dataset. Evaluation metrics include Top-k accuracy and F1 scores for multiple-choice formats, and BLEU or BERTScore for open-ended responses.
Conclusion and Future Directions
MobQA represents a shift toward more intuitive smart city applications. While challenges remain—such as data sparsity, privacy concerns, and the limitations of template-based questions—this vision sets a path for intelligent virtual assistants that truly understand the "where" and "when" of human life. By treating mobility understanding as a QA task, researchers can move beyond simple coordinate forecasting toward complex behavioral reasoning.
Summary updated