A system identification approach to clustering vector autoregressive time series

Zuogong Yue, Xinyi Wang, Victor SoloarXiv 2025 · DOI

Introduction

Time series clustering is a fundamental task in data science, with applications ranging from financial analysis to healthcare monitoring. Traditional methods often encounter two significant hurdles. First, many "shape-based" metrics, such as Dynamic Time Warping (DTW), ignore the underlying generative dynamics of the system, focusing instead on visual profiles. Second, model-based approaches like Mixture Vector AutoRegression (MVAR) frequently suffer from numerical instability—specifically "underflow"—when dealing with long ($T$) or high-dimensional ($m$) sequences. This paper introduces k-LMVAR, a scalable hard-clustering algorithm designed to model linear dynamics while maintaining computational efficiency and numerical robustness.

Methodology

The authors propose a transition from traditional soft-clustering to a robust hard-clustering framework through two primary models:

  • cMVAR (Clustering MVAR): An Expectation-Maximization (EM) based approach. While theoretically sound, it is computationally expensive and prone to numerical failures in high-dimensional settings.
  • k-LMVAR (Limiting Mixture Vector AutoRegression): The core contribution of this work. By taking the "small-noise limit" of the MVAR mixture model, the authors derive a hard-clustering coordinate descent algorithm. This approach is analogous to the relationship between K-Means and Gaussian Mixture Models.

Key technical innovations include the use of QR decomposition for accelerated parameter estimation and a specialized Extended Bayesian Information Criterion (BIC) for automated selection of the number of clusters ($K$) and model order ($p$).

Experimental Design

The performance of k-LMVAR was evaluated using synthetic datasets where ground-truth dynamics are known. The experimental setups varied dimensions, time lengths, and cluster counts to test the limits of the proposed method and its competitors.

Table 1: Experimental setups for benchmarking clustering performance and scalability.

The benchmarks compared k-LMVAR against several established methods, including k-DBA, k-Shape, k-GAK, k-SC, and the deep learning-based DTCR.

Results and Discussion

The experimental results demonstrate that k-LMVAR consistently achieves superior accuracy across various metrics.

Figure 1: Clustering performance (RI and NMI) across different variable dimensions (m).

Key Findings:

  1. Superior Accuracy: k-LMVAR and cMVAR significantly outperformed shape-based and deep learning methods in terms of Rand Index (RI) and Normalized Mutual Information (NMI).
  2. Numerical Robustness: As variable dimension ($m$) or sequence length ($T$) increased, cMVAR often failed due to numerical underflow. In contrast, k-LMVAR remained perfectly stable, effectively turning the "curse of dimensionality" into a strength by leveraging the hard-assignment rule.
  3. Scalability: k-LMVAR is significantly faster than its soft-clustering counterpart, successfully handling datasets with up to $K=1000$ clusters—a scale that causes traditional EM-based MVAR to become computationally intractable.

Conclusion

k-LMVAR provides a robust and scalable solution for clustering multivariate time series by focusing on system identification rather than mere shape comparison. While the current model assumes linear time-invariant (LTI) dynamics, it sets a new benchmark for high-dimensional time series analysis. Future work may explore extensions to non-linear systems or non-stationary data where the underlying generative rules evolve over time.

Summary updated

BibTeX
@misc{yue2025system,
  author = {Zuogong Yue and Xinyi Wang and Victor Solo},
  title = {{A system identification approach to clustering vector autoregressive time series}},
  year = {2025},
  eprint = {2505.14421},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.14421},
}
Figure