Introduction
In time-series analysis, the distance measure—the mathematical definition of similarity between two sequences—is the foundational building block for tasks ranging from anomaly detection to motif discovery. For over a decade, the research community has largely relied on experimental studies that were limited in scope. This paper presents a massive re-evaluation of 71 time-series distance measures across 128 datasets, debunking four long-standing "truths" in the field. The authors demonstrate that classic baselines like Euclidean Distance and Dynamic Time Warping (DTW) are often outperformed by overlooked sliding measures and newer elastic kernels when paired with optimal normalization.
Methodology
The study evaluates 71 distance measures categorized into five distinct groups:
- Lock-step: Point-to-point comparisons (e.g., Euclidean Distance).
- Sliding: Cross-correlation variants comparing shifted versions of series.
- Elastic: Dynamic programming approaches to align sequences (e.g., DTW, MSM).
- Kernel: High-dimensional mapping (e.g., GAK, KDTW).
- Embedding: New representations used with simpler distances.
These measures were tested alongside 8 normalization methods (including MinMax, Tanh, and Adaptive Scaling) using the UCR Time-Series Archive. This archive contains 128 class-labeled datasets spanning diverse domains like medical signals and sensor readings. Evaluation was conducted via a 1-Nearest Neighbor (1-NN) classifier framework, supported by rigorous statistical tests.
Challenging the Status Quo: Debunking Four Myths
The most impactful contribution of this work is the statistical debunking of four major misconceptions in time-series analysis:
Myth 1: $z$-normalization is the universal standard
While $z$-score normalization is robust, it is not always the best choice. Statistical analysis reveals that methods like MeanNorm and MinMax significantly improve the accuracy of many distance measures depending on the dataset characteristics.
Myth 2: Euclidean Distance (ED) is the superior lock-step measure
Contrary to common belief, the Lorentzian distance consistently outperformed Euclidean Distance across the majority of the 128 datasets when using $z$-normalization.
Myth 3: Elastic measures always outperform sliding measures
Surprisingly, NCCc (a sliding cross-correlation variant) often matches or exceeds the accuracy of popular elastic measures like DTW. Given its significantly lower computational overhead, it represents a highly efficient alternative.
Myth 4: DTW is the definitive elastic measure
Newer elastic measures, specifically Move-Split-Merge (MSM) and Time Warp Edit (TWE), as well as the KDTW kernel, statistically outperform DTW in both supervised and unsupervised settings.
Key Results and Efficiency
The authors established a "Pareto front" for time-series distances, balancing accuracy against runtime. While Euclidean Distance remains the fastest, NCCc and SINK (a kernel method) offer an optimal trade-off with $O(m \log m)$ complexity. Furthermore, the introduction of the Generalized Lower Bound (GLB) framework allows for the acceleration of all elastic distances by up to 26x, making high-accuracy measures more viable for large-scale applications.
Future Directions
Despite these findings, predicting the optimal measure for a new, unlabeled dataset remains a challenge. The authors suggest that "AutoML" for distance selection and the development of neural embeddings are the next frontiers. Additionally, the significant impact of normalization suggests a need for more sophisticated, data-dependent preprocessing techniques.
Summary updated