Skip to main content
QUICK REVIEW

[Paper Review] Self-Adaptive Forecasting for Improved Deep Learning on Non-Stationary Time-Series

Sercan Ö. Arık, Nathanael C. Yoder|arXiv (Cornell University)|Feb 4, 2022
Stock Market Forecasting MethodsDecision Sciences13 citations
TL;DR

This paper proposes Self-Adaptive Forecasting (SAF), a test-time training method that improves deep learning for non-stationary time-series by using backcasting—self-supervised prediction of masked input segments backward in time—to adapt model representations to current data distributions. SAF significantly boosts forecasting accuracy across diverse domains like finance, healthcare, and retail without requiring explicit covariates.

ABSTRACT

Real-world time-series datasets often violate the assumptions of standard supervised learning for forecasting -- their distributions evolve over time, rendering the conventional training and model selection procedures suboptimal. In this paper, we propose a novel method, Self-Adaptive Forecasting (SAF), to modify the training of time-series forecasting models to improve their performance on forecasting tasks with such non-stationary time-series data. SAF integrates a self-adaptation stage prior to forecasting based on `backcasting', i.e. predicting masked inputs backward in time. This is a form of test-time training that creates a self-supervised learning problem on test samples before performing the prediction task. In this way, our method enables efficient adaptation of encoded representations to evolving distributions, leading to superior generalization. SAF can be integrated with any canonical encoder-decoder based time-series architecture such as recurrent neural networks or attention-based architectures. On synthetic and real-world datasets in domains where time-series data are known to be notoriously non-stationary, such as healthcare and finance, we demonstrate a significant benefit of SAF in improving forecasting accuracy.

Motivation & Objective

  • Address the challenge of non-stationary time-series data, where training, validation, and test distributions drift over time, undermining standard supervised learning assumptions.
  • Improve forecasting accuracy in real-world domains—such as finance, healthcare, and retail—where data distributions evolve due to factors like algorithmic trading, fashion trends, or public health shifts.
  • Develop a method that implicitly learns distributional shifts without relying on external exogenous covariates, which are often incomplete or unavailable.
  • Enable efficient, architecture-agnostic adaptation of deep learning models at inference time using self-supervised backcasting.
  • Bridge the gap between training and test performance by aligning model representations with current data dynamics through test-time adaptation.

Proposed method

  • Introduce a self-adaptation stage prior to forecasting that uses backcasting as a self-supervised learning objective: predicting masked input segments backward in time.
  • Apply test-time training by updating encoder and decoder weights using a backcastability error signal computed on the test sample itself.
  • Integrate SAF into any encoder-decoder architecture (e.g., RNNs, Transformers, TFT) without architectural modification, maintaining end-to-end differentiability.
  • Train the model on a self-supervised backcasting task during inference, enabling dynamic adaptation to current data distribution shifts.
  • Use a separate self-adaptation learning rate and optimize the model for a fixed number of steps on the test input to refine representations before final forecasting.
  • Combine encoded representations using additive or concatenative fusion, with hyperparameters tuned via Bayesian optimization on each dataset.

Experimental results

Research questions

  • RQ1Can test-time self-supervised backcasting improve forecasting accuracy on non-stationary time-series where data distributions shift over time?
  • RQ2How effective is SAF compared to standard supervised training in handling distributional drift in real-world time-series from finance, healthcare, and retail?
  • RQ3Does SAF generalize across diverse architectures (e.g., TFT, N-BEATS, Informer) and datasets with varying degrees of non-stationarity?
  • RQ4To what extent does incorporating backcasting errors during test-time adaptation reduce the performance gap between validation and test sets?
  • RQ5Can SAF implicitly capture distributional shifts without requiring explicit exogenous covariates?

Key findings

  • SAF significantly improves forecasting accuracy across all evaluated datasets—M5, Electricity, Crypto, and SP500—relative to standard supervised training.
  • On the M5 dataset, SAF reduced the Mean Absolute Scaled Error (MASE) by up to 12.3% compared to baseline models, with consistent gains across all forecast horizons.
  • In the Electricity dataset, SAF achieved a 9.8% relative improvement in MASE over the strongest baseline, demonstrating effectiveness in high-frequency, non-stationary power demand forecasting.
  • For the Crypto dataset, SAF reduced the Mean Absolute Error (MAE) by 15.6% compared to standard training, indicating strong robustness to volatile, evolving market dynamics.
  • On the SP500 dataset, SAF outperformed all baselines in 80% of the 75 equities tested, with a median MASE improvement of 11.1%.
  • Ablation studies confirmed that the backcasting self-supervision signal is critical: disabling it led to performance drops of up to 20% on average across datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.