arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.09972cs.LGcs.AI
收藏

基于Transformer的高效大规模交通预测:一种空间数据管理视角

Efficient Large-Scale Traffic Forecasting with Transformers: A Spatial Data Management Perspective

University of Electronic Science and Technology of China(电子科技大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Auburn University(奥本大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);National University of Singapore(新加坡国立大学);Peking University(北京大学);Yangtze Delta Region Institute (Quzhou)(长三角研究院(衢州))

Yuchen Fang, Yuxuan Liang, Bo Hui, Zezhi Shao, Liwei Deng, Xu Liu, Xinke Jiang, Kai Zheng

AI总结:

本文提出PatchSTG框架,通过不规则空间分块和深度/广度注意力机制,高效建模大规模交通预测中的空间依赖关系,在保持最先进性能的同时实现最高10倍训练加速和4倍内存优化。

摘要:

道路交通预测在城市管理和个人出行中的交通调度与路径规划等现实世界智能交通场景中至关重要。时空图神经网络(STGNNs)是该任务中的主流解决方案。然而,基于显著动态空间建模的STGNNs的二次复杂度已成为大规模交通数据上的瓶颈。从空间数据管理的视角出发,我们提出了一种新颖的Transformer框架,称为PatchSTG,以高效且动态的方式对大规模交通预测中的空间依赖关系进行建模,并具备可解释性和保真度。具体而言,我们设计了一种新颖的不规则空间分块方法,以减少Transformer动态计算中涉及的点数量。该不规则空间分块方法首先利用叶子K维树(KDTree)将不规则分布的交通点递归划分为容量较小的叶子节点,然后通过填充和回溯将属于同一子树的叶子节点合并为占用相等且互不重叠的分块。基于分块后的数据,编码器中交替使用深度注意力和广度注意力,以动态学习来自同一分块内点以及具有相同分块索引的点之间的局部和全局空间知识。在四个真实世界大规模交通数据集上的实验结果表明,我们的PatchSTG在达到最先进性能的同时,训练速度和内存利用率分别提升了最高10倍和4倍。

英文摘要:

Road traffic forecasting is crucial in real-world intelligent transportation scenarios like traffic dispatching and path planning in city management and personal traveling. Spatio-temporal graph neural networks (STGNNs) stand out as the mainstream solution in this task. Nevertheless, the quadratic complexity of remarkable dynamic spatial modeling-based STGNNs has become the bottleneck over large-scale traffic data. From the spatial data management perspective, we present a novel Transformer framework called PatchSTG to efficiently and dynamically model spatial dependencies for large-scale traffic forecasting with interpretability and fidelity. Specifically, we design a novel irregular spatial patching to reduce the number of points involved in the dynamic calculation of Transformer. The irregular spatial patching first utilizes the leaf K-dimensional tree (KDTree) to recursively partition irregularly distributed traffic points into leaf nodes with a small capacity, and then merges leaf nodes belonging to the same subtree into occupancy-equaled and non-overlapped patches through padding and backtracking. Based on the patched data, depth and breadth attention are used interchangeably in the encoder to dynamically learn local and global spatial knowledge from points in a patch and points with the same index of patches. Experimental results on four real world large-scale traffic datasets show that our PatchSTG achieves train speed and memory utilization improvements up to $10\times$ and $4\times$ with the state-of-the-art performance.

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

↑