Abstract
This paper presents an unsupervised, generative probabilistic model designed to segment multiple time series into shared, locally stationary segments. By integrating Gaussian Process (GP) priors to characterize intra-segment functional behavior with Bayesian nonparametrics for segment length and cluster assignment, the model identifies recurring patterns across disparate sequences. The approach provides interpretable representations and explicit uncertainty estimates for segment boundaries. Evaluation on synthetic data and real-world medical diagnostics (heart sound classification) demonstrates the model's ability to recover underlying structures and achieve competitive performance against established baselines.
Introduction
Analyzing time series data often involves identifying underlying "states" or behaviors, such as different activities in wearable sensor data or distinct phases in physiological signals. Unsupervised segmentation is a challenging, ill-constrained problem. Traditional change-point detection methods typically operate on single sequences and provide only point estimates of change locations, lacking a measure of uncertainty. Furthermore, existing Bayesian clustering methods often require extensive hyperparameter tuning or produce redundant states.
This research addresses the challenge of jointly segmenting multiple unaligned time series by discovering a shared dictionary of behaviors. The proposed model does not require prior knowledge of the number of behaviors or their exact lengths. A key contribution is the quantification of uncertainty regarding segment boundaries, which is crucial for high-stakes applications like medical diagnostics.
Methodology
The authors propose a generative model that extends the concept of a Gaussian Mixture Model (GMM) to time series segments. Instead of clustering individual points, the model clusters segments using the covariance functions of Gaussian Processes (GPs).
Generative Process
The generative process for a set of sequences is structured as follows:
- Segmentation: Each sequence $d$ is partitioned into $S$ segments. The lengths of these segments are drawn from a nonparametric prior distribution (e.g., an Exponential distribution), allowing for flexible segment durations.
- Cluster Assignment: Each segment $s$ in sequence $d$ is assigned to a "behavior" cluster $Z_s^d$ from a shared pool of $M$ possible behaviors. This assignment is governed by a Dirichlet prior that encourages sparsity, effectively "switching off" unused clusters.
- Data Generation: The observed data within a segment is generated by the GP associated with the assigned cluster behavior $\theta_m$.
Inference
Since the exact segmentation cannot be analytically marginalized, the authors employ a hybrid Expectation-Maximization (EM) inference scheme. Gibbs sampling is used to sample the split points (boundaries), while Variational EM infers cluster assignments and updates GP kernel parameters. By treating split points as random variables, the model produces a marginal probability of a split at every time step, offering a highly interpretable measure of boundary uncertainty.
Experimental Setup
The model was evaluated on two primary datasets:
- Synthetic Data: 1D time series were generated to verify the model's ability to recover the true number of underlying kernels and their parameters, particularly in edge cases involving varying segment lengths.
- PASCAL Heart Sound Challenge: This real-world dataset consists of digital stethoscope recordings categorized as "normal," "murmur," or "extrasystole." The challenge involves classifying these sequences based on their acoustic patterns.
Results and Discussion
Synthetic Validation
On synthetic data, the model successfully recovered the true generating parameters. Notably, when provided with more potential clusters than necessary (e.g., 5 kernels for data generated by 3), the model correctly utilized only the required number of clusters, demonstrating the effectiveness of the sparsity-inducing priors.
Heart Sound Classification
For the PASCAL challenge, the model segmented the audio signals into clusters. Each sequence was then represented as a "bag-of-behaviors" (a vector of cluster frequencies), which served as input for a Support Vector Machine (SVM) classifier.
The model achieved state-of-the-art or competitive results, outperforming baselines on 4 out of 8 metrics. Specifically, it reached a Murmur Precision of 0.65 and a Specificity of 0.94. Qualitative analysis revealed that while the model effectively identified "murmurs" due to their distinct spectral characteristics, it struggled with "extrasystoles." This limitation stems from the fact that extrasystoles are structurally similar to normal beats but differ in timing; the frequency-based SVM approach discarded the temporal context necessary to detect such anomalies.
Conclusion and Future Work
The proposed framework demonstrates that sharing a pool of GP kernels across multiple sequences provides a powerful constraint for unsupervised learning, preventing overfitting and discovering universal behaviors. The explicit modeling of boundary uncertainty provides valuable diagnostic information.
Future work will focus on addressing computational bottlenecks in the Gibbs sampling step, which currently scales linearly with the total number of time steps. Additionally, extending the model to multi-dimensional data and incorporating inference over GP kernel types would broaden its applicability. Finally, leveraging the sequential order of cluster assignments, rather than just their frequencies, could significantly improve performance on tasks where temporal structure is paramount.
Summary updated