Skip to main content
QUICK REVIEW

[论文解读] FlashST: A Simple and Universal Prompt-Tuning Framework for Traffic Prediction

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

FlashST 提出了一种轻量级、通用的提示微调框架,用于交通预测,通过利用上下文学习和分布对齐,提升了在多样化时空数据集上的泛化能力。它采用时空提示网络,结合上下文蒸馏和依赖建模,并通过统一的分布映射机制对齐预训练数据与下游数据的分布,实现了在极少超参数敏感性下的最先进性能。

ABSTRACT

The objective of traffic prediction is to accurately forecast and analyze the dynamics of transportation patterns, considering both space and time. However, the presence of distribution shift poses a significant challenge in this field, as existing models struggle to generalize well when faced with test data that significantly differs from the training distribution. To tackle this issue, this paper introduces a simple and universal spatio-temporal prompt-tuning framework-FlashST, which adapts pre-trained models to the specific characteristics of diverse downstream datasets, improving generalization in diverse traffic prediction scenarios. Specifically, the FlashST framework employs a lightweight spatio-temporal prompt network for in-context learning, capturing spatio-temporal invariant knowledge and facilitating effective adaptation to diverse scenarios. Additionally, we incorporate a distribution mapping mechanism to align the data distributions of pre-training and downstream data, facilitating effective knowledge transfer in spatio-temporal forecasting. Empirical evaluations demonstrate the effectiveness of our FlashST across different spatio-temporal prediction tasks using diverse urban datasets. Code is available at https://github.com/HKUDS/FlashST.

研究动机与目标

  • 为解决时空交通预测中的分布偏移问题,即在某一数据集上训练的模型难以泛化到未见的数据分布。
  • 通过在上下文中捕捉领域特定的时空特征,实现在无需微调的情况下,高效适应预训练模型至新的下游数据集。
  • 通过统一的分布映射机制弥合预训练数据与下游数据之间的分布差距,通过正则化提示嵌入实现。
  • 在保持高效率和低参数开销的同时,提升模型在多样化交通预测任务中的泛化能力。
  • 在多个真实世界的城市数据集中,展示提示微调在时空预测中的有效性,尤其是在分布偏移情况下的表现。

提出的方法

  • 引入时空提示网络以支持上下文学习,使模型能够在不更新主干权重的情况下适应新的数据分布。
  • 通过上下文蒸馏机制,在推理过程中捕获并编码来自未见下游数据的复杂时空上下文信号。
  • 通过依赖建模方案显式学习空间位置与时间步之间的相互依赖关系,以建模动态的时空关系。
  • 通过统一的分布映射机制正则化提示嵌入,使其分布与预训练数据分布对齐,从而促进有效知识迁移。
  • 采用温度控制的对比损失,鼓励提示嵌入的分布趋于均匀,提升模型的鲁棒性与泛化能力。
  • 该方法以端到端方式应用,仅需极少的架构修改,支持无缝适配多种预训练模型与数据集。

实验结果

研究问题

  • RQ1提示微调框架是否能有效提升在分布偏移下的时空交通预测泛化能力?
  • RQ2在无需微调的情况下,轻量级提示网络结合上下文学习在未见城市交通数据集上的适应能力如何?
  • RQ3对提示嵌入进行分布映射在预训练与下游任务之间的知识迁移中有多大促进作用?
  • RQ4FlashST 框架对温度和损失权重等超参数设置的敏感性如何?
  • RQ5所提出方法是否能在多样化时空预测任务与数据集中持续实现性能提升?

主要发现

  • FlashST 在四个不同的时空预测任务中均达到最先进性能,在 PEMS07(M) 和 CA-D5 数据集上显著优于基线模型。
  • 消融实验表明,上下文蒸馏与分布映射两个组件对最优性能至关重要,其缺失会导致性能显著下降。
  • 模型在 τ=0.3 和 λ=1.0 时达到最优性能,且对超参数变化表现出极低敏感性,表明其具有强鲁棒性。
  • 提示嵌入的可视化结果表明,分布映射机制成功将嵌入映射为单位球面上的近似均匀分布。
  • 该框架在显著分布偏移下,仍能保持在多样化城市数据集上的高效率与强泛化能力。
  • 案例研究显示,分布映射机制能有效对齐来自不同数据源的提示嵌入,实现一致的知识迁移。

阅读本论文

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

在 Nubint 中阅读本论文

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