Bayesian Dynamic Mode Decomposition with Variational Matrix Factorization

Takahiro Kawashima, Hayaru Shouno, Hideitsu Hino

Abstract

This paper introduces BDMD-VMF, a novel probabilistic framework for Dynamic Mode Decomposition (DMD) that leverages Variational Matrix Factorization. By marginalizing out high-dimensional projection matrices, the authors create a stable Bayesian model that excels at capturing system dynamics and handling missing data, even in high-dimensional settings where previous Bayesian approaches failed.

Introduction

Dynamic Mode Decomposition (DMD) is a staple tool for researchers studying complex systems, such as fluid dynamics or atmospheric science. It decomposes time-series data into spatial "modes" that oscillate or decay at specific frequencies, effectively approximating the underlying linear operator (the Koopman operator) of a nonlinear system.

However, standard DMD is deterministic, providing a single "best guess" without a measure of uncertainty. While a Bayesian version of DMD was proposed in 2017, it suffered from parameter redundancy. In that model, the number of parameters grew with the amount of data, leading to extreme instability and overfitting when the input dimension was larger than the number of time samples. This paper aims to provide a "fully Bayesian" DMD that is mathematically consistent, stable, and capable of handling incomplete (missing) datasets.

Methodology

The authors propose Bayesian DMD with Variational Matrix Factorization (BDMD-VMF). The core logic follows the standard DMD procedure—first find a low-dimensional subspace, then estimate the dynamics—but does so within a probabilistic framework.

Key technical contributions include:

  • Variational Matrix Factorization (VMF): VMF is used to decompose the data matrix into a low-rank representation, acting as a "probabilistic SVD."
  • Complex-Valued Extension: Since DMD eigenvalues and modes are often complex, the authors extended standard VMF to the complex domain using Matrix Variate Complex Normal distributions.
  • Analytical Marginalization: By treating the projection matrix as a latent variable and "integrating it out" using the VMF posterior, the authors reduced the number of parameters. The model's complexity now depends only on the number of modes ($K$), not the high-dimensional input size ($D$).
  • Inference: The Metropolis algorithm is employed to evaluate the posterior distributions of the dynamics.

Experimental Setup

The model was evaluated on three distinct types of data:

  1. Nonlinear Schrödinger Equation (NLSE): A synthetic dataset representing a well-studied nonlinear partial differential equation (PDE).
  2. Burgers’ Equation: A synthetic PDE dataset used as a simplified model for fluid flow and shock waves.
  3. HuGaDB (Human Gait Database): A real-world dataset containing gyroscope signals from sensors placed on participants during cycling.
Reconstruction of the Nonlinear Schrödinger Equation (NLSE) dynamics across different DMD variants.

Results and Discussion

Stability in High Dimensions

On the Burgers’ equation task, the "conventional" Bayesian DMD failed completely (RMSE of 0.130), while BDMD-VMF remained stable and accurate (RMSE of 0.013), matching the performance of standard deterministic DMD but with added uncertainty estimates.

Comparison of reconstruction performance on the Burgers’ equation. Conventional Bayesian DMD (c) fails to capture the dynamics, whereas BDMD-VMF (d) accurately reconstructs the original signal (a).

Key Insights

  • Consistency: Unlike previous Bayesian attempts, BDMD-VMF mirrors the actual two-step algorithmic structure of projected DMD, making it more intuitive.
  • Solving Redundancy: By marginalizing the projection matrix, the authors decoupled the "degrees of freedom" from the data size, preventing the instability seen in earlier models.
  • Probabilistic Imputation: The model treats missing data points as latent variables, using learned dynamics to provide a posterior predictive distribution for missing values. In gyroscope experiments, BDMD-VMF provided much tighter credible intervals than standard Bayesian Vector Autoregressive (VAR) models.

Conclusion

While BDMD-VMF offers significant improvements in stability and uncertainty quantification, it currently assumes data is "Missing At Random" (MAR). Additionally, the use of MCMC is computationally expensive; future work may explore faster techniques like Black Box Variational Inference. The authors also propose extending this work to Kernel DMD to better handle highly nonlinear dynamics.

Summary updated

BibTeX
@inproceedings{kawashima2021bayesian,
  author = {Takahiro Kawashima and Hayaru Shouno and Hideitsu Hino},
  title = {{Bayesian Dynamic Mode Decomposition with Variational Matrix Factorization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i9.16985},
}
Figure