Abstract
This paper introduces a novel framework for jointly clustering time-series data and learning the underlying Linear Dynamical System (LDS) models for each cluster. By leveraging Non-Commutative Polynomial Optimization (NCPOP), the researchers provide a method that—unlike traditional approaches—does not require the dimension of the hidden state to be known in advance, offering a more flexible and robust way to decode complex temporal patterns.
Introduction
Clustering time series is a foundational task in data science, with applications ranging from tracking mobility patterns to personalized medicine. However, most existing methods rely on surface-level features, such as shape or frequency, rather than the underlying "engine" driving the data. While Linear Dynamical Systems (LDS) are excellent at modeling these internal dynamics, using them for clustering presents two major hurdles: the joint optimization trap and the dimension dilemma.
Ideally, one would learn clusters and system models simultaneously, but this is an NP-hard problem. Most researchers separate these into two steps, leading to sub-optimal results. Furthermore, standard LDS identification requires pre-defining the dimension of the hidden state ($n$). In real-world scenarios, like heart rate monitoring, the "true" dimension of the internal biological system is often unknown, making accurate modeling difficult.
Methodology
The authors propose a multi-pronged approach to solve these "Joint Problems":
- NCPOP (Non-Commutative Polynomial Optimization): This is the paper's standout technical contribution. By treating variables as operators in a Hilbert space rather than fixed-size matrices, the authors can formulate the optimization problem without fixing the hidden state dimension $n$ beforehand. This provides a global upper bound on the system's complexity.
- Mixed-Integer Nonlinear Programming (MINLP): For cases where the dimension is known, they provide a rigorous formulation to partition trajectories and learn parameters simultaneously.
- EM Heuristic: Recognizing that global optimization is computationally expensive, they provide an efficient Expectation-Maximization (EM) procedure. It iteratively assigns trajectories to the "best-fit" LDS (Expectation) and then updates the LDS parameters to minimize error (Maximization).
- Theoretical Proofs: The paper formally proves that clustering LDS trajectories is polynomially reducible to clustering Gaussian Mixture Models (GMMs), providing a theoretical justification for the effectiveness of the EM approach.
Experimental Evaluation
The researchers evaluated their methods on two fronts:
- Synthetic Data: Trajectories were generated from known LDS models with varying hidden state dimensions ($n \in \{2, 3, 4\}$) and noise levels to test the accuracy of cluster recovery.
- ECG5000: A real-world dataset containing 500 electrocardiogram (ECG) sequences, including normal heartbeats and four types of heart failure. This dataset is particularly challenging because the true hidden dimension of a human heart's electrical system is not explicitly known.
Results and Discussion
Superior Accuracy and Robustness
On synthetic data, the proposed methods (MIP-IF and EM Heuristic) consistently outperformed baselines like FFT-Kmeans and DTW-Kmeans, especially as the complexity of the hidden state increased. A key finding was that the LDS-based approach remains accurate even when looking at very short snippets of data, where frequency-based methods (like FFT) typically fail.
On the ECG5000 dataset, the authors' methods maintained high $F_1$ scores even as the time window was shortened. While baselines saw a sharp decline in performance with less data, the LDS approach remained robust, focusing on the underlying rules (system matrices) rather than just the curve's shape.
Computational Trade-offs
While the NCPOP method demonstrated the best performance in terms of $F_1$ score for very small datasets, its runtime grows significantly with the length of the trajectory. As shown in the performance analysis, the execution time for NCPOP escalates rapidly as the trajectory length ($T$) grows, making the EM heuristic the preferred choice for larger-scale applications.
Conclusion
The primary limitation of this framework is computational complexity. While the NCPOP formulation is theoretically elegant and avoids the "dimension dilemma," it is computationally heavy for longer time series. Future work includes exploring variants of the joint problem, such as automatically bounding the number of clusters, and investigating more efficient ways to solve operator-valued optimization problems to make the NCPOP approach viable for longer trajectories.
Summary updated