Skip to main content
QUICK REVIEW

[论文解读] OpenCity: Open Spatio-Temporal Foundation Models for Traffic Prediction

Zhonghang Li, Long Xia|arXiv (Cornell University)|Aug 16, 2024
Traffic Prediction and Management TechniquesEngineering被引用 3
一句话总结

OpenCity 是一种新颖的时空基础模型,通过在多样化、大规模的交通数据集上预训练基于 Transformer 的架构,实现了在未见城市和长期预测中的强大零样本泛化能力。其表现达到当前最先进水平的零样本性能,媲美全微调基线模型,同时具备高计算效率和有前景的缩放规律。

ABSTRACT

Accurate traffic forecasting is crucial for effective urban planning and transportation management, enabling efficient resource allocation and enhanced travel experiences. However, existing models often face limitations in generalization, struggling with zero-shot prediction on unseen regions and cities, as well as diminished long-term accuracy. This is primarily due to the inherent challenges in handling the spatial and temporal heterogeneity of traffic data, coupled with the significant distribution shift across time and space. In this work, we aim to unlock new possibilities for building versatile, resilient and adaptive spatio-temporal foundation models for traffic prediction. To achieve this goal, we introduce a novel foundation model, named OpenCity, that can effectively capture and normalize the underlying spatio-temporal patterns from diverse data characteristics, facilitating zero-shot generalization across diverse urban environments. OpenCity integrates the Transformer architecture with graph neural networks to model the complex spatio-temporal dependencies in traffic data. By pre-training OpenCity on large-scale, heterogeneous traffic datasets, we enable the model to learn rich, generalizable representations that can be seamlessly applied to a wide range of traffic forecasting scenarios. Experimental results demonstrate that OpenCity exhibits exceptional zero-shot predictive performance. Moreover, OpenCity showcases promising scaling laws, suggesting the potential for developing a truly one-for-all traffic prediction solution that can adapt to new urban contexts with minimal overhead. We made our proposed OpenCity model open-source and it is available at the following link: https://github.com/HKUDS/OpenCity.

研究动机与目标

  • 解决在未见城市区域和长期时间范围内的交通预测中零样本泛化这一关键挑战。
  • 克服现有模型因交通数据中存在空间和时间分布偏移而无法泛化的局限性。
  • 开发一种可扩展、高效的通用模型,能够以极少微调实现跨多样化城市的知识迁移。
  • 通过从异构数据中学习通用时空表征,实现一劳永逸的交通预测。
  • 证明在大规模多城市交通数据上进行预训练,可为下游预测任务生成稳健且可泛化的表征。

提出的方法

  • 采用 Transformer 编码器主干网络,以建模交通数据中复杂多变的时空依赖关系。
  • 在来自多个城市的多样化真实世界交通数据集的大型异构集合上预训练 OpenCity,以学习可泛化的表征。
  • 集成图神经网络组件,以有效编码道路网络中的空间相关性。
  • 在预训练过程中使用自监督学习目标,以增强表征学习,而无需依赖带标签的预测结果。
  • 将掩码自编码策略作为预训练目标的一部分,以从部分观测中重建时空模式。
  • 利用预训练中观察到的缩放规律,指导模型开发并预测随着数据量和模型容量增加带来的性能提升。

实验结果

研究问题

  • RQ1在多样化多城市交通数据上预训练的基础模型,是否能在未见城市区域实现强大的零样本预测性能?
  • RQ2在不同城市和预测时长的零样本设置下,OpenCity 的性能与全微调的最先进模型相比如何?
  • RQ3在异构交通数据上进行预训练,能在多大程度上提升长期预测的泛化能力,而不仅限于短期预测?
  • RQ4OpenCity 的计算特性和缩放特性如何?它们是否支持构建真正通用的交通预测系统?
  • RQ5OpenCity 是否能在无需微调的情况下,有效应对不同城市间交通数据的显著分布偏移?

主要发现

  • OpenCity 在多个基准数据集上实现了与全微调最先进模型相当或更优的零样本预测性能。
  • 在 CHI-TAXI 数据集上,OpenCity_mini 的 MAE 为 1.74,RMSE 为 3.80,优于 UniST(MAE:2.94,RMSE:7.88)和 UrbanGPT(MAE:3.26,RMSE:7.10)等基线模型。
  • 该模型在城市间展现出强大的泛化能力,在预训练中未见的区域测试时仍保持高精度。
  • OpenCity 展现出有利的缩放规律,表明性能可随模型规模和数据规模的增加而可预测地提升。
  • 尽管具备强大的泛化能力,OpenCity 仍保持计算效率,推理成本仅为 1.5 秒,显著低于 UrbanGPT 的 $4.5 \times 10^4$ 秒。
  • 在分布偏移下,模型性能依然稳健,证实其能够有效应对真实世界交通数据中的空间和时间异质性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。