Sampling-Free Probabilistic Deep State-Space Models

Andreas Look, Melih Kandemir, Barbara Rakitsch, Jan PetersarXiv 2023

Abstract

Many real-world dynamical systems can be described as State-Space Models (SSMs). In this formulation, each observation is emitted by a latent state, which follows first-order Markovian dynamics. A Probabilistic Deep SSM (ProDSSM) generalizes this framework to dynamical systems of unknown parametric form, where the transition and emission models are described by neural networks with uncertain weights. In this work, we propose the first deterministic inference algorithm for models of this type. Our framework allows efficient approximations for training and testing. We demonstrate in our experiments that our new method can be employed for a variety of tasks and enjoys a superior balance between predictive performance and computational budget.

Introduction

Modeling complex dynamical systems—such as robotic motion or financial fluctuations—requires accounting for two fundamental types of uncertainty. Aleatoric uncertainty represents the inherent noise in the system, while epistemic uncertainty stems from a lack of knowledge about the true model parameters, typically due to limited data.

Deep State-Space Models (DSSMs) leverage neural networks to capture these dynamics. However, current DSSMs often face a trade-off: they either ignore epistemic uncertainty by assuming fixed weights, leading to overconfident predictions, or they rely on computationally expensive Monte Carlo (MC) sampling. ProDSSM addresses this by introducing a deterministic, sampling-free inference scheme that propagates both types of uncertainty analytically.

Methodology: Sampling-Free Inference

The core of ProDSSM is a deterministic inference scheme based on Assumed Density Approximation (AD) and Moment Matching. Instead of drawing samples, the algorithm propagates the mean and covariance (the first two moments) of the distribution through the neural network layers.

Uncertainty propagation and filtering performance of the proposed Assumed Density Approximation compared to Monte Carlo simulations and true latent states.

Augmented State Space and Moment Propagation

The authors concatenate weights ($w$) and latent states ($x$) into an augmented state $z_t = [x_t, w_t]$. They derive closed-form solutions for moment propagation through linear layers and utilize tight approximations for non-linearities like ReLU. This approach explicitly tracks the cross-covariance between weights and states, which is vital for capturing long-term correlations.

Local vs. Global Weight Strategies

Two distinct strategies for weight uncertainty are explored:

  1. Local Weights: Weights are conceptually resampled at each time step. This simplifies the mathematics and improves computational speed ($O(H^3)$ complexity).
  2. Global Weights: Weights remain fixed throughout a trajectory. While more theoretically rigorous for long-term parameter uncertainty, this increases complexity to $O(H^4)$.
Comparison of uncertainty propagation between (a) Local Weights and (b) Global Weights strategies using the deterministic approximation.

Experimental Evaluation

The model was evaluated across several benchmarks:

  • UCI Regression: ProDSSM's "Deep Stochastic Layer" was tested on standard datasets like Boston Housing and Naval.
  • The Kink Dataset: A non-linear dynamical system benchmark. In high-noise scenarios ($r=0.8$), ProDSSM achieved a Negative Log-Likelihood (NLL) of 0.54, vastly outperforming ODE2VAE (4.11) and GP-based models (1.08).
  • Mocap (Motion Capture): On this 50-dimensional human movement dataset, the "Local" ProDSSM variant outperformed all baselines, demonstrating scalability to high-dimensional real-world data.

Discussion and Conclusion

ProDSSM offers a "sample-free" advantage, avoiding the gradient variance and computational overhead of Monte Carlo methods. Interestingly, the "Local" weight variant often performed as well as or better than the "Global" variant, likely due to more stable training gradients.

While the current framework relies on Gaussian assumptions—which may struggle with multi-modal distributions—it sets a new standard for efficient uncertainty quantification in deep dynamical systems. Future work may incorporate Gaussian Mixture Filtering to handle more complex, non-Gaussian latent spaces while retaining the benefits of deterministic inference.

Summary updated

BibTeX
@misc{look2023sampling,
  author = {Andreas Look and Melih Kandemir and Barbara Rakitsch and Jan Peters},
  title = {{Sampling-Free Probabilistic Deep State-Space Models}},
  year = {2023},
  eprint = {2309.08256},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.08256},
}
Figure