An Optimization Method for Autoregressive Time Series Forecasting
Zheng Li, Jerry Cheng, Huanying Gu
TL;DR
This work tackles the challenge of long-horizon time-series forecasting by enforcing temporal causality through an AR rollout-aware training objective. It introduces an RL-style loss that rewards monotonic growth of AR rollout errors $|x_t- ilde{x}_t|$ with horizon and concatenates short-horizon AR predictions to form long-term forecasts, all without changing model architecture. The method is model-agnostic and yields >10% MSE improvements over strong baselines like iTransformer across multiple datasets, while enabling short-horizon models to produce reliable forecasts far beyond their trained horizon. The study also reveals that AR rollout error accumulation tends to increase with rollout length and discusses theoretical bounds, practical implications, and avenues for future refinement via hybrid RL techniques and richer causal loss designs.
Abstract
Current time-series forecasting models are primarily based on transformer-style neural networks. These models achieve long-term forecasting mainly by scaling up the model size rather than through genuinely autoregressive (AR) rollout. From the perspective of large language model training, the traditional training process for time-series forecasting models ignores temporal causality. In this paper, we propose a novel training method for time-series forecasting that enforces two key properties: (1) AR prediction errors should increase with the forecasting horizon. Any violation of this principle is considered random guessing and is explicitly penalized in the loss function, and (2) the method enables models to concatenate short-term AR predictions for forming flexible long-term forecasts. Empirical results demonstrate that our method establishes a new state-of-the-art across multiple benchmarks, achieving an MSE reduction of more than 10% compared to iTransformer and other recent strong baselines. Furthermore, it enables short-horizon forecasting models to perform reliable long-term predictions at horizons over 7.5 times longer. Code is available at https://github.com/LizhengMathAi/AROpt
