Abstract
Predicting human mobility is a cornerstone of urban planning and personalized services, yet it faces significant challenges due to spatial heterogeneity. Traditional approaches often rely on city-specific models, preventing knowledge transfer and hindering performance in data-sparse regions. We present UniMove, a unified framework for multi-city human mobility prediction. UniMove employs a dual-tower architecture—comprising a Location Tower and a Trajectory Tower—to create a universal spatial representation. By utilizing universal features and Mixture-of-Experts (MoE) blocks, UniMove enables joint training across diverse urban environments, outperforming state-of-the-art baselines by over 10% on average and showing dramatic improvements in data-sparse cities.
Introduction: Overcoming Spatial Heterogeneity
The primary technical hurdle in human mobility prediction is spatial heterogeneity. Most existing models treat locations as unique tokens, much like words in a dictionary. However, a specific grid cell in one city has no inherent semantic relationship to a grid cell in another. Consequently, researchers typically train separate models for each city, a "one-city-one-model" approach that fails to capture general human behavior patterns and leaves data-sparse cities with suboptimal models.
UniMove addresses this by establishing a "universal language" for mobility, allowing a single model to learn from multiple cities simultaneously.
Methodology: The Dual-Tower Architecture
UniMove utilizes a trajectory-location dual-tower architecture designed to generalize across different urban landscapes.
1. The Location Tower
Instead of relying on raw location IDs, the Location Tower encodes spatial units using three universal features:
- POI Distribution: Captures the functional nature of a location (e.g., residential vs. commercial).
- Geographical Coordinates: Provides absolute positioning.
- Popularity Rank: Reflects the relative busyness of a spot.
A Deep & Cross Net (DCN) is employed to capture high-order interactions between these features, creating a representation that is comparable across disparate cities.
2. The Trajectory Tower
This tower models the sequential nature of user movements. To account for the varying "rhythms" and movement patterns of different cities, standard Transformer layers are replaced with Mixture-of-Experts (MoE) blocks. This allows the model to adaptively route specific patterns to specialized sub-networks, effectively handling city-specific quirks without interference.
3. Joint Training and Prediction
The universal spatial representation allows for joint training on multi-city data. Predictions are generated by calculating the similarity between the user's intent (from the Trajectory Tower) and candidate locations (from the Location Tower).
Experimental Setup and Datasets
The model was evaluated using real-world data from three distinct Chinese cities:
- Shanghai: A large metropolis with ~483k trajectories over 14 days.
- Nanchang: A mid-sized city with ~26k trajectories over 7 days.
- Lhasa: A regional city with ~48k trajectories over 28 days.
The researchers utilized a 500m × 500m grid granularity and integrated Point of Interest (POI) data from Gaode Maps.
Key Insights and Results
UniMove demonstrates several critical advantages over traditional city-specific models:
- Mutual Data Enhancement: Training on multiple cities simultaneously improves performance for each individual city. Data-rich cities like Shanghai provide structural knowledge that significantly benefits data-sparse cities.
- Superior Accuracy: UniMove outperformed state-of-the-art baselines (e.g., DeepMove, GETNext) by an average of 8.9% to 10.2%.
- Impact on Sparse Data: The most dramatic gains were observed in Nanchang, where Acc@1 improved by 35.7% compared to the best city-specific baseline.
- Universal Tokenization: By shifting to feature-based encoding, UniMove enables a zero-shot-capable framework where new cities can be understood based on their functional and popularity characteristics.
Conclusion and Future Work
UniMove represents a significant step toward a foundation model for human mobility. By breaking the "one-city-one-model" bottleneck, it enables more robust and transferable urban analytics. Future research directions include extending the model to tasks like trajectory recovery and anomaly detection, as well as integrating with Large Language Models (LLMs) for more intuitive urban decision-making.
Summary updated