Abstract
Probabilistic time series forecasting is essential for effective risk management and decision-making. However, existing methods often struggle to balance model flexibility with interpretability, particularly when dealing with noisy exogenous variables. This paper presents the Deep State Space Model for Forecasting (DSSMF), which integrates deep neural networks with classical state space models. A key innovation is the Automatic Relevance Determination (ARD) network, which automatically identifies and weights significant external factors. Evaluated on diverse benchmarks including electricity usage and air quality, the model demonstrates superior probabilistic forecasting accuracy, robust uncertainty estimation, and clear interpretability of driving variables.
Introduction
Accurate time series forecasting requires more than just point estimates; understanding the distribution of potential outcomes is critical for assessing risk. While traditional statistical models like SARIMA offer interpretability, they often fail to capture complex non-linearities. Conversely, deep learning models like Recurrent Neural Networks (RNNs) provide high capacity but often operate as "black boxes" that are sensitive to noise and require manual feature engineering for exogenous variables. Furthermore, these models frequently struggle to account for the inherent uncertainty in future exogenous data.
Methodology
The proposed DSSMF framework addresses these challenges by combining the structural rigor of state space models with the representational power of deep learning.
Deep State Space Architecture
DSSMF utilizes a latent state to represent the evolution of the system. Both the transition model (governing state changes) and the emission model (mapping states to observations) are parameterized by deep neural networks, specifically using Gated Recurrent Units (GRUs) to capture long-term dependencies. By decoupling observations from the latent state, the model becomes more robust to noise compared to traditional RNNs that feed previous targets directly back into the network.
Automatic Relevance Determination (ARD)
To manage high-dimensional and potentially noisy exogenous inputs, the authors introduced an ARD network. This component learns a global weight vector for all external features using a SoftMax layer, effectively filtering out irrelevant noise and highlighting predictive variables.
Inference and Forecasting
The model is trained within a Variational Auto-Encoder (VAE) framework by maximizing the Evidence Lower Bound (ELBO). For multi-step forecasting, Monte Carlo simulations are employed to propagate uncertainty forward, naturally accounting for errors in future exogenous forecasts.
Experiments and Results
The model was evaluated on standard benchmarks (electricity, traffic) and interpretable datasets (GEFCom2014, Beijing PM2.5) containing rich meteorological data.
Forecasting Performance
DSSMF consistently outperformed classical SARIMAX and state-of-the-art DeepAR models. For instance, on the electricity dataset, DSSMF achieved a Continuous Ranked Probability Score (CRPS) of 0.58, surpassing DeepAR's 0.60. Ablation studies confirmed that both the ARD network and the inclusion of exogenous variables are vital for this performance gain.
Interpretability and Robustness
A significant advantage of DSSMF is its ability to identify key drivers of the time series. The ARD network successfully isolated critical temporal features like "hour-of-day" for electricity load while assigning near-zero weights to synthetic noise.
Furthermore, the model exhibits "spontaneous uncertainty growth," where confidence intervals naturally widen as the forecast horizon increases, aligning with real-world intuition without manual tuning.
Conclusion
DSSMF bridges the gap between interpretable classical models and powerful deep learning architectures. By automating feature selection through the ARD network and utilizing a robust state-space formulation, it provides accurate and explainable probabilistic forecasts. Future research will explore more effective ways to integrate exogenous variables into the state transition logic to further enhance predictive power without overfitting.
Summary updated