Tensor Decompositions Meet Control Theory: Learning General Mixtures of Linear Dynamical Systems

Ainesh Bakshi, Allen Liu, Ankur Moitra, Morris Yau

TL;DR

This paper introduces a novel, tensor-decomposition-based algorithm to learn the parameters of a mixture of linear dynamical systems (LDS) from short, unlabelled, and partially observed trajectories. By revealing a deep connection between control theory's classic Ho-Kalman algorithm and modern tensor methods, the authors achieve polynomial sample and time complexity without requiring strong statistical separation between the mixture components.

What Problem Does This Paper Address?

Modeling complex time-series data—such as the shifting dynamics of the human microbiome or financial markets—often requires capturing heterogeneous populations. While a single Linear Dynamical System (LDS) is well-understood, real-world data frequently stems from a mixture of different systems. Learning these systems from unlabelled trajectories is a major challenge.

Prior attempts required fully observed states, no control inputs, and strict, hard-to-interpret geometric separation conditions between the components (i.e., the trajectories couldn't overlap much). This paper tackles the problem in the much more realistic and challenging partially observed setting, where the internal states are hidden and only indirect, noisy measurements are available, all while accommodating control inputs and heavily overlapping system distributions.

Methods

The core innovation of this paper is bridging the gap between classic control theory and modern theoretical machine learning by showing that the 1960s Ho-Kalman algorithm is a close relative of tensor decomposition methods.

The authors outline a multi-step algorithmic playbook (Algorithms 6.1, 6.2, and 6.3):

  1. Moment Statistics: From a collection of independent, short trajectories, the algorithm computes a carefully designed 6th-order tensor using the cross-covariances of control inputs ($u_t$) and outputs ($y_t$).
  2. Tensor Flattening: This 6th-order tensor is flattened into a 3rd-order tensor. The components of this new tensor correspond to the flattened Markov parameters ($CA^iB$) of each individual LDS component.
  3. Jennrich's Algorithm: By enforcing a condition called joint non-degeneracy (which ensures the systems' Markov parameters are robustly linearly independent), the authors apply Jennrich's classic tensor decomposition algorithm to recover the individual, unscaled Markov parameters.
  4. Disentangling Weights: A second-moment regression problem is solved to recover the unknown mixing weights ($w_i$).
  5. System Recovery: Finally, the recovered Markov parameters are fed into a robust variant of the Ho-Kalman algorithm to reconstruct the final system matrices ($A, B, C, D$) up to standard similarity transformations.

Datasets

Not discussed in the paper.

This work is purely theoretical and mathematical. The authors provide rigorous proofs of correctness, sample complexity, and time complexity rather than validating the approach empirically on benchmark datasets.

Key Insights and Ideas

  • The Ho-Kalman / Tensor Connection: The ultimate "aha moment" is realizing that the generalized eigenvalue problem used in the Ho-Kalman algorithm to find system realizations is fundamentally the same mathematical engine driving modern low-rank tensor decompositions for latent variable models.
  • Bypassing Geometric Separation: Traditional mixture learning often requires components to be cleanly separated in space. By using a joint non-degeneracy assumption, this algorithm succeeds even if the system trajectories almost entirely overlap as distributions, provided their underlying algebraic structures remain linearly independent.
  • Optimally Short Trajectories: The algorithm only requires trajectories of length $\ell = 6(s + 1)$, where $s$ is the system's observability/controllability parameter. This is within a constant factor of the absolute information-theoretic minimum needed to identify even a single linear dynamical system.

Key Results

  • Polynomial Efficiency: Theorem 2.7 proves that the algorithm successfully learns the system parameters and mixing weights to an accuracy of $\epsilon$ with a sample complexity ($N$) and running time that scale polynomially with all core parameters: $$N = \text{poly}(m, n, p, s, \kappa, 1/w_{\min}, 1/\gamma, 1/\epsilon, 1/\delta)$$ where $m, n, p$ are matrix dimensions, $\kappa$ is a boundedness/condition number upper bound, and $\gamma$ is the non-degeneracy parameter.

  • Bayes-Optimal Clustering: The authors demonstrate that in the fully observed case ($C_i = I$), the learned parameters allow them to achieve nearly Bayes-optimal clustering of trajectories, matching the true posterior distribution's total variation distance within an error of $\delta$ (Theorem 7.6).

Limitations and Future Work

  • Gaussian Noise Constraints: For simplicity of analysis, the proofs assume that the process and measurement noises are isotropic Gaussians. While the authors note the math should generalize to any noise distributions with sufficiently many bounded moments, it is not explicitly detailed.
  • Clustering in Partially Observed Settings: The nearly Bayes-optimal clustering guarantee is explicitly proven only for the fully observed setting. The authors conjecture that it naturally extends to the partially observed setting if the systems are written in their balanced realizations, leaving the formal proof as an open direction.

Summary updated

BibTeX
@inproceedings{bakshi2023tensor,
  author = {Ainesh Bakshi and Allen Liu and Ankur Moitra and Morris Yau},
  title = {{Tensor Decompositions Meet Control Theory: Learning General Mixtures of Linear Dynamical Systems}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=lxRIOSlTbb},
}
Figure