Skip to main navigation Skip to search Skip to main content

FSMDTW: A Fast Index-free Subsequence Matching Algorithm for Dynamic Time Warping

  • Harbin Institute of Technology

Research output: Contribution to journalConference articlepeer-review

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.

Original languageEnglish
Pages (from-to)3628-3640
Number of pages13
JournalProceedings of the VLDB Endowment
Volume18
Issue number10
DOIs
StatePublished - 2025
Event51st International Conference on Very Large Data Bases, VLDB 2025 - London, United Kingdom
Duration: 1 Sep 20255 Sep 2025

Fingerprint

Dive into the research topics of 'FSMDTW: A Fast Index-free Subsequence Matching Algorithm for Dynamic Time Warping'. Together they form a unique fingerprint.

Cite this