English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

ST-TTC: Test-Time Computing Calibration for Spatiotemporal Forecasting

Forum topic · ✨步子哥 · 2025-11-28

Summary

ST-TTC is a lightweight, plug-and-play test-time computing framework that improves spatiotemporal forecasting under distribution shift. Instead of retraining the backbone, ST-TTC freezes the base model (Transformer, GCN, MLP, etc.) and learns only a small set of calibration parameters during inference. It combines two components: a spectral-domain calibrator that applies phase-amplitude modulation in the frequency domain to correct periodic biases such as rush hours, seasonal cycles, and daily weather variations, and a flash updating mechanism with a streaming memory queue that performs fast, incremental gradient updates on recent test samples while avoiding catastrophic forgetting. Experiments on real-world traffic flow, weather forecasting, and energy load datasets show consistent accuracy and robustness gains across model architectures. Compared with online learning and test-time training approaches, ST-TTC requires far less computation and storage, making it practical for large-scale deployments such as intelligent transportation, meteorological services, and power grid scheduling.

ST-TTC (Learning with Calibration) introduces a test-time computing paradigm for spatiotemporal forecasting, addressing performance degradation caused by distribution shift in open, real-world environments.

What is Test-Time Computing?

Test-time computing dynamically adjusts model parameters or predictions during inference rather than during training. Traditional robustness methods (data augmentation, architecture changes, large-scale pretraining) are computationally expensive and struggle with unseen distribution shifts at deployment. Test-time computing instead lets the model self-calibrate using unlabeled test data streams — for example, via auxiliary self-supervised tasks whose losses update the model without labels — so it can respond instantly to new patterns.

How ST-TTC Works

ST-TTC consists of two key components:

1. Spectral-Domain Calibrator

Real-world spatiotemporal data exhibit periodic fluctuations (traffic rush hours, seasonal weather changes), producing systematic periodic bias at test time. ST-TTC transforms model predictions into the frequency domain and applies phase-amplitude modulation to correct these periodic components. This captures structural bias caused by non-stationarity and adapts predictions to the current data distribution in real time.

2. Flash Updating Mechanism

To update calibration parameters efficiently, ST-TTC uses fast gradient computation with incremental parameter adjustment, paired with a streaming memory queue — a finite-capacity buffer holding recent test samples and their prediction errors. This enables real-time learning from test data while avoiding the catastrophic forgetting and heavy compute costs typical of online learning.

Experimental Results

  • Works as a plug-and-play module across architectures: Transformers, GCNs, MLPs
  • Backbone is frozen; only test-time calibration parameters are optimized
  • Validated on traffic flow, weather forecasting, and energy load datasets
  • Gains include: lower prediction error, improved robustness to sudden events (accidents, weather changes), better handling of seasonal/daily patterns, and adaptation to shifting consumption patterns (holidays, industrial schedules)
  • Why It Is Lighter Than Existing Methods

  • No architecture changes or retraining — only a small calibration module is learned
  • The flash update mechanism stores only recent data, avoiding large historical buffers and iterative re-optimization
  • Incremental updates tune against current error rather than retraining from scratch
  • Achieves comparable or better adaptation with less computation and memory

Summary

ST-TTC is a plug-and-play lightweight module that freezes the backbone network and dynamically learns calibration parameters only at test time, significantly improving model robustness and accuracy under distribution shift. It offers a practical solution for prediction systems that must run continuously in open environments, such as intelligent traffic management, weather services, and power grid scheduling.

Tags

#test-time-computing#spatiotemporal-forecasting#distribution-shift#calibration#online-learning#deep-learning#time-series#model-robustness

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/176415038