Structured Variational Inference in Unstable Gaussian Process State Space Models

Silvan Melchior, Felix Berkenkamp, Sebastian Curi, Andreas KrausearXiv 2019

Structured Variational Inference in Unstable Gaussian Process State Space Models

Gaussian Process State Space Models (GP-SSMs) represent a powerful class of non-linear dynamical systems models. By leveraging Gaussian Processes for transition functions, they offer a principled way to quantify uncertainty—a critical requirement for robust model-based reinforcement learning and control. Despite their theoretical appeal, training GP-SSMs remains a significant challenge, particularly when dealing with systems that exhibit instability or are only partially observable.

The Challenge of Instability and Partial Observability

Existing state-of-the-art variational inference methods for GP-SSMs often struggle with two specific scenarios. First, systems that are not "mean-square stable" cause uncertainty to grow unbounded over time. In such cases, algorithms like PR-SSM frequently fail to identify the underlying dynamics, instead attributing the diverging state data to high observation noise.

Second, many real-world systems are only partially observable, meaning some internal states are hidden from direct measurement. Methods like VCDT attempt to mitigate instability through filtering, but they often fall into an "overfitting trap." They learn to rely excessively on the presence of measurements to correct state estimates during training. Consequently, when these measurements are unavailable at test time (open-loop prediction), the model's performance degrades significantly.

The CBF-SSM Framework

To address these limitations, researchers from ETH Zurich introduced the Conditional Backward-Forward State Space Model (CBF-SSM). This framework introduces two key innovations:

  1. Backward-Forward Smoothing Pass: Unlike standard filtering which only considers past data, CBF-SSM utilizes a backward Gaussian Process. This allows the model to perform smoothing—estimating the distribution of hidden states by considering both past and future observations. This "look-ahead" capability is essential for accurately inferring hidden states in partially observable systems.
  2. Soft Conditioning: To prevent the model from becoming overly dependent on measurements, the authors introduced a "soft conditioning" technique. By introducing a parameter $k$ to modulate the Kalman gain, the algorithm can interpolate between the high-correction approach of filtering and the no-correction approach of pure transition modeling. This acts as a regularizer, forcing the model to learn a robust transition function $f$ that remains accurate even in the absence of external corrections.

Experimental Results

The efficacy of CBF-SSM was evaluated across a variety of benchmarks and real-world systems, including a noisy Dubin’s car model and the VoliroX drone.

Comparison of trajectory predictions across different GP-SSM learning methods.

As shown in the comparative analysis above, CBF-SSM (d) demonstrates superior trajectory tracking compared to its predecessors. PR-SSM (a) fails to capture the long-term dynamics of the unstable system. While VCDT-Full (b) performs well when measurements are fully available, its performance drops in partially observable settings (c). CBF-SSM maintains high accuracy by effectively balancing measurement integration and transition modeling.

In quantitative evaluations, a variant of the model (CBF-SSM-50) achieved the lowest Root Mean Square Error (RMSE) across standard system identification benchmarks. Furthermore, in complex real-world tests involving the VoliroX drone—a hexacopter with twelve rotors—CBF-SSM successfully modeled aerodynamic effects that were missing from purely physical models, providing reliable uncertainty bounds for force predictions.

Conclusion

CBF-SSM represents a significant advancement in learning GP-SSMs for challenging dynamical systems. By combining backward-forward smoothing with soft conditioning, it overcomes the traditional pitfalls of instability and partial observability. While the method introduces additional computational overhead—training is approximately 3.7 times slower than previous approaches—the gain in predictive accuracy and robustness makes it a compelling choice for high-stakes modeling tasks in robotics and control. Future work may focus on optimizing the training speed and automating the tuning of the soft conditioning hyperparameter.

Summary updated

BibTeX
@misc{melchior2019structured,
  author = {Silvan Melchior and Felix Berkenkamp and Sebastian Curi and Andreas Krause},
  title = {{Structured Variational Inference in Unstable Gaussian Process State Space Models}},
  year = {2019},
  eprint = {1907.07035},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.07035},
}
Figure