Abstract
Despite their dominance in fields like computer vision and natural language processing, deep neural networks (DNNs) often struggle to outperform simpler statistical models in time series forecasting. A primary cause of this performance gap is non-stationarity—the tendency of real-world data to undergo shifts in mean and variance over time. This paper introduces GAS-Norm, a novel methodology for adaptive time series normalization that combines Generalized Autoregressive Score (GAS) models with deep learning architectures. By utilizing a score-driven framework to estimate and forecast time-varying statistics, GAS-Norm provides DNNs with a stabilized, "stationary" view of the input data. Our empirical results across 25 experimental settings demonstrate that GAS-Norm improves forecasting performance in 21 cases, offering a robust, model-agnostic solution for handling distribution shifts in complex datasets.
Introduction
In time series forecasting, the assumption that the future will resemble the past is frequently violated. Financial indices, energy consumption patterns, and macroeconomic indicators are notoriously non-stationary, characterized by sudden trends, volatility clusters, and shifting scales. While DNNs are highly expressive, they are often brittle when faced with data that falls outside the distribution seen during training. When the mean or variance of a series shifts, the nonlinear activations of a DNN can lead to erratic predictions, a phenomenon often referred to as falling into "out-of-distribution" traps.
To address this, we propose GAS-Norm. Rather than relying on static normalization or rigid local windows, GAS-Norm employs a statistical filter that updates its parameters at every new observation. This allows the model to adapt to the evolving scale of the data in real-time, ensuring that the deep learning component can focus on learning complex temporal patterns rather than being distracted by shifting scales.
The GAS-Norm Framework
GAS-Norm is a hybrid framework designed to be wrapped around any existing DNN architecture (e.g., Transformers, LSTMs, or Feed-Forward Networks). The process consists of three integrated phases:
1. Adaptive Normalization
The core of the framework is a Generalized Autoregressive Score (GAS) model. Unlike simple moving averages, GAS models are "score-driven," meaning they update their estimates of mean and variance based on the gradient of the log-likelihood (the "score"). This provides a mathematically optimal way to track changing distributions. Crucially, we utilize a Student’s t-distribution within this framework. This choice makes the normalization robust to outliers; instead of a single data spike skewing the normalization statistics, the GAS-Norm filter effectively "downweights" the anomaly.
2. Residual Forecasting
Once the input data is normalized using the GAS-derived statistics, it is passed to the DNN. Because the data has been stabilized, the DNN is tasked with predicting the residuals—the complex, nonlinear parts of the signal that the statistical model cannot capture on its own.
3. Denormalization
Simultaneously, the GAS model forecasts the future mean and variance for the target horizon. These forecasted statistics are then used to "re-scale" the DNN’s output back into the original data range. This ensures that the final prediction accounts for both the learned deep patterns and the projected shift in the data's scale.
Experimental Results
We evaluated GAS-Norm against state-of-the-art normalization methods (such as RevIN and Local Norm) across a variety of synthetic and real-world benchmarks.
Robustness to Volatility
On the VIX (Volatility Index) dataset, which is characterized by extreme heteroscedasticity, GAS-Norm significantly outperformed traditional methods. While standard Z-score scaling or local normalization can be corrupted by sudden market shocks, the Student’s t-based GAS filter maintained a stable normalization, preventing the DNN from producing erratic forecasts during high-volatility periods.
Large-Scale Benchmarking
Using the Monash Forecasting Repository, we tested GAS-Norm across diverse domains including macroeconomics (Fred MD) and retail (NN5). When combined with architectures like the Transformer and DeepAR, GAS-Norm helped achieve lower Mean Absolute Scaled Error (MASE) in the vast majority of tests. Overall, the deep forecasting models improved their performance in 21 out of 25 settings when integrated with GAS-Norm.
Computational Efficiency
Despite the added statistical filtering layer, the computational overhead of GAS-Norm is negligible. The filtering phase typically adds only a few seconds to the total processing time, even on large-scale datasets, making it highly suitable for real-time industrial applications.
Conclusion
GAS-Norm bridges the gap between classical statistical modeling and modern deep learning. By delegating the task of scale-tracking to a robust, score-driven statistical model, we allow DNNs to generalize more effectively in non-stationary environments. The framework is model-agnostic, computationally efficient, and significantly improves forecasting accuracy across a wide range of real-world scenarios. Future work will explore extending this score-driven approach to handle complex seasonality and applying normalization directly to the internal activations of deep networks.
Summary updated