The invention discloses a traffic flow prediction method based on a long and short term Transform model, which is used for predicting future traffic conditions in a traffic network. The method comprises the following steps: obtaining a traffic flow sequence, carrying out position coding and time coding on the traffic flow sequence, and obtaining multi-angle feature representation; the multi-angle feature representation of the traffic flow sequence is input into a long and short term Transform model, the long and short term Transform model comprises a long and short term attention layer, a feedforward network layer, a residual connection layer, a normalization layer and a full connection layer which are connected in sequence, and an output prediction result is obtained; according to a prediction result and a data real result, performing iterative training by taking minimization of a loss function as a target, and updating parameters; and obtaining a traffic flow prediction result on the test set by using the trained long and short term Transformer model.

    本发明公开了一种基于长短期Transformer模型的交通流量预测方法,用于交通路网中预测未来的交通情况。步骤如下:获取交通流量序列并对交通流量序列进行位置编码、时间编码,获取多角度特征表示;将交通流量序列的多角度特征表示输入长短期Transformer模型,所述长短期Transformer模型包括顺序连接的长短期注意力层、前馈网络层、残差连接层、归一化层、全连接层,得到输出的预测结果;根据预测结果和数据真实结果,以最小化损失函数为目标迭代训练,更新参数;用经过训练的长短期Transformer模型在测试集上得到交通流量预测结果。


    Access

    Download


    Export, share and cite



    Title :

    Traffic flow prediction method based on long-term and short-term Transform model


    Additional title:

    基于长短期Transformer模型的交通流量预测方法


    Contributors:
    MA QIANLI (author) / ZHU SIYING (author)

    Publication date :

    2022-12-30


    Type of media :

    Patent


    Type of material :

    Electronic Resource


    Language :

    Chinese


    Classification :

    IPC:    G06N COMPUTER SYSTEMS BASED ON SPECIFIC COMPUTATIONAL MODELS , Rechnersysteme, basierend auf spezifischen Rechenmodellen / G06Q Datenverarbeitungssysteme oder -verfahren, besonders angepasst an verwaltungstechnische, geschäftliche, finanzielle oder betriebswirtschaftliche Zwecke, sowie an geschäftsbezogene Überwachungs- oder Voraussagezwecke , DATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES / G08G Anlagen zur Steuerung, Regelung oder Überwachung des Verkehrs , TRAFFIC CONTROL SYSTEMS



    Event-Based Short-Term Traffic Flow Prediction Model

    Head, K. L. / National Research Council / Transportation Research Board | British Library Conference Proceedings | 1995


    Long-term and short-term traffic flow prediction model and method

    QU LICHENG / LYU JIAO / WANG HAIFEI et al. | European Patent Office | 2020

    Free access

    A Short-Term Traffic Flow Prediction Method Based on Long Short-Term Memory Network

    Ci, Yusheng / Xiu, Gaoqun / Wu, Lina | British Library Conference Proceedings | 2019


    Event-Based Short-Term Traffic Flow Prediction Model

    Head, K.Larry | Online Contents | 1995


    Short-term traffic flow prediction method based on Conv1D-LSTM model

    ZHANG ZHIPENG / LIU YUHANG / DAI LEI et al. | European Patent Office | 2023

    Free access