Bayesian Nonparametric Dynamical Clustering of Time Series
Adrián Pérez-Herrero, Paulo Félix, Jesús Presedo, Carl Henrik Ek
TL;DR
This work tackles clustering of time series with evolving dynamics by introducing a Bayesian nonparametric framework that couples an HDP prior over switching linear dynamical systems with Gaussian process priors for amplitude variation and a GP-based monotone warping model for temporal alignment. The model jointly discovers an unbounded number of morphologies and tracks their evolution, while aligning misaligned observations within a principled probabilistic setting. Efficient variational inference is developed in both off-line and on-line forms, enabling scalable learning and streaming applications demonstrated on ECG heartbeat clustering and breathing estimation. The approach provides interpretable hyperparameters for controlling cluster growth and plasticity, and outperforms fixed-cluster baselines by avoiding proliferation while capturing dynamic morphologies with principled uncertainty quantification.
Abstract
We present a method that models the evolution of an unbounded number of time series clusters by switching among an unknown number of regimes with linear dynamics. We develop a Bayesian non-parametric approach using a hierarchical Dirichlet process as a prior on the parameters of a Switching Linear Dynamical System and a Gaussian process prior to model the statistical variations in amplitude and temporal alignment within each cluster. By modeling the evolution of time series patterns, the method avoids unnecessary proliferation of clusters in a principled manner. We perform inference by formulating a variational lower bound for off-line and on-line scenarios, enabling efficient learning through optimization. We illustrate the versatility and effectiveness of the approach through several case studies of electrocardiogram analysis using publicly available databases.
