FlashST: A Simple and Universal Prompt-Tuning Framework for Traffic Prediction

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Zhonghang, Xia, Lianghao, Xu, Yong, Huang, Chao
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917677429161984
author Li, Zhonghang
Xia, Lianghao
Xu, Yong
Huang, Chao
author_facet Li, Zhonghang
Xia, Lianghao
Xu, Yong
Huang, Chao
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_17898
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FlashST: A Simple and Universal Prompt-Tuning Framework for Traffic Prediction
Li, Zhonghang
Xia, Lianghao
Xu, Yong
Huang, Chao
Machine Learning
Artificial Intelligence
Computers and Society
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.
title FlashST: A Simple and Universal Prompt-Tuning Framework for Traffic Prediction
topic Machine Learning
Artificial Intelligence
Computers and Society
url https://arxiv.org/abs/2405.17898