Structured Variational Inference in Partially Observable UnstableGaussian Process State Space Models

Sebastian Curi, Silvan Melchior, Felix Berkenkamp, Andreas Krause

Introduction

Accurate modeling of system dynamics is a cornerstone of model-based reinforcement learning and control. Gaussian Process State-Space Models (GP-SSMs) have emerged as a preferred framework due to their capacity for non-linear modeling and principled uncertainty quantification. Despite their strengths, existing GP-SSM learning techniques encounter critical failure modes when applied to systems characterized by instability or partial observability.

Instability—where system uncertainty grows over time—frequently leads to the collapse of learning in methods like PR-SSM, as they ignore measurements during training simulations. Furthermore, in many real-world applications, the full state of the system is not directly observable (e.g., measuring position but not velocity). Current state-of-the-art methods like VCDT often fail to accurately infer these latent states or suffer from overfitting, resulting in poor long-term predictive performance.

The CBF-SSM Framework

To overcome these challenges, the Conditional Backward-Forward State-Space Model (CBF-SSM) was developed. This approach introduces two fundamental innovations to the variational inference process:

  • Backward-Forward Smoothing Pass: Inspired by classical Kalman smoothing, CBF-SSM performs a backward pass through the training data. This allows the model to incorporate future observations into its current state estimates. This "hindsight" is essential for accurately reconstructing hidden states and maintaining the stability of the training process.
  • Soft Conditioning: A common issue in dynamic modeling is "over-conditioning," where a model relies too heavily on immediate measurements and fails to learn the underlying physical transitions. CBF-SSM introduces a soft-conditioning parameter ($k$) that allows for tuning the influence of observations. This mechanism effectively interpolates between a model that ignores measurements (promoting physical consistency) and one that tracks them precisely (ensuring short-term tracking accuracy).

Experimental Results

CBF-SSM was rigorously evaluated against standard system identification benchmarks and complex real-world datasets, including a simulated Dubin’s car and the VoliroX drone—a twelve-rotor system that is inherently unstable and partially observable.

Comparison of trajectory predictions across different models: (a) PR-SSM, (b) VCDT-Full, (c) VCDT-Partial, and (d) the proposed CBF-SSM.

As illustrated in the figure above, CBF-SSM (d) demonstrates significantly higher fidelity to the ground truth trajectory compared to baseline methods. While PR-SSM (a) and VCDT-Partial (c) exhibit substantial drift and instability, CBF-SSM maintains a stable and accurate prediction. In benchmark tests, the soft-conditioned CBF-SSM-50 variant achieved the lowest Root Mean Square Error (RMSE) across nearly all datasets.

On the VoliroX drone dataset, the model successfully learned to predict complex aerodynamic effects, such as external forces and torques caused by rotor interference, which are typically omitted in standard physical models. Crucially, it provided reliable uncertainty bounds, a prerequisite for safe autonomous flight.

Conclusion and Future Work

CBF-SSM represents a significant step forward in learning the dynamics of unstable and partially observable systems. By integrating a backward smoothing pass, the algorithm achieves a level of robustness and accuracy that eludes previous forward-only methods. While the added computational complexity results in a training time approximately 3.7x longer than simpler models, the performance gains justify the overhead for high-stakes applications. Future research will explore automated hyperparameter optimization and the extension of this framework to higher-dimensional state spaces.

Summary updated

BibTeX
@inproceedings{curi2020structured,
  author = {Sebastian Curi and Silvan Melchior and Felix Berkenkamp and Andreas Krause},
  title = {{Structured Variational Inference in Partially Observable UnstableGaussian Process State Space Models}},
  booktitle = {L4DC},
  year = {2020},
}
Figure