NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Rao-Blackwellised Particle Filters for Time Series Forecasting

Richard Kurle, Syama Sundar Rangapuram, Emmanuel de Bézenac, Stephan Günnemann, Jan GasthausNeurIPS 2020

TL;DR

This paper introduces ARSGLS, a hybrid forecasting model that combines the structural benefits of Switching Gaussian Linear Systems (SGLS) with the flexibility of deep learning. By using a Rao-Blackwellised Particle Filter, the authors efficiently "integrate out" the linear parts of the model, allowing for high-accuracy, long-term forecasts on complex data ranging from electricity usage to video streams.

The Problem: Tractability vs. Expressivity

Time series forecasting often forces a trade-off between mathematical tractability and model expressivity:

  1. Linear Models (GLS): These are mathematically elegant and allow for exact inference (like the Kalman Filter), but they fail to capture the "switches" or non-linearities common in real-world data (e.g., a pendulum changing direction or a power grid shifting modes).
  2. Deep Learning Models: Recurrent Neural Networks (RNNs) are highly flexible but often struggle with long-term uncertainty and lack the structural "physics" of state-space models.
  3. Switching Models (SGLS): These allow a system to jump between different linear regimes. However, traditional SGLS models assume the "switch" happens independently of the system's current state, which leads to poor long-term predictions. They also struggle with high-dimensional observations like video.

The authors aim to bridge these gaps by creating a model that is "conditionally linear"—meaning if you know which "mode" the system is in, the rest of the math becomes easy—while allowing the "modes" themselves to depend on the system's state and be decoded into complex outputs via neural networks.

Methods: Introducing ARSGLS

The authors propose the Auxiliary variable Recurrent Switching Gaussian Linear System (ARSGLS).

Graphical model of ARSGLS showing state-to-switch recurrence and inference architecture.

Its key innovations include:

  • State-to-Switch Recurrence: Unlike standard switching models, the probability of switching to a new mode at time $t$ depends on the latent state at $t-1$. This "closed-loop" feedback is critical for modeling physical systems.
  • Auxiliary Variable Decoder: To handle complex data (like images), they insert a Gaussian latent variable $z_t$ between the linear state and the observation. A neural network then "decodes" $z_t$ into the final observation $y_t$.
  • Rao-Blackwellised Particle Filter (RBPF): This is the core algorithmic contribution. Particle filters usually sample everything, which is noisy and inefficient. RBPF exploits the model's structure: it uses particles to sample the non-linear "switches" but uses exact Kalman filtering to compute the linear states. This significantly reduces the variance of the estimates.
  • Ladder Proposal Distribution: They design a specific "ladder" structure for the particle filter's proposal distribution, which helps the model better incorporate current observations when guessing the next state.

Key Insights and Ideas

The Power of Conditional Linearity: The core insight is that you don't need to approximate everything. By keeping a portion of the model linear, you can use established Kalman filter mathematics to do the heavy lifting inside a modern deep learning objective.

Feedback is Essential: The pendulum experiment proves that "open-loop" switching (where the switch doesn't know the state) results in forecasts that quickly drift into nonsense. Adding the state-to-switch link allows the model to "know" it's at the top of a swing and prepare for the direction change.

Pendulum forecasting results demonstrating accurate long-term predictions with ARSGLS.

Wasserstein Metric for Video: When forecasting video, standard metrics like Mean Squared Error (MSE) are poor because a small shift in an object's position results in a massive error. The authors use the Wasserstein distance, which measures the "work" required to move pixels to their true locations, providing a much more meaningful evaluation of physical accuracy.

Key Results

The model was evaluated on three distinct types of data: a synthetic pendulum, standard forecasting benchmarks (Exchange, Solar, Electricity, Traffic, Wiki), and simulated physical environments (video streams of moving objects).

  • Forecasting Accuracy: ARSGLS consistently outperformed or matched state-of-the-art models like DeepState and DeepAR across the five forecasting datasets, particularly in "long-term" scenarios where the model isn't updated with new data.
  • Video Prediction: On the physical simulation datasets, the Rao-Blackwellised approach significantly outperformed the Kalman Variational Auto-Encoder (KVAE). The Wasserstein distance plots show that ARSGLS maintains much lower error as the forecast horizon grows.
  • Variance Reduction: The use of RBPF allowed the model to achieve better results with fewer samples compared to standard Monte Carlo methods.

Limitations and Future Work

While highly effective, the authors acknowledge that their gradient estimates for re-sampled variables are biased (though they have lower variance), which is a common trade-off in Sequential Monte Carlo research. Furthermore, while more efficient than a standard particle filter, the RBPF is still more computationally intensive than a simple RNN.

Future directions include extending this framework to hierarchical models, handling multimodal or missing data, and exploring "online" learning scenarios where the model adapts to data drift in real-time.

Summary updated

BibTeX
@inproceedings{kurle2020deep,
  author = {Richard Kurle and Syama Sundar Rangapuram and Emmanuel de Bézenac and Stephan Günnemann and Jan Gasthaus},
  title = {{Deep Rao-Blackwellised Particle Filters for Time Series Forecasting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=c5SorBcBo9F},
}
Figure