ReCast: Reliability-aware Codebook-assisted Lightweight Time Series Forecasting

Authors

  • Xiang Ma Shandong University
  • Taihua Chen Shandong University
  • Pengcheng Wang Shandong University
  • Xuemei Li Shandong University
  • Caiming Zhang Shandong University

DOI:

https://doi.org/10.1609/aaai.v40i29.39610

Abstract

Time series forecasting is crucial for applications in various domains. Conventional methods often rely on global decomposition into trend, seasonal, and residual components, which become ineffective for real-world series dominated by local, complex, and highly dynamic patterns. Moreover, the high model complexity of such approaches limits their applicability in real-time or resource-constrained environments. In this work, we propose a novel reliability-aware codebook-assisted time series forecasting framework (ReCast) that enables lightweight and robust prediction by exploiting recurring local shapes. ReCast encodes local patterns into discrete embeddings through patch-wise quantization using a learnable codebook, thereby compactly capturing stable regular structures. To compensate for residual variations not preserved by quantization, ReCast employs a dual-path architecture comprising a quantization path for efficient modeling of regular structures and a residual path for reconstructing irregular fluctuations. A central contribution of ReCast is a reliability-aware codebook update strategy, which incrementally refines the codebook via weighted corrections. These correction weights are derived by fusing multiple reliability factors from complementary perspectives by a distributionally robust optimization (DRO) scheme, ensuring adaptability to non-stationarity and robustness to distribution shifts. Extensive experiments demonstrate that ReCast outperforms state-of-the-art (SOTA) models in accuracy, efficiency, and adaptability to distribution shifts.

Published

2026-03-14

How to Cite

Ma, X., Chen, T., Wang, P., Li, X., & Zhang, C. (2026). ReCast: Reliability-aware Codebook-assisted Lightweight Time Series Forecasting. Proceedings of the AAAI Conference on Artificial Intelligence, 40(29), 24299–24307. https://doi.org/10.1609/aaai.v40i29.39610

Issue

Section

AAAI Technical Track on Machine Learning VI