arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.10134cs.LGcs.CL
收藏

用于交通预测的时空大语言模型

Spatial-Temporal Large Language Model for Traffic Prediction

S-Lab, Nanyang Technological University(南洋理工大学S-Lab);School of Software and Microelectronics, Peking University(北京大学软件与微电子学院);SenseTime Research, China(中国商汤科技研究院);University of Cologne, Germany(德国科隆大学)

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

AI总结:

本文提出ST-LLM,通过时空嵌入、融合卷积和部分冻结注意力机制改造大语言模型,以建模全局时空依赖,在交通预测及少样本、零样本场景中超越现有方法。

摘要:

交通预测是智能交通系统的重要组成部分,致力于利用历史数据预见特定位置未来的交通特征。尽管现有交通预测模型通常强调开发复杂的神经网络结构,但其准确性并未得到提升。近年来,大语言模型在时间序列分析中展现出卓越能力。与现有模型不同,LLM主要通过参数扩展和大规模预训练取得进展,同时保持其基础结构不变。受这些发展启发,我们提出一种用于交通预测的时空大语言模型(Spatial-Temporal Large Language Model,ST-LLM)。在ST-LLM中,我们将每个位置的时间步定义为token,并设计时空嵌入以学习这些token的空间位置和全局时间模式。此外,我们通过对每个token使用融合卷积来整合这些嵌入,以获得统一的时空表示。进一步地,我们创新了部分冻结注意力策略,使LLM能够适配并捕捉交通预测中的全局时空依赖关系。在真实交通数据集上的综合实验证明,ST-LLM是一个强大的时空学习器,其性能优于最先进模型。值得注意的是,ST-LLM在少样本和零样本预测场景中也表现出稳健性能。代码已公开发布于https://github.com/ChenxiLiu-HNU/ST-LLM。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑