The invention discloses a traffic flow long-time prediction method and system based on an improved Transform model. The system comprises a data preprocessing module, a space-time traffic flow long-time prediction model construction module and an online prediction module. A time-space traffic flow long-time prediction model is constructed, the model adopts a multi-layer codec structure, and each layer of an encoder comprises a convolution attention module and a graph attention module which are used for modeling nonlinear time correlation and dynamic space correlation of traffic data; each layer of the decoder performs feature conversion on historical data by using a cross attention mechanism; after the encoder encodes historical traffic data, the data are input to the cross attention module of each layer of the decoder, judgment is made by referring to the historical data through a cross attention mechanism, historical traffic features are converted into future representations, a direct relation between historical time and future time is established, error accumulation of long-time traffic flow prediction is relieved, and the traffic flow prediction accuracy is improved. And the accuracy of long-time traffic flow prediction is improved.
本发明公布了一种基于改进Transformer模型的交通流量长时预测方法及系统,包括:数据预处理模块、时空交通流量长时预测模型构建模块、在线预测模块;构建时空交通流量长时预测模型,模型采用多层编解码器结构,编码器每一层包括卷积注意力模块和图注意力模块,用于建模交通数据的非线性时间相关性和动态空间相关性;解码器每一层利用交叉注意力机制对历史数据进行特征转换;编码器对历史交通数据进行编码后,输入给解码器每层的交叉注意力模块中,通过交叉注意力机制参考历史数据做出判断,将历史交通特征转换为未来表征,建立历史和未来时间之间的直接关系,缓解长时交通流量预测的误差积累,提高长时交通流量预测的准确性。
Traffic flow long-time prediction method and system based on improved Transform model
基于改进Transformer模型的交通流量长时预测方法及系统
2023-01-10
Patent
Electronic Resource
Chinese
IPC: | G06F ELECTRIC DIGITAL DATA PROCESSING , Elektrische digitale Datenverarbeitung / G06N COMPUTER SYSTEMS BASED ON SPECIFIC COMPUTATIONAL MODELS , Rechnersysteme, basierend auf spezifischen Rechenmodellen / G08G Anlagen zur Steuerung, Regelung oder Überwachung des Verkehrs , TRAFFIC CONTROL SYSTEMS |
Traffic flow prediction method based on improved space-time Transform
European Patent Office | 2022
|Traffic flow prediction method based on long-term and short-term Transform model
European Patent Office | 2022
|Traffic flow prediction method based on graph space-time Transform model considering human mobility
European Patent Office | 2022
|Transform and GCN-based urban traffic network traffic flow prediction method and system
European Patent Office | 2024
|Long-time-sequence traffic flow prediction method based on graph convolution-Informer model
European Patent Office | 2021
|