APT: Affine Prototype-Timestamp for Time Series Forecasting Under Distribution Shift

Authors

  • Yujie Li Institute of Computing Technology, Chinese Academy of Sciences University of Chinese Academy of Sciences
  • Zezhi Shao Institute of Computing Technology, Chinese Academy of Sciences
  • Chengqing Yu Institute of Computing Technology, Chinese Academy of Sciences University of Chinese Academy of Sciences
  • Yisong Fu Institute of Computing Technology, Chinese Academy of Sciences University of Chinese Academy of Sciences
  • Tao Sun Institute of Computing Technology, Chinese Academy of Sciences
  • Yongjun Xu Institute of Computing Technology, Chinese Academy of Sciences University of Chinese Academy of Sciences
  • Fei Wang Institute of Computing Technology, Chinese Academy of Sciences University of Chinese Academy of Sciences

DOI:

https://doi.org/10.1609/aaai.v40i18.38542

Abstract

Time series forecasting under distribution shift remains challenging, as existing deep learning models often rely on local statistical normalization (e.g., mean and variance) that fails to capture global distribution shift. Methods like RevIN and its variants attempt to decouple distribution and pattern but still struggle with missing values, noisy observations, and invalid channel-wise affine transformation. To address these limitations, we propose Affine Prototype-Timestamp(APT), a lightweight and flexible plug-in module that injects global distribution features into the normalization–forecasting pipeline. By leveraging timestamp-conditioned prototype learning, APT dynamically generates affine parameters that modulate both input and output series, enabling the backbone to learn from self-supervised, distribution-aware clustered instances. APT is compatible with arbitrary forecasting backbones and normalization strategies while introducing minimal computational overhead. Extensive experiments across six benchmark datasets and multiple backbone-normalization combinations demonstrate that APT significantly improves forecasting performance under distribution shift.

Downloads

Published

2026-03-14

How to Cite

Li, Y., Shao, Z., Yu, C., Fu, Y., Sun, T., Xu, Y., & Wang, F. (2026). APT: Affine Prototype-Timestamp for Time Series Forecasting Under Distribution Shift. Proceedings of the AAAI Conference on Artificial Intelligence, 40(18), 15180–15188. https://doi.org/10.1609/aaai.v40i18.38542

Issue

Section

AAAI Technical Track on Data Mining & Knowledge Management II