NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Disentangled State Space Representations

Ðorðe Miladinovic, Muhammad Waleed Gondal, Bernhard Schölkopf, Joachim M. Buhmann, Stefan BauerarXiv 2019

TL;DR

This paper introduces Disentangled State Space Models (DSSM), a novel framework for learning sequence dynamics that explicitly separates domain-invariant dynamics from domain-specific factors. This allows for improved knowledge transfer to new domains, robust prediction, and better characterization of sequential data.

What Problem Does This Paper Address?

Many real-world sequential datasets, like those from different experimental setups or varying environmental conditions, exhibit dynamics that change across "domains." Traditional sequence models often struggle with this heterogeneity, assuming data is independent and identically distributed (IID). This limits their ability to generalize to new domains or to understand the underlying causes of variation. The authors aim to develop a model that can learn a unified representation of sequence dynamics while explicitly accounting for and disentangling these domain-specific variations.

Methods

The core contribution is the Disentangled State Space Model (DSSM). DSSM builds upon non-parametric State Space Models (SSMs) and introduces a latent variable D representing the domain. The model explicitly disentangles two key components:

  1. Domain Recognition Mechanism: This part learns to infer the domain D from the observed sequence history (X<i). This is akin to identifying the specific conditions or context under which the sequence is generated.
  2. Domain-Invariant Transition Mechanism: This part learns the generic, domain-invariant dynamics (f(Si-1, D)) that govern the state transitions, conditioned on the inferred domain D.

The authors propose an unsupervised Variational Bayesian filtering approach to train DSSM. This involves using a Variational Autoencoder (VAE) framework to learn both the generative model (predicting future states and observations) and the inference model (estimating latent states, domain, and noise). A key aspect is the use of the reparameterization trick to enable end-to-end gradient-based training. They also introduce an optimization trick involving a moment matching regularization term to encourage stable domain embeddings.

Datasets

The paper evaluates DSSM on two main datasets:

  1. Simulated ODE System (Lotka-Volterra): Sequences were generated by simulating the Lotka-Volterra predator-prey model with varying ODE parameters. These parameters act as the "domains." The dataset consists of 10,000 training/validation sequences and a benchmark trajectory with parameters excluded from training. Observations were corrupted with varying levels of white Gaussian noise.
  2. 2D Bouncing Ball Videos: Sequences were generated using a physics engine with 16 different gravity directions uniformly spread across 2D space. These gravity directions serve as the "domains." The dataset includes 51,200 video sequences, each containing 70 binary frames (32x32 resolution).

Key Insights and Ideas

  • Explicit Domain Disentanglement is Key for Transfer: By explicitly modeling and separating domain-specific information from generic dynamics, DSSM can learn representations that are more robust and transferable to unseen domains.
  • VAE-based Bayesian Filtering for SSMs: The integration of VAEs with Bayesian filtering provides a powerful, unsupervised framework for learning complex, non-linear state space models.
  • Domain Embeddings Capture Intrinsic Properties: The learned domain embeddings (D) effectively capture the underlying characteristics of different domains (e.g., ODE parameters, gravity direction) and exhibit a meaningful topological structure.
  • Controlled Generation via Domain Swapping: The disentangled representations enable novel forms of controlled generation, such as "swapping" domain embeddings to alter the dynamics of a generated sequence.

Key Results

  • ODE System Identification: DSSM achieved competitive performance in online ODE system identification and regression, outperforming baselines like LSTM and a domain-free SSM, especially in noisy conditions. It was able to recover true ODE parameters with high accuracy.
  • Video Prediction: DSSM outperformed state-of-the-art methods like K-VAE in predicting future frames of bouncing ball videos, even for previously unseen gravity conditions.
  • Disentanglement: Experiments showed that DSSM effectively disentangles ODE parameters into distinct latent dimensions, particularly when using a regularization parameter (δ). The learned domain embeddings for gravity directions formed well-defined clusters, preserving the topology of the gravity space.
  • Controlled Video Generation: The paper demonstrated "domain swapping" on video sequences, where the inferred gravity embedding from one sequence was injected into another, resulting in controlled changes to the generated video's dynamics.

Limitations and Future Work

  • Limitations: The paper primarily focuses on deterministic systems with uncorrelated latent process noise. The current DSSM formulation might not directly handle complex, serially correlated noise. While the model shows robustness to noise, extreme noise levels could still pose challenges.
  • Future Work: The authors suggest extending the framework to stochastic sequential systems, incorporating more complex noise models. They also propose exploring the applicability of DSSM in reinforcement learning, where understanding and adapting to different environmental dynamics is crucial. Further investigation into the interpretability and manipulation of the learned latent spaces is also a promising direction.

Summary updated

BibTeX
@misc{miladinovic2019disentangled,
  author = {Ðorðe Miladinovic and Muhammad Waleed Gondal and Bernhard Schölkopf and Joachim M. Buhmann and Stefan Bauer},
  title = {{Disentangled State Space Representations}},
  year = {2019},
  eprint = {1906.03255},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.03255},
}
Figure