TL;DR
This paper reimagines human mobility prediction as a Knowledge Graph (KG) completion task. By constructing a Spatio-Temporal Urban Knowledge Graph (STKG) that integrates trajectories, venue categories, and time, the authors achieve a 5.04% accuracy boost and a 43% reduction in computational time compared to state-of-the-art deep learning models.
What Problem Does This Paper Address?
Predicting where a person will go next is a cornerstone of smart city applications, from optimizing cellular network resources to providing personalized location-based services. However, human mobility is notoriously difficult to model because it is influenced by a messy mix of factors: routine temporal patterns (like commuting), the specific functions of urban venues (Points of Interest or PoIs), and individual user preferences.
Existing approaches, primarily based on Recurrent Neural Networks (RNNs) and LSTMs, often struggle to incorporate "background knowledge"—such as the fact that a user at a "Chinese Restaurant" is likely to visit another "Food" category venue later. While some recent models use Knowledge Graphs to generate features, they often fail to model the mobility patterns themselves as structured, multi-source knowledge, leading to sub-optimal accuracy and high computational costs due to complex attention mechanisms.
Methods
The authors propose a novel framework that treats mobility prediction as a link prediction problem within a Spatio-Temporal Urban Knowledge Graph (STKG).
- STKG Construction: They define a graph where users, PoIs, time bins, and PoI categories are all entities. They introduce two main types of relations:
- Spatio-Temporal Mobility Pattern Relations: Capturing the fact that a user visited a PoI at a specific time, enriched with auxiliary context (like the previously visited PoI).
- Affiliation Relations: Linking PoIs to a three-level hierarchy of categories (e.g., Beijing Food $\rightarrow$ Chinese Food $\rightarrow$ Food).
- Complex Embedding Model: To solve the KG completion problem (i.e., predicting the missing PoI in a user-visit tuple), they map entities and relations into a low-dimensional complex vector space. Complex embeddings are particularly good at capturing antisymmetric relations common in mobility.
- Temporal Dynamics: A key innovation is how they handle time. They recognize that some patterns are highly time-dependent (commuting) while others are not. They introduce a temporal dynamic ratio ($\alpha$) that modulates which dimensions of the embedding are influenced by time, allowing the model to adapt to different types of mobility behaviors.
Datasets
The model was evaluated on three diverse real-world datasets:
- Beijing (WeChat): 3,083 users and 12,597 PoIs over 45 days. This dataset features dense trajectories and a full 3-level PoI hierarchy.
- Shanghai (WeChat): 926 users and 22,627 PoIs over 82 days.
- Foursquare (New York): A public check-in dataset with 1,083 users and 38,333 PoIs over 11 months. This dataset is sparser and only contains fine-grained PoI categories.
Key Insights and Ideas
- Mobility as a Multi-ary Relation: Instead of simple $(user, visits, PoI)$ triplets, the authors treat mobility as a higher-order relation involving time and context. This allows the model to capture the "why" and "when" alongside the "where."
- The Power of Hierarchy: The experiments showed that coarse-level PoI categories (like "Food") are often more useful for prediction than fine-grained ones (like "Sichuan Food"). Coarse categories provide better generalization and are less susceptible to the noise of sparse data.
- Contextual Relations: The authors defined five specific relation types ($r_{V0}$ to $r_{V4}$) to test different levels of auxiliary information. They found that incorporating the category of the last visited PoI significantly improves the prediction of the next PoI.
Key Results
- Superior Accuracy: The STKG model outperformed state-of-the-art baselines like DeepMove and ARNN across all datasets. On the Beijing dataset, it improved Acc@1 by 8.91% over the best baseline.
- Efficiency Gains: Because the model avoids the quadratic complexity of standard attention mechanisms used in RNNs, it is much faster. It reduced total computational time by over 43.12%.
- Ablation Success: Adding PoI category information as background knowledge alone improved accuracy by 3.85%, proving that urban functional context is vital for understanding movement.
Limitations and Future Work
While successful, the authors acknowledge a few limitations:
- Data Scope: The current model only uses PoI categories as background knowledge. Future iterations could incorporate user demographics, social networks, or real-time urban events (like concerts or traffic jams).
- Discrete Time: The model uses discrete 30-minute time bins. Moving toward continuous temporal embeddings could capture more nuanced patterns.
- Relational Reasoning: The authors suggest exploring multi-hop relation paths within the STKG to further improve the model's reasoning capabilities.
Summary updated