GPT4TFP: Spatio-temporal fusion large language model for traffic flow prediction

IF 6.5 2区 计算机科学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Neurocomputing Pub Date : 2025-04-07 Epub Date: 2025-01-27 DOI:10.1016/j.neucom.2025.129562
Yiwu Xu, Mengchi Liu
{"title":"GPT4TFP: Spatio-temporal fusion large language model for traffic flow prediction","authors":"Yiwu Xu,&nbsp;Mengchi Liu","doi":"10.1016/j.neucom.2025.129562","DOIUrl":null,"url":null,"abstract":"<div><div>Traffic flow prediction aims to anticipate the future usage levels of transportation, and is a pivotal component of intelligent transportation systems. Previous studies have mainly employed deep learning technologies to decode traffic flow data. These methods process the spatial and temporal embeddings of traffic flow data in a sequential, parallel, or single-feature manner. Although the structures of these models are becoming more and more complex, their accuracy has not improved. Recently, large language models (LLMs) have made significant progress in traffic flow prediction tasks due to their superior performance. However, although the spatio-temporal dependencies of traffic flow prediction can be captured by LLMs, they ignore the cross-relationships between spatio-temporal embeddings. To this end, we propose a spatio-temporal fusion large language model (GPT4TFP) for traffic flow prediction, which is divided into four components: the spatio-temporal embedding layer, the spatio-temporal fusion layer, the frozen pre-trained LLM layer, and the output linear layer. The spatio-temporal embedding layer embeds traffic flow data into the spatio-temporal representations required by traffic flow prediction. In the spatio-temporal fusion layer, we propose a spatio-temporal fusion strategy based on multi-head cross-attention to capture the cross-relationships between spatio-temporal embeddings. In addition, we introduce a frozen pre-trained strategy to fine-tune the LLM to improve the accuracy of traffic flow prediction. The experimental results on two traffic flow datasets show that the proposed model outperforms a set of state-of-the-art baseline models.</div></div>","PeriodicalId":19268,"journal":{"name":"Neurocomputing","volume":"625 ","pages":"Article 129562"},"PeriodicalIF":6.5000,"publicationDate":"2025-04-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Neurocomputing","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0925231225002346","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/1/27 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

Traffic flow prediction aims to anticipate the future usage levels of transportation, and is a pivotal component of intelligent transportation systems. Previous studies have mainly employed deep learning technologies to decode traffic flow data. These methods process the spatial and temporal embeddings of traffic flow data in a sequential, parallel, or single-feature manner. Although the structures of these models are becoming more and more complex, their accuracy has not improved. Recently, large language models (LLMs) have made significant progress in traffic flow prediction tasks due to their superior performance. However, although the spatio-temporal dependencies of traffic flow prediction can be captured by LLMs, they ignore the cross-relationships between spatio-temporal embeddings. To this end, we propose a spatio-temporal fusion large language model (GPT4TFP) for traffic flow prediction, which is divided into four components: the spatio-temporal embedding layer, the spatio-temporal fusion layer, the frozen pre-trained LLM layer, and the output linear layer. The spatio-temporal embedding layer embeds traffic flow data into the spatio-temporal representations required by traffic flow prediction. In the spatio-temporal fusion layer, we propose a spatio-temporal fusion strategy based on multi-head cross-attention to capture the cross-relationships between spatio-temporal embeddings. In addition, we introduce a frozen pre-trained strategy to fine-tune the LLM to improve the accuracy of traffic flow prediction. The experimental results on two traffic flow datasets show that the proposed model outperforms a set of state-of-the-art baseline models.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
GPT4TFP:基于时空融合的交通流预测大语言模型
交通流量预测旨在预测未来交通的使用水平,是智能交通系统的关键组成部分。以往的研究主要采用深度学习技术对交通流数据进行解码。这些方法以顺序、并行或单特征的方式处理交通流数据的空间和时间嵌入。虽然这些模型的结构越来越复杂,但其精度并没有提高。近年来,大型语言模型(large language models, llm)由于其优越的性能在交通流预测任务中取得了重大进展。然而,尽管llm可以捕获交通流预测的时空依赖关系,但它们忽略了时空嵌入之间的交叉关系。为此,我们提出了一种用于交通流预测的时空融合大语言模型(GPT4TFP),该模型分为四个部分:时空嵌入层、时空融合层、冻结预训练LLM层和输出线性层。时空嵌入层将交通流数据嵌入到交通流预测所需的时空表示中。在时空融合层,我们提出了一种基于多头交叉注意的时空融合策略,以捕捉时空嵌入之间的交叉关系。此外,我们引入冻结预训练策略对LLM进行微调,以提高交通流量预测的准确性。在两个交通流数据集上的实验结果表明,该模型优于一组最先进的基线模型。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Neurocomputing
Neurocomputing 工程技术-计算机:人工智能
CiteScore
13.10
自引率
10.00%
发文量
1382
审稿时长
70 days
期刊介绍: Neurocomputing publishes articles describing recent fundamental contributions in the field of neurocomputing. Neurocomputing theory, practice and applications are the essential topics being covered.
期刊最新文献
TF-GNN: A temporal feedback graph neural network with discriminative regularization for heterogeneous fraud detection FSSG: Generative few-shot object detection via style-geometry fusion High-fidelity backdoor watermark embedding framework for classification models in heterogeneous tabular data Newtonian neural ordinary differential equations method for dynamics identification of serial manipulators with LuGre friction Diff-DMamIR: A diffusion empowered dynamic fine-guided mamba for image restoration
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1