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

FPTN:用于交通流预测的快速纯Transformer网络

FPTN: Fast Pure Transformer Network for Traffic Flow Forecasting

Southwest University(西南大学)

Junhao Zhang, Junjie Tang, Juncheng Jin, Zehui Qu

摘要:

由于交通流数据具有复杂的时空相关性,交通流预测具有挑战性。现有的基于Transformer的交通流预测方法通常将交通流预测视为多变量时间序列预测。然而,太多的传感器可能会导致维度大于800的向量,这很难在不丢失信息的情况下进行处理。此外,这些方法设计了复杂的机制来捕获MTS中的空间依赖性,导致预测速度缓慢。针对上述问题,本文提出了一种快速纯Transformer网络(FPTN)。首先,交通流数据被划分为沿传感器维而不是时间维的序列。然后,为了充分表示复杂的时空相关性,提出了三种类型的嵌入将这些向量投影到合适的向量空间。然后,为了同时捕获这些向量中复杂的时空相关性,我们使用Transformer编码器并将其与几个层堆叠。使用4个真实数据集和13个基线进行了大量实验,结果表明FPTN在两个指标上优于最先进的方法。与此同时,FPTN的计算时间不到其他最先进的基于Transformer的模型的四分之一,对计算资源的要求也大大降低。

英文摘要:

Traffic flow forecasting is challenging due to the intricate spatio-temporal correlations in traffic flow data. Existing Transformer-based methods usually treat traffic flow forecasting as multivariate time series (MTS) forecasting. However, too many sensors can cause a vector with a dimension greater than 800, which is difficult to process without information loss. In addition, these methods design complex mechanisms to capture spatial dependencies in MTS, resulting in slow forecasting speed. To solve the abovementioned problems, we propose a Fast Pure Transformer Network (FPTN) in this paper. First, the traffic flow data are divided into sequences along the sensor dimension instead of the time dimension. Then, to adequately represent complex spatio-temporal correlations, Three types of embeddings are proposed for projecting these vectors into a suitable vector space. After that, to capture the complex spatio-temporal correlations simultaneously in these vectors, we utilize Transformer encoder and stack it with several layers. Extensive experiments are conducted with 4 real-world datasets and 13 baselines, which demonstrate that FPTN outperforms the state-of-the-art on two metrics. Meanwhile, the computational time of FPTN spent is less than a quarter of other state-of-the-art Transformer-based models spent, and the requirements for computing resources are significantly reduced.

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

↑