Linear Dynamics: Clustering without identification

Chloe Ching-Yun Hsu, Michaela Hardt, Moritz Hardt

Abstract

Identifying the full parameters of a Linear Dynamical System (LDS) is a notoriously difficult, non-convex problem. This paper demonstrates that for tasks like clustering, full model identification is unnecessary. Instead, one can efficiently estimate the eigenspectrum of the system's transition matrix using a connection to ARMA models. This method provides a faster and more robust way to group time series data by capturing the fundamental dynamics without the computational overhead of standard system identification techniques.

Introduction

Linear Dynamical Systems (LDS) are fundamental to time series modeling, yet "system identification"—learning the matrices defining the system—remains a significant challenge. When internal states are hidden, standard techniques like the Expectation-Maximization (EM) algorithm often converge to local minima and are computationally expensive. This research explores whether a shortcut exists: can we cluster similar time series without identifying every parameter of the underlying physics? We argue that the "soul" of the dynamics lies in the eigenvalues of the state-transition matrix, which can be recovered efficiently without full system identification.

Methods

The proposed approach leverages a mathematical bridge between LDS and Autoregressive-Moving-Average (ARMA) models. The authors prove that the autoregressive (AR) parameters of an ARMA model generated by an LDS directly recover the characteristic polynomial of the LDS transition matrix. To estimate these parameters, a regularized iterated least-squares regression is employed. This method is computationally efficient, running in time linear to the sequence length ($T$), and avoids non-convexity issues. The clustering workflow involves fitting AR parameters for each time series and applying K-means clustering to these parameters.

Convergence of eigenvalue error as sequence length increases for hidden dimensions 2 and 3.

Results

Validation on synthetic data (100 random 2D LDSs) and real-world ECG data (MIT-BIH Arrhythmia Database) demonstrates the method's efficacy. On synthetic data, the ARMA-based clustering consistently outperformed PCA, Dynamic Time Warping (DTW), and k-Shape. Notably, it outperformed full LDS identification via EM in several scenarios due to its robustness against local minima. The computational speedup is significant: in a 3-cluster synthetic test, the ARMA method required only 0.42 seconds, compared to 338.67 seconds for the standard LDS (EM) approach. On real heart signal data, the method achieved the highest scores across multiple metrics, proving the linear assumption holds enough signal to be useful even in complex biological systems.

Clustering performance metrics and runtime comparison for various methods and cluster counts.

Discussion and Conclusion

By focusing on the eigenspectrum, the method becomes invariant to the system's basis, allowing it to recognize identical physical processes measured from different perspectives. The eigenvalues capture fundamental behaviors like stability and oscillation. While the method assumes linearity and requires specifying the hidden state dimension, it offers a statistically consistent and highly efficient alternative for time series clustering. Future work may extend these principles to non-linear models and overparameterized cases.

Summary updated

BibTeX
@inproceedings{hsu2020linear,
  author = {Chloe Ching-Yun Hsu and Michaela Hardt and Moritz Hardt},
  title = {{Linear Dynamics: Clustering without identification}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
  url = {https://openreview.net/forum?id=9MGF6IaABg},
}
Figure