[Paper Review] Latent Matters: Learning Deep State-Space Models
The paper introduces a constrained optimization framework for training deep state-space models (DSSMs) and presents the extended Kalman VAE (EKVAE) which combines amortised variational inference with Kalman filtering/smoothing to better learn dynamics and disentangle static/dynamic features.
Deep state-space models (DSSMs) enable temporal predictions by learning the underlying dynamics of observed sequence data. They are often trained by maximising the evidence lower bound. However, as we show, this does not ensure the model actually learns the underlying dynamics. We therefore propose a constrained optimisation framework as a general approach for training DSSMs. Building upon this, we introduce the extended Kalman VAE (EKVAE), which combines amortised variational inference with classic Bayesian filtering/smoothing to model dynamics more accurately than RNN-based DSSMs. Our results show that the constrained optimisation framework significantly improves system identification and prediction accuracy on the example of established state-of-the-art DSSMs. The EKVAE outperforms previous models w.r.t. prediction accuracy, achieves remarkable results in identifying dynamical systems, and can furthermore successfully learn state-space representations where static and dynamic features are disentangled.
Motivation & Objective
- Motivate that standard DSSMs trained via ELBO often fail to learn true system dynamics and identify contributing factors.
- Propose a constrained optimization framework to enforce reconstruction quality while learning dynamics.
- Introduce the extended Kalman VAE (EKVAE) that avoids RNN-based transitions by using neural linearisation and Kalman smoothing.
- Incorporate a variational hierarchical prior (VHP) to improve empirical Bayes prior quality and model likelihood.
- Demonstrate improved system identification and prediction accuracy on pendulum image data and ReachEr environments.
Proposed method
- Formulate sequential ELBO as the Lagrangian of a constrained optimization problem with reconstruction distortion D and rate R.
- Use a Lagrange multiplier lambda to balance distortion and rate, enabling controlled reconstruction quality.
- Learn an empirical Bayes prior p(z1) via a variational hierarchical prior (VHP) to avoid over-regularisation.
- Develop an optimization algorithm (Alg. 1) to find the saddle point of the constrained objective.
- Introduce EKVAE: replace RNNs with neural linearisation of the dynamic model and a linear auxiliary-variable observation model.
- Use a linear Gaussian transition model with neural-network-based base matrices to enable closed-form Kalman smoothing.
- Apply a time-invariant auxiliary-variable model to map high-dimensional observations to a latent representation through p(a_t|z_t).
- Enable disentanglement of static and dynamic features by designing H to align z_t’s first dimensions with static features a_t.
Experimental results
Research questions
- RQ1Can a constrained optimization framework improve the learning of underlying system dynamics in DSSMs beyond ELBO-based training?
- RQ2Does an extended Kalman VAE (EKVAE) with neural linearisation and Kalman smoothing outperform RNN-based DSSMs in dynamics prediction and system identification?
- RQ3Can a variational hierarchical prior (VHP) enable better prior matching and generative quality in DSSMs?
- RQ4Is it possible to disentangle static and dynamic features in latent representations to aid downstream tasks like model-based reinforcement learning?
- RQ5Do the proposed methods maintain or improve prediction accuracy on both low-dimensional (pendulum) and high-dimensional (RGB image) observations?
Key findings
- Constrained optimization (CO) improves system identification and prediction accuracy over standard DSSMs across evaluated models.
- EKVAE with neural linearisation and Kalman smoothing achieves higher prediction accuracy than RNN-based approaches on image-based pendulum and ReachEr tasks.
- Empirical Bayes prior via VHP aligns the initial latent distribution with the learned latent manifold, improving generative quality.
- The CO framework, when applied to established DSSMs, yields substantial prediction improvements and better reconstructions.
- Disentangled latent representations separate static and dynamic features, enhancing interpretability and enabling effective model-based reinforcement learning.
- ELBO optimization alone can yield high scores without true dynamics learning; CO provides a reliable pathway to learn accurate dynamics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.