English

RAST: A Retrieval Augmented Spatio-Temporal Framework for Traffic Prediction

Machine Learning 2026-01-01 v2 Artificial Intelligence

Abstract

Traffic prediction is a cornerstone of modern intelligent transportation systems and a critical task in spatio-temporal forecasting. Although advanced Spatio-temporal Graph Neural Networks (STGNNs) and pre-trained models have achieved significant progress in traffic prediction, two key challenges remain: (i) limited contextual capacity when modeling complex spatio-temporal dependencies, and (ii) low predictability at fine-grained spatio-temporal points due to heterogeneous patterns. Inspired by Retrieval-Augmented Generation (RAG), we propose RAST, a universal framework that integrates retrieval-augmented mechanisms with spatio-temporal modeling to address these challenges. Our framework consists of three key designs: 1) Decoupled Encoder and Query Generator to capture decoupled spatial and temporal features and construct a fusion query via residual fusion; 2) Spatio-temporal Retrieval Store and Retrievers to maintain and retrieve vectorized fine-grained patterns; and 3) Universal Backbone Predictor that flexibly accommodates pre-trained STGNNs or simple MLP predictors. Extensive experiments on six real-world traffic networks, including large-scale datasets, demonstrate that RAST achieves superior performance while maintaining computational efficiency.

Keywords

Cite

@article{arxiv.2508.16623,
  title  = {RAST: A Retrieval Augmented Spatio-Temporal Framework for Traffic Prediction},
  author = {Weilin Ruan and Xilin Dang and Ziyu Zhou and Sisuo Lyu and Yuxuan Liang},
  journal= {arXiv preprint arXiv:2508.16623},
  year   = {2026}
}

Comments

Accepted by AAAI 2026 (AI for Social Impact)

R2 v1 2026-07-01T05:02:08.768Z