Abstract This study establishes a rigorous benchmark for time series clustering using 112 datasets from the UCR archive. By evaluating eight combinations of algorithms and distance measures, the research demonstrates that no single method consistently outperforms others. Instead, the findings advocate for a diverse pool of methods to capture various structural nuances in data.
Introduction
While time series classification has benefited from standardized benchmarks like the UCR archive, clustering has remained a "Wild West." Because clustering is unsupervised and exploratory, evaluation is notoriously difficult, often leading to a lack of reproducibility. This paper addresses this gap by providing a standardized evaluation framework and reporting dataset-level metrics as a baseline for future research.
Methodology
The researchers evaluated eight clustering methods across three algorithmic categories and three distance measures. The categories include partitional (K-means, K-medoids, Fuzzy C-means), density-based (Density Peaks), and hierarchical (Agglomerative) algorithms. Distance measures compared include Euclidean distance, Dynamic Time Warping (DTW), and Shape-based Distance (SBD).
The study utilized 112 datasets from the UCR Time Series Archive. To ensure a fair comparison, the authors followed strict rules: no additional pre-processing was applied, and the number of clusters ($k$) was derived from the ground-truth labels.
Key Insights and Results
The benchmark revealed that performance varies significantly across datasets, illustrating the "No Free Lunch" theorem in action.
- Top Performers: Agglomerative clustering with Euclidean distance achieved the highest average Adjusted Rand Index (ARI) of 0.26. K-means with Euclidean distance was the most frequent winner, performing best on 54 datasets.
- The DTW Surprise: Despite its success in classification, Density Peaks with DTW had the lowest average ARI (0.16) and presented significant computational hurdles, taking 32 days to process the largest datasets on a high-end server.
- Diversity and Spread: The authors introduce the concept of "spread"—the difference in outputs between methods. They argue that practitioners should select a pool of methods with high spread (e.g., K-means with Euclidean vs. Shape-based distance) to reveal different structural patterns during exploratory analysis.
Discussion and Future Work
The high standard deviation in performance suggests that average accuracy is a misleading metric for algorithm selection. Instead, the value of a method often lies in its ability to provide a unique perspective on the data.
Future research should address current limitations, such as the assumption of a known $k$ and the exclusion of varying-length sequences. Additionally, exploring how internal metrics like the Silhouette score correlate with external quality measures will be crucial for real-world applications where ground-truth labels are unavailable.
Summary updated