We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.DS

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Data Structures and Algorithms

Title: A faster reduction of the dynamic time warping distance to the longest increasing subsequence length

Abstract: The similarity between a pair of time series, i.e., sequences of indexed values in time order, is often estimated by the dynamic time warping (DTW) distance, instead of any in the well-studied family of measures including the longest common subsequence (LCS) length and the edit distance. Although it may seem as if the DTW and the LCS(-like) measures are essentially different, we reveal that the DTW distance can be represented by the longest increasing subsequence (LIS) length of a sequence of integers, which is the LCS length between the integer sequence and itself sorted. For a given pair of time series of length $n$ such that the dissimilarity between any elements is an integer between zero and $c$, we propose an integer sequence that represents any substring-substring DTW distance as its band-substring LIS length. The length of the produced integer sequence is $O(c n^2)$, which can be translated to $O(n^2)$ for constant dissimilarity functions. To demonstrate that techniques developed under the LCS(-like) measures are directly applicable to analysis of time series via our reduction of DTW to LIS, we present time-efficient algorithms for DTW-related problems utilizing the semi-local sequence comparison technique developed for LCS-related problems.
Comments: Accepted for Algorithmica (Previous version appeared in ISAAC 2020)
Subjects: Data Structures and Algorithms (cs.DS); Databases (cs.DB)
Cite as: arXiv:2005.09169 [cs.DS]
  (or arXiv:2005.09169v3 [cs.DS] for this version)

Submission history

From: Shunsuke Inenaga [view email]
[v1] Tue, 19 May 2020 02:21:18 GMT (106kb)
[v2] Wed, 24 Mar 2021 11:39:40 GMT (315kb,D)
[v3] Mon, 18 Apr 2022 07:36:23 GMT (94kb)

Link back to: arXiv, form interface, contact.