arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.00385cs.LGcs.AIcs.DB
收藏

STGformer:用于交通预测的高效时空图Transformer

STGformer: Efficient Spatiotemporal Graph Transformer for Traffic Forecasting

SUSTech-UTokyo Joint Research Center on Super Smart City(南方科技大学-东京大学超级智慧城市联合研究中心);Research Institute of Trustworthy Autonomous Systems(可信自主系统研究院);Southern University of Science and Technology (SUSTech)(南方科技大学);School of Artificial Intelligence, Jilin University(吉林大学人工智能学院);University of Tokyo(东京大学)

Hongjun Wang, Jiyuan Chen, Tong Pan, Zheng Dong, Lingyu Zhang, Renhe Jiang, Xuan Song

AI总结:

针对大规模时空交互路网计算开销大的问题,提出STGformer架构,通过单层STG注意力块高效捕获高阶时空交互,在LargeST基准上超越现有方法并大幅降低计算与内存成本。

摘要:

交通预测是智慧城市管理的基石,能够实现高效的资源分配和交通规划。深度学习凭借其捕获时空(ST)数据中复杂非线性模式的能力,已成为交通预测的强大工具。尽管图神经网络(GCNs)和基于Transformer的模型展现出了潜力,但其计算需求往往阻碍了它们在真实世界路网中的应用,特别是那些具有大规模时空交互的路网。为了应对这些挑战,我们提出了一种新颖的时空图Transformer(STGformer)架构。STGformer有效平衡了GCNs和Transformers的优势,能够对全局和局部交通模式进行高效建模,同时保持可管理的计算开销。与需要多个注意力层的传统方法不同,STG注意力块在单层中捕获高阶时空交互,显著降低了计算成本。特别是在包含8,600个传感器的加州路网上进行批量推理时,与STAEformer相比,STGformer实现了100倍的加速和99.8%的GPU内存使用减少。我们在LargeST基准上对STGformer进行了评估,并证明了其优于PDFormer和STAEformer等最先进的基于Transformer的方法,这突显了STGformer通过克服现有方法的计算和内存限制来彻底改变交通预测的潜力,使其成为未来时空建模任务的有前景的基础。

英文摘要:

Traffic forecasting is a cornerstone of smart city management, enabling efficient resource allocation and transportation planning. Deep learning, with its ability to capture complex nonlinear patterns in spatiotemporal (ST) data, has emerged as a powerful tool for traffic forecasting. While graph neural networks (GCNs) and transformer-based models have shown promise, their computational demands often hinder their application to real-world road networks, particularly those with large-scale spatiotemporal interactions. To address these challenges, we propose a novel spatiotemporal graph transformer (STGformer) architecture. STGformer effectively balances the strengths of GCNs and Transformers, enabling efficient modeling of both global and local traffic patterns while maintaining a manageable computational footprint. Unlike traditional approaches that require multiple attention layers, STG attention block captures high-order spatiotemporal interactions in a single layer, significantly reducing computational cost. In particular, STGformer achieves a 100x speedup and a 99.8\% reduction in GPU memory usage compared to STAEformer during batch inference on a California road graph with 8,600 sensors. We evaluate STGformer on the LargeST benchmark and demonstrate its superiority over state-of-the-art Transformer-based methods such as PDFormer and STAEformer, which underline STGformer's potential to revolutionize traffic forecasting by overcoming the computational and memory limitations of existing approaches, making it a promising foundation for future spatiotemporal modeling tasks.

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

↑