A Foundation Model for Unified Urban Spatio-Temporal Flow Prediction

πŸ“… 2024-11-20
πŸ›οΈ arXiv.org
πŸ“ˆ Citations: 1
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
Urban spatiotemporal flow forecasting (e.g., traffic or human mobility) is critical for smart city management, yet existing methods suffer from fragmented modeling of grid-structured versus graph-structured urban data. This paper introduces UniFlowβ€”the first unified foundation model enabling joint representation learning and forecasting across both grid and graph paradigms. Its core innovations include a multi-view spatiotemporal patching mechanism, a dedicated spatiotemporal Transformer architecture, and a spatiotemporal memory retrieval augmentation (ST-MRA) module that facilitates cross-paradigm knowledge transfer and few-shot generalization. UniFlow achieves state-of-the-art performance on both grid-based and graph-based benchmark tasks. Under data-scarce conditions, it reduces mean absolute error (MAE) by up to 23.6% over prior methods. The code and datasets are publicly released.

Technology Category

Application Category

πŸ“ 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 graphbased 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 SpatioTemporal 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 flow 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.
Problem

Research questions and friction points this paper is trying to address.

Unifies grid-based and graph-based urban flow prediction models.
Introduces a spatio-temporal transformer for complex correlation capture.
Enhances predictions with adaptive memory retrieval in data-limited scenarios.
Innovation

Methods, ideas, or system contributions that make the work stand out.

Unified grid and graph data processing
Multi-view spatio-temporal patching mechanism
Spatio-temporal transformer with memory retrieval
πŸ”Ž Similar Papers
No similar papers found.
Y
Yuan Yuan
Beijing National Research Center for Information Science and Technology (BNRist), and Department of Electronic Engineering, Tsinghua University, Beijing 100084, China
Jingtao Ding
Jingtao Ding
Tsinghua University
Spatio-temporal Data MiningComplex NetworksSynthetic DataRecommender Systems
Chonghua Han
Chonghua Han
Tsinghua University
foundation modelspatio-temporal data mining
D
Depeng Jin
Beijing National Research Center for Information Science and Technology (BNRist), and Department of Electronic Engineering, Tsinghua University, Beijing 100084, China
Y
Yong Li
Beijing National Research Center for Information Science and Technology (BNRist), and Department of Electronic Engineering, Tsinghua University, Beijing 100084, China