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

使用空间对比预训练(SCPT)在新道路上进行交通预测

Traffic Forecasting on New Roads Using Spatial Contrastive Pre-Training (SCPT)

RMIT(皇家墨尔本理工大学);Data61, CSIRO(联邦科学与工业研究组织数据61研究所);UNSW(新南威尔士大学);ANU(澳大利亚国立大学)

Arian Prabowo, Hao Xue, Wei Shao, Piotr Koniusz, Flora D. Salim

AI总结:

针对新道路交通预测的泛化难题,提出ST划分评估设置与SCPT空间对比预训练框架,仅需两天数据且无需重训即可提升未见道路预测。

摘要:

新道路一直在建设中。然而,以往的深度预测模型在泛化到训练数据中未见过的新道路(unseen roads)方面的能力很少得到探索。本文提出一种称为时空(ST)划分的新设置,用于评估模型泛化到未见过道路的能力。在该设置中,模型在来自部分道路样本的数据上训练,但在训练数据中未见过的道路上测试。此外,我们还提出一个名为空间对比预训练(Spatial Contrastive Pre-Training,SCPT)的新框架,其中引入了一个空间编码器模块,用于在推理期间从未见过的道路中提取潜在特征。该空间编码器使用对比学习进行预训练。在推理期间,空间编码器只需要新道路两天的交通数据,且不需要任何重新训练。我们还表明,空间编码器的输出可有效用于在推理期间推断未见过道路的潜在节点嵌入。SCPT框架还加入了一个名为空间门控加法(spatially gated addition,SGA)层的新层,以将空间编码器输出的潜在特征有效组合到现有骨干网络中。此外,由于未见过道路上的数据有限,我们认为最好将交通信号解耦为易于捕获的周期信号和难以捕获的马尔可夫信号,并让空间编码器仅学习马尔可夫信号。最后,我们在四个真实世界数据集上使用ST划分设置对SCPT进行了实证评估。结果表明,将SCPT添加到骨干网络可持续提升在未见过道路上的预测性能。更重要的是,当向更远的未来进行预测时,提升幅度更大。代码可在GitHub获取:https://github.com/cruiseresearchgroup/forecasting-on-new-roads。

英文摘要:

New roads are being constructed all the time. However, the capabilities of previous deep forecasting models to generalize to new roads not seen in the training data (unseen roads) are rarely explored. In this paper, we introduce a novel setup called a spatio-temporal (ST) split to evaluate the models' capabilities to generalize to unseen roads. In this setup, the models are trained on data from a sample of roads, but tested on roads not seen in the training data. Moreover, we also present a novel framework called Spatial Contrastive Pre-Training (SCPT) where we introduce a spatial encoder module to extract latent features from unseen roads during inference time. This spatial encoder is pre-trained using contrastive learning. During inference, the spatial encoder only requires two days of traffic data on the new roads and does not require any re-training. We also show that the output from the spatial encoder can be used effectively to infer latent node embeddings on unseen roads during inference time. The SCPT framework also incorporates a new layer, named the spatially gated addition (SGA) layer, to effectively combine the latent features from the output of the spatial encoder to existing backbones. Additionally, since there is limited data on the unseen roads, we argue that it is better to decouple traffic signals to trivial-to-capture periodic signals and difficult-to-capture Markovian signals, and for the spatial encoder to only learn the Markovian signals. Finally, we empirically evaluated SCPT using the ST split setup on four real-world datasets. The results showed that adding SCPT to a backbone consistently improves forecasting performance on unseen roads. More importantly, the improvements are greater when forecasting further into the future. The codes are available on GitHub: https://github.com/cruiseresearchgroup/forecasting-on-new-roads .

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

↑