Abstract
We consider the problem of clustering noisy finite-length observations of stationary ergodic random processes according to their generative models without prior knowledge of the model statistics and the number of generative models. Two algorithms, both using the $L^1$-distance between estimated power spectral densities (PSDs) as a measure of dissimilarity, are analyzed. The first one, termed nearest neighbor process clustering (NNPC), relies on partitioning the nearest neighbor graph of the observations via spectral clustering. The second algorithm, simply referred to as k-means, consists of a single k-means iteration with farthest point initialization and was considered before in the literature, albeit with a different dissimilarity measure. We prove that both algorithms succeed with high probability in the presence of noise and missing entries, and even when the generative process PSDs overlap significantly, all provided that the observation length is sufficiently large. Our results quantify the tradeoff between the overlap of the generative process PSDs, the observation length, the fraction of missing entries, and the noise variance. Finally, we provide extensive numerical results for synthetic and real data and find that NNPC outperforms state-of-the-art algorithms in human motion sequence clustering.
Introduction
Clustering time-series data—such as audio signals, physiological recordings (ECG/EEG), or financial indices—is a cornerstone of unsupervised learning. However, practical applications often face a significant hurdle: observations are typically finite in length, corrupted by noise, and may contain missing entries. Traditional approaches often fall into two categories: parametric methods that require prior knowledge of the underlying model statistics, or nonparametric methods that only offer asymptotic guarantees—meaning they perform optimally only as the sequence length approaches infinity.
This paper addresses these limitations by introducing a robust, nonparametric framework for clustering stationary ergodic random processes based on their generative models. Crucially, the authors provide the first rigorous theoretical guarantees for the "finite-data" regime, ensuring success even when data is imperfect.
Methodology
The authors propose two primary algorithms centered on the frequency-domain representation of time-series data. The core idea is to use the Power Spectral Density (PSD) as a unique signature for each process.
- Nearest Neighbor Process Clustering (NNPC): This algorithm first estimates the PSD of each observation using the Blackman-Tukey estimator. It then computes the $L^1$-distance between these estimated PSDs. The $L^1$ metric is chosen for its robustness; unlike $L^2$ or $L^\infty$, it is naturally bounded and effectively captures the integrated difference between spectral shapes. A $q$-nearest neighbor graph is constructed based on these distances, which is then partitioned using normalized spectral clustering.
- K-Means (KM): A simpler variant that performs a single k-means iteration with farthest point initialization, utilizing the same $L^1$ PSD distance metric.
The theoretical contribution lies in proving that both algorithms succeed with high probability when the observation length $M$ is sufficiently large relative to the square root of the number of observations $N$. The analysis quantifies the trade-offs between spectral overlap, noise variance, and the probability of missing data.
Experimental Results
The framework was validated across synthetic and real-world datasets. Synthetic tests involved second-order Autoregressive (AR) processes with varying peak frequencies to evaluate sensitivity to spectral overlap and noise.
In real-world applications, NNPC demonstrated superior performance:
- Human Motion Capture: Clustered "walking" vs. "running" sequences from the CMU Motion Capture database. NNPC achieved a clustering error of 0.02, significantly outperforming state-of-the-art methods (errors of 0.21 and 0.37).
- EEG Data: On a dataset of healthy vs. epileptic brain activity, NNPC reached a near-perfect clustering error of 0.005, while the KM variant struggled (0.360).
Discussion and Conclusion
A key insight of this work is that stationarity should be leveraged rather than ignored. While "subspace clustering" methods treat time-series as generic high-dimensional vectors, NNPC's focus on the frequency domain allows it to capture the underlying generative structure more effectively. Furthermore, the use of a bias-corrected PSD estimator ensures robustness even when a significant portion of the data is missing.
Despite its strengths, the current theoretical framework assumes Gaussian generative processes. Future work could extend these guarantees to non-Gaussian or heavy-tailed distributions. Additionally, the $O(N^3)$ complexity of spectral clustering poses a challenge for very large datasets, suggesting a need for more scalable graph partitioning techniques. Nonetheless, this research provides a solid foundation for robust, model-free clustering of real-world time-series data.
Summary updated