Learning Mixtures of Linear Dynamical Systems (MoLDS) via Hybrid Tensor-EM Method
Lulu Gong, Shreya Saxena
TL;DR
MoLDS learning from heterogeneous neural time-series is addressed with a hybrid Tensor-EM framework that first uses tensor moment-based initialization to obtain globally consistent estimates of mixture weights and LDS parameters and then refines all parameters with a Kalman-EM procedure. The tensor stage relies on an impulse-response reformulation and Simultaneous Matrix Diagonalization (SMD) to recover $p_k$, $A_k$, $B_k$, $C_k$, $D_k$, while EM updates $Q_k$ and $R_k$ via residual covariances and closed-form LDS updates. Synthetic experiments show improved robustness and accuracy over purely tensor or randomly initialized EM, especially in complex MoLDS settings, and real neural data (Area2 and PMd) demonstrate interpretable, direction-specific dynamical subsystems learned in an unsupervised manner. The results suggest Tensor-EM as a practical and reliable tool for modeling heterogeneous neural dynamics and uncovering latent dynamical motifs across trials and conditions.
Abstract
Mixtures of linear dynamical systems (MoLDS) provide a path to model time-series data that exhibit diverse temporal dynamics across trajectories. However, its application remains challenging in complex and noisy settings, limiting its effectiveness for neural data analysis. Tensor-based moment methods can provide global identifiability guarantees for MoLDS, but their performance degrades under noise and complexity. Commonly used expectation-maximization (EM) methods offer flexibility in fitting latent models but are highly sensitive to initialization and prone to poor local minima. Here, we propose a tensor-based method that provides identifiability guarantees for learning MoLDS, which is followed by EM updates to combine the strengths of both approaches. The novelty in our approach lies in the construction of moment tensors using the input-output data to recover globally consistent estimates of mixture weights and system parameters. These estimates can then be refined through a Kalman EM algorithm, with closed-form updates for all LDS parameters. We validate our framework on synthetic benchmarks and real-world datasets. On synthetic data, the proposed Tensor-EM method achieves more reliable recovery and improved robustness compared to either pure tensor or randomly initialized EM methods. We then analyze neural recordings from the primate somatosensory cortex while a non-human primate performs reaches in different directions. Our method successfully models and clusters different conditions as separate subsystems, consistent with supervised single-LDS fits for each condition. Finally, we apply this approach to another neural dataset where monkeys perform a sequential reaching task. These results demonstrate that MoLDS provides an effective framework for modeling complex neural data, and that Tensor-EM is a reliable approach to MoLDS learning for these applications.
