Skip to main content
QUICK REVIEW

[Paper Review] Switching Linear Dynamics for Variational Bayes Filtering

Philip Becker-Ehmck, Jan Peters|arXiv (Cornell University)|May 29, 2019
Gaussian Processes and Bayesian InferenceComputer Science32 citations
TL;DR

This paper proposes a stochastic switching linear dynamical system (SLDS) with variational Bayes inference to learn richer, more interpretable latent representations from high-dimensional, partial observations. By modeling switching variables via Concrete relaxations and integrating them into a variational autoencoder framework, the method improves dynamics prediction accuracy—outperforming baseline models like KVAE and matching TrSLDS on complex tasks such as the FitzHugh-Nagumo oscillator and maze navigation with image observations.

ABSTRACT

System identification of complex and nonlinear systems is a central problem for model predictive control and model-based reinforcement learning. Despite their complexity, such systems can often be approximated well by a set of linear dynamical systems if broken into appropriate subsequences. This mechanism not only helps us find good approximations of dynamics, but also gives us deeper insight into the underlying system. Leveraging Bayesian inference, Variational Autoencoders and Concrete relaxations, we show how to learn a richer and more meaningful state space, e.g. encoding joint constraints and collisions with walls in a maze, from partial and high-dimensional observations. This representation translates into a gain of accuracy of learned dynamics showcased on various simulated tasks.

Motivation & Objective

  • To learn more interpretable and meaningful latent state representations that encode structural constraints like collisions and joint limits in nonlinear systems.
  • To improve dynamics prediction accuracy in high-dimensional and partially observed time-series data by modeling switching dynamics stochastically.
  • To address limitations in existing variational autoencoders that treat transitions deterministically, by introducing structured, stochastic inference over switching states.
  • To evaluate the impact of different switching variable approximations (Concrete vs. normal) on robustness to temporal discretization scale.
  • To enable better model-based reinforcement learning and control by learning disentangled, physically meaningful latent dynamics.

Proposed method

  • Formulates a stochastic SLDS model where switching variables are treated as continuous, differentiable random variables using the Concrete distribution for end-to-end training.
  • Integrates the SLDS model into a variational autoencoder framework, enabling joint inference of latent states and switching dynamics from partial observations.
  • Uses structured variational inference with amortized inference networks to approximate the posterior over latent states and switching variables.
  • Applies Concrete relaxation to discrete switching variables to enable backpropagation through the stochastic gates, allowing differentiable training.
  • Employs a hierarchical generative model with a special initial state variable h to decouple the first time step from the rest of the sequence.
  • Leverages structured inference and probabilistic modeling to capture both local linear dynamics and global switching behavior in complex systems.

Experimental results

Research questions

  • RQ1Can stochastic switching dynamics with differentiable switching variables improve latent representation quality and dynamics prediction in nonlinear systems?
  • RQ2How does the choice of switching variable distribution (Concrete vs. normal) affect model robustness to temporal discretization scale?
  • RQ3To what extent can the proposed method disentangle structural constraints (e.g., collisions, joint limits) into interpretable latent states?
  • RQ4Does the model outperform existing VAE-based baselines in long-horizon dynamics prediction on image-based and continuous observation tasks?
  • RQ5Can the learned latent dynamics be used effectively for model-based control and simulation?

Key findings

  • The proposed model outperforms the smoothed KVAE baseline in long-horizon prediction on the bouncing ball environment, especially for sequences beyond 10 steps.
  • On the FitzHugh-Nagumo oscillator, the model achieves predictive performance comparable to the state-of-the-art TrSLDS model, demonstrating strong generalization on nonlinear dynamical systems.
  • The model with Concrete-distributed switching variables shows higher sensitivity to temporal discretization scale, with performance degrading rapidly at larger Δt compared to normally distributed switches.
  • The method successfully encodes physical constraints such as wall collisions and joint limits into the latent space, resulting in more interpretable and structured representations.
  • The use of stochastic switching variables leads to a richer latent space that improves simulation accuracy and enables better generalization across diverse tasks.
  • The model maintains strong performance on image-based observations (e.g., binary 32×32 frames of a bouncing ball), showing robustness to high-dimensional input.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.