The Inherent Time Complexity and An Efficient Algorithm for Subsequence Matching Problem
Zemin Chao, Hong Gao, Yinan An, Jianzhong Li
Abstract
Subsequence matching is an important and fundamental problem on time series data. This paper studies the inherent time complexity of the subsequence matching problem and designs a more efficient algorithm for solving the problem. Firstly, it is proved that the subsequence matching problem is incomputable in time O ( n 1-δ ) even allowing polynomial time preprocessing if the hypothesis SETH is true, where n is the size of the input time series and 0 ≤ δ < 1, i.e., the inherent complexity of the subsequence matching problem is ω ( n 1-δ ). Secondly, an efficient algorithm for subsequence matching problem is proposed. In order to improve the efficiency of the algorithm, we design a new summarization method as well as a novel index for series data. The proposed algorithm supports both Euclidean Distance and DTW distance with or without z -normalization. Experimental results show that the proposed algorithm is up to about 3 10 times faster than the state of art algorithm on the constrained z -normalized Euclidean Distance and DTW distance, and is up to 7 12 times faster on Euclidean Distance.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 537eeedf-f016-44b5-bcbb-b6c590f229d1Cited by top-tier papers3
- TSM-Bench: Benchmarking Time Series Database Systems for Monitoring ApplicationsAbdelouahab Khelifati, Mourad Khayati, Anton Dignös, Djellel Eddine Difallah et al.VLDB 2023 · 24 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
- FSMDTW: A Fast Index-free Subsequence Matching Algorithm for Dynamic Time WarpingZemin Chao, Qiaoyi Zheng, Zhixin Qi, Hongzhi WangVLDB 2025
Builds on2
- Fast Subtrajectory Similarity Search in Road Networks under Weighted Edit Distance ConstraintsSatoshi Koide, Chuan Xiao, Yoshiharu IshikawaVLDB 2020 · 32 citations
- ChainLink: Indexing Big Time Series Data For Long Subsequence MatchingNoura Alghamdi, Liang Zhang, Huayi Zhang, Elke A. Rundensteiner et al.ICDE 2020 · 15 citations
Related papers
- Scaling Subsequence Similarity Join Based on Dynamic Time WarpingZemin Chao, Qiaoyi Zheng, Xingxing Xiao, Boyu Xiao et al.ICDE 2026
- Constructing Compact Time Series Index for Efficient Window Query ProcessingJing Zhao, Peng Wang, Bo Tang, Lu Liu et al.ICDE 2022 · 1 citation
- Parameter-free Spikelet: Discovering Different Length and Warped Time Series Motifs using an Adaptive Time Series RepresentationMakoto Imamura, Takaaki NakamuraKDD 2023 · 6 citations
- Efficient Discovery of Time Series Motifs under both Length Differences and WarpingMakoto Imamura, Takaaki NakamuraKDD 2024 · 4 citations
- MS-Index: Fast Top-k Subsequence Search for Multivariate Time Series under Euclidean DistanceJens E. d'Hondt, Teun Kortekaas, Odysseas Papapetrou, Themis PalpanasVLDB 2026 · 1 citation
