LGMLMar 25, 2020

FastDTW is approximate and Generally Slower than the Algorithm it Approximates

arXiv:2003.11246v56 citations
AI Analysis

This finding is significant for researchers and practitioners in time series data mining, as it challenges a common assumption and allows for more efficient and accurate analyses, though it is incremental in correcting a specific algorithmic misconception.

The authors demonstrated that FastDTW, a widely cited approximate algorithm for Dynamic Time Warping, is actually slower than the exact DTW algorithm in realistic data mining applications, enabling the community to process larger datasets with exact results in less time.

Many time series data mining problems can be solved with repeated use of distance measure. Examples of such tasks include similarity search, clustering, classification, anomaly detection and segmentation. For over two decades it has been known that the Dynamic Time Warping (DTW) distance measure is the best measure to use for most tasks, in most domains. Because the classic DTW algorithm has quadratic time complexity, many ideas have been introduced to reduce its amortized time, or to quickly approximate it. One of the most cited approximate approaches is FastDTW. The FastDTW algorithm has well over a thousand citations and has been explicitly used in several hundred research efforts. In this work, we make a surprising claim. In any realistic data mining application, the approximate FastDTW is much slower than the exact DTW. This fact clearly has implications for the community that uses this algorithm: allowing it to address much larger datasets, get exact results, and do so in less time.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes