FSMDTW: A Fast Index-free Subsequence Matching Algorithm for Dynamic Time Warping
Zemin Chao, Qiaoyi Zheng, Zhixin Qi, Hongzhi Wang
Abstract
The subsequence matching problem utilizing dynamic time warping as the similarity measurement has been recognized as a key operation in time series analysis for more than two decades. Existing index-free algorithms depend on DTW lower bounds to discard the unpromising candidate. However, these approaches typically cost O ( m ) time for each candidate, where m is the length of the query. Consequently, the overhead of computing the DTW lower bounds occupies a significant portion of the time in subsequence matching tasks. This paper proposes new algorithms capable of computing the DTW lower bounds in average O (log m ) time for each candidate, substantially alleviating this bottleneck of the subsequence matching problem. In addition, this paper designs novel DTW lower bounds according to the characteristics of the subsequence matching problem, which is more effective without introducing significant computational overhead. Based on the above improvements, an efficient subsequence matching algorithm called FSMDTW is designed. Experiments conducted on both real and synthetic datasets show that the proposed algorithm is about 2.6 times faster than SOTA on short and medium-length queries and up to one order of magnitude faster on longer queries.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on1
Related papers
- Scaling Subsequence Similarity Join Based on Dynamic Time WarpingZemin Chao, Qiaoyi Zheng, Xingxing Xiao, Boyu Xiao et al.ICDE 2026
- Efficient Discovery of Time Series Motifs under both Length Differences and WarpingMakoto Imamura, Takaaki NakamuraKDD 2024 · 4 citations
- Parameter-free Spikelet: Discovering Different Length and Warped Time Series Motifs using an Adaptive Time Series RepresentationMakoto Imamura, Takaaki NakamuraKDD 2023 · 6 citations
- Versatile Equivalences: Speeding up Subgraph Query Processing and Subgraph MatchingHyunjoon Kim, Yunyoung Choi, Kunsoo Park, Xuemin Lin et al.SIGMOD 2021 · 75 citations
- CIVET: Exploring Compact Index for Variable-Length Subsequence Matching on Time SeriesHaoran Xiong, Hang Zhang, Zeyu Wang, Zhenying He et al.VLDB 2024 · 4 citations
