UniFlow: A Foundation Model for Unified Urban Spatio-Temporal Flow Prediction
Yuan Yuan, Jingtao Ding, Congcong Han, Zhi Sheng, D. W. Jin, Yong Li
Tsinghua University
Key points
From the paper's conclusion- We first design a multi-view spatio-temporal patching mechanism to standardize different data into a consistent sequential format and then introduce a spatio-temporal transformer architecture to capture complex correlations and dynamics.
Abstract
Urban spatio-temporal flow prediction, encompassing traffic flows and crowd flows, is crucial for optimizing city infrastructure and managing traffic and emergency responses. Traditional approaches have relied on separate models tailored to either grid-based data, representing cities as uniform cells, or graph-based data, modeling cities as networks of nodes and edges. In this paper, we build UniFlow, a foundational model for general urban flow prediction that unifies both grid-based and graph based data. We first design a multi-view spatio-temporal patching mechanism to standardize different data into a consistent sequential format and then introduce a spatio-temporal transformer architecture to capture complex correlations and dynamics. To leverage shared spatio-temporal patterns across different data types and facilitate effective cross-learning, we propose Spatio Temporal Memory Retrieval Augmentation (ST-MRA). By creating structured memory modules to store shared spatio-temporal patterns, ST-MRA enhances predictions through adaptive memory retrieval. Extensive experiments demonstrate that UniFlow outperforms existing models in both grid-based and graph-based f low prediction, excelling particularly in scenarios with limited data availability, showcasing its superior performance and broad applicability. The datasets and code implementation have been released on https://github.com/YuanYuan98/UniFlow.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Dynamic Fusion Large Language Model for Traffic Flow PredictionarXiv · 2026
- MSDA-DiffNet: traffic flow prediction via multi-scale feature fusion and dual adaptive graph convolution with conditional diffusionTransportmetrica B Transport Dynamics · 2025
- Open Spatio-Temporal Foundation Models for Traffic PredictionACM Transactions on Intelligent Systems and Technology · 2025
- Multi-Perspective Spatio-Temporal Feature Fusion Model for Urban Traffic Flow Prediction.Sensors (Basel, Switzerland) · 2026
- Cross-City Pretraining Transfer Learning Model for Traffic Flow PredictionIEEE Internet of Things Journal · 2026
- Dynamic–Static Graph Fusion Multi-Head Flow Attention Networks for Traffic Flow ForecastingElectronics · 2026