arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.13274cs.LG
收藏

T-Graphormer:使用Transformer进行时空预测

T-Graphormer: Using Transformers for Spatiotemporal Forecasting

Mila, University of Montreal(蒙特利尔大学米拉研究所)

Hao Yuan Bai, Xue Liu

AI总结:

T-Graphormer是一种基于Transformer的时空预测方法,通过时间编码同时建模时空相关性,在交通预测基准上显著降低RMSE和MAPE。

摘要:

时空数据无处不在,对其进行预测在许多领域具有重要应用。然而,其复杂的跨组件依赖性和非线性时间动态对传统技术来说可能具有挑战性。现有方法通过分别学习这两个维度来解决这一问题。在此,我们引入了时间Graphormer(T-Graphormer),一种基于Transformer的方法,能够同时建模时空相关性。通过在Graphormer架构中添加时间编码,每个节点关注图序列中的所有其他标记,使模型能够以最小的预定义归纳偏差学习丰富的时空模式。我们在真实世界的交通预测基准数据集上展示了T-Graphormer的有效性。与最先进的方法相比,T-Graphormer将均方根误差(RMSE)和平均绝对百分比误差(MAPE)分别降低了高达20%和10%。

英文摘要:

Spatiotemporal data is ubiquitous, and forecasting it has important applications in many domains. However, its complex cross-component dependencies and non-linear temporal dynamics can be challenging for traditional techniques. Existing methods address this by learning the two dimensions separately. Here, we introduce Temporal Graphormer (T-Graphormer), a Transformer-based approach capable of modelling spatiotemporal correlations simultaneously. By adding temporal encodings in the Graphormer architecture, each node attends to all other tokens within the graph sequence, enabling the model to learn rich spacetime patterns with minimal predefined inductive biases. We show the effectiveness of T-Graphormer on real-world traffic prediction benchmark datasets. Compared to state-of-the-art methods, T-Graphormer reduces root mean squared error (RMSE) and mean absolute percentage error (MAPE) by up to 20% and 10%.

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

↑