TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Online Test-Time Adaptation of Spatial-Temporal Traffic Fl...

Online Test-Time Adaptation of Spatial-Temporal Traffic Flow Forecasting

Pengxin Guo, Pengrong Jin, Ziyue Li, Lei Bai, Yu Zhang

2024-01-08Traffic PredictionTest-time Adaptation
PaperPDFCode(official)

Abstract

Accurate spatial-temporal traffic flow forecasting is crucial in aiding traffic managers in implementing control measures and assisting drivers in selecting optimal travel routes. Traditional deep-learning based methods for traffic flow forecasting typically rely on historical data to train their models, which are then used to make predictions on future data. However, the performance of the trained model usually degrades due to the temporal drift between the historical and future data. To make the model trained on historical data better adapt to future data in a fully online manner, this paper conducts the first study of the online test-time adaptation techniques for spatial-temporal traffic flow forecasting problems. To this end, we propose an Adaptive Double Correction by Series Decomposition (ADCSD) method, which first decomposes the output of the trained model into seasonal and trend-cyclical parts and then corrects them by two separate modules during the testing phase using the latest observed data entry by entry. In the proposed ADCSD method, instead of fine-tuning the whole trained model during the testing phase, a lite network is attached after the trained model, and only the lite network is fine-tuned in the testing process each time a data entry is observed. Moreover, to satisfy that different time series variables may have different levels of temporal drift, two adaptive vectors are adopted to provide different weights for different time series variables. Extensive experiments on four real-world traffic flow forecasting datasets demonstrate the effectiveness of the proposed ADCSD method. The code is available at https://github.com/Pengxin-Guo/ADCSD.

Results

TaskDatasetMetricValueModel
Traffic PredictionPeMS07MAE@1h19.62ADCSD
Traffic PredictionNYCTaxiMAE @ in16.987ADCSD
Traffic PredictionNYCTaxiMAE @ out14.595ADCSD

Related Papers

Federated Learning with Graph-Based Aggregation for Traffic Forecasting2025-07-13Helping CLIP See Both the Forest and the Trees: A Decomposition and Description Approach2025-07-04DC-TTA: Divide-and-Conquer Framework for Test-Time Adaptation of Interactive Segmentation2025-06-29Recognizing Surgical Phases Anywhere: Few-Shot Test-time Adaptation and Task-graph Guided Refinement2025-06-25Keeping Medical AI Healthy: A Review of Detection and Correction Methods for System Degradation2025-06-20Exploring Audio Cues for Enhanced Test-Time Video Model Adaptation2025-06-14Test-Time Adaptation for Generalizable Task Progress Estimation2025-06-11SUTA-LM: Bridging Test-Time Adaptation and Language Model Rescoring for Robust ASR2025-06-10