Introduction
Predicting the next location of an individual is a fundamental task for location-based services, ranging from urban planning to personalized recommendations. While state-of-the-art models like Recurrent Neural Networks (RNNs) and Transformers are effective at capturing sequential patterns, they often struggle to distinguish between routine behaviors and spontaneous outings.
The core issue is a "confounding" effect: in routine trips (e.g., commuting home at 6:00 PM), the previous location is often irrelevant to the destination. Conversely, for non-routine trips, the previous location provides critical context. Existing models tend to conflate these distinct causal relationships, leading to reduced accuracy and limited interpretability.
Proposed Framework
To address these challenges, this research introduces a causality-aware framework that stratifies human mobility into two categories: Anchor-targeted (frequent locations like home or work) and Non-anchor targeted (rare or unpredictable destinations).
Causal Graph and Counterfactual Intervention
The framework utilizes a Directed Acyclic Graph (DAG) to explicitly model how user identity ($U$), time ($T$), and previous locations ($L$) influence the next destination ($Y$) through hidden states ($H$).
A key innovation is the use of counterfactual reasoning. By asking "what if the previous location were different?", the model calculates the Total Indirect Effect (TIE). This allows the system to isolate the specific influence of the journey's context, effectively reducing noise from routine biases. The framework is designed as a "plug-and-play" module compatible with various base models like GRU, DeepMove, and Flashback.
Experimental Evaluation
The framework was evaluated using three large-scale datasets:
- Foursquare (Tokyo & New York): Active check-in data with user IDs and timestamps.
- Blogwatcher: A massive private GPS dataset from Japan’s Kanto region, capturing "passive" mobility through stay-point detection.
Key Results
The causality-aware module consistently improved the performance of all baseline models. On the Foursquare Tokyo dataset, it boosted the Recall@5 of a standard GRU by 11.70% and the Flashback model by over 17%. The most significant improvements occurred in predicting non-routine locations, such as airports or specialty stores, where traditional models typically fail.
Discussion and Future Work
The study highlights that treating all locations equally is sub-optimal. By identifying "anchor locations" (visited more than 10-15 times), models can apply differentiated logic based on human intent.
However, the framework's success depends on the specific threshold used to define anchors. Future research could explore integrating more semantic data—such as weather conditions or specific POI categories—into the causal graph to further refine the understanding of human movement patterns.
Summary updated