Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Spatial-Temporal Large Language Model for Traffic Prediction

About

Traffic prediction, an essential component for intelligent transportation systems, endeavours to use historical data to foresee future traffic features at specific locations. Although existing traffic prediction models often emphasize developing complex neural network structures, their accuracy has not improved. Recently, large language models have shown outstanding capabilities in time series analysis. Differing from existing models, LLMs progress mainly through parameter expansion and extensive pretraining while maintaining their fundamental structures. Motivated by these developments, we propose a Spatial-Temporal Large Language Model (ST-LLM) for traffic prediction. In the ST-LLM, we define timesteps at each location as tokens and design a spatial-temporal embedding to learn the spatial location and global temporal patterns of these tokens. Additionally, we integrate these embeddings by a fusion convolution to each token for a unified spatial-temporal representation. Furthermore, we innovate a partially frozen attention strategy to adapt the LLM to capture global spatial-temporal dependencies for traffic prediction. Comprehensive experiments on real traffic datasets offer evidence that ST-LLM is a powerful spatial-temporal learner that outperforms state-of-the-art models. Notably, the ST-LLM also exhibits robust performance in both few-shot and zero-shot prediction scenarios. The code is publicly available at https://github.com/ChenxiLiu-HNU/ST-LLM.

Chenxi Liu, Sun Yang, Qianxiong Xu, Zhishuai Li, Cheng Long, Ziyue Li, Rui Zhao• 2024

Related benchmarks

TaskDatasetResultRank
Spatiotemporal Traffic ForecastingMilan-Internet
NRMSE0.1287
63
Spatiotemporal Traffic ForecastingMilan-SMS
NRMSE0.8171
24
Spatiotemporal Traffic ForecastingTrentino INTERNET
NRMSE0.7678
24
Traffic PredictionTrentino SMS IN
MAE0.4607
24
Spatiotemporal Traffic ForecastingTrentino-SMS
NRMSE1.489
24
Traffic PredictionTrentino INTERNET
MAE1.7511
20
Spatio-temporal ImputationTrentino SMS-OUT
MAE0.3866
13
Spatio-temporal traffic forecastingMilan-Internet
MAE77.5356
13
Spatio-temporal ImputationTrentino INTERNET
MAE0.5071
13
ImputationMilan telecommunications SMS-OUT
MAE0.1685
13
Showing 10 of 31 rows

Other info

Follow for update