A Faster Reduction of the Dynamic Time Warping Distance to the Longest Increasing Subsequence Length

被引:3
|
作者
Sakai, Yoshifumi [1 ]
Inenaga, Shunsuke [2 ,3 ]
机构
[1] Tohoku Univ, Grad Sch Agr Sci, Sendai, Miyagi, Japan
[2] Kyushu Univ, Dept Informat, Fukuoka, Japan
[3] Japan Sci & Technol Agcy, PRESTO, Kawaguchi, Saitama, Japan
关键词
String algorithms; Dynamic time warping distance; Longest increasing subsequence; Semi-local sequence comparison; ALGORITHM;
D O I
10.1007/s00453-022-00968-2
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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(cn(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 DTWto LIS, we present time-efficient algorithms for DTW-related problems utilizing the semi-local sequence comparison technique developed for LCS-related problems.
引用
收藏
页码:2581 / 2596
页数:16
相关论文
共 50 条
  • [1] A Faster Reduction of the Dynamic Time Warping Distance to the Longest Increasing Subsequence Length
    Yoshifumi Sakai
    Shunsuke Inenaga
    Algorithmica, 2022, 84 : 2581 - 2596
  • [2] Improved Dynamic Algorithms for Longest Increasing Subsequence
    Kociumaka, Tomasz
    Seddighin, Saeed
    STOC '21: PROCEEDINGS OF THE 53RD ANNUAL ACM SIGACT SYMPOSIUM ON THEORY OF COMPUTING, 2021, : 640 - 653
  • [3] On Distance to Monotonicity and Longest Increasing Subsequence of a Data Stream
    Ergun, Funda
    Jowhari, Hossein
    PROCEEDINGS OF THE NINETEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2008, : 730 - 736
  • [4] On the distribution of the length of the longest increasing subsequence of random permutations
    Baik, J
    Deift, P
    Johansson, K
    JOURNAL OF THE AMERICAN MATHEMATICAL SOCIETY, 1999, 12 (04) : 1119 - 1178
  • [5] The Length of the Longest Increasing Subsequence of a Random Mallows Permutation
    Carl Mueller
    Shannon Starr
    Journal of Theoretical Probability, 2013, 26 : 514 - 540
  • [6] On the Distribution of the Length of the Longest Increasing Subsequence in a Random Permutation
    James C. Fu
    Yu-Fei Hsieh
    Methodology and Computing in Applied Probability, 2015, 17 : 489 - 496
  • [7] On the Distribution of the Length of the Longest Increasing Subsequence in a Random Permutation
    Fu, James C.
    Hsieh, Yu-Fei
    METHODOLOGY AND COMPUTING IN APPLIED PROBABILITY, 2015, 17 (02) : 489 - 496
  • [8] The Length of the Longest Increasing Subsequence of a Random Mallows Permutation
    Mueller, Carl
    Starr, Shannon
    JOURNAL OF THEORETICAL PROBABILITY, 2013, 26 (02) : 514 - 540
  • [9] Estimating the Longest Increasing Subsequence in Nearly Optimal Time
    Andoni, Alexandr
    Nosatzki, Negev Shekel
    Sinha, Sandip
    Stein, Clifford
    2022 IEEE 63RD ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS), 2022, : 708 - 719
  • [10] Efficient online subsequence searching in data streams under Dynamic Time Warping distance
    Zhou, Mi
    Wong, Man Hon
    2008 IEEE 24TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2008, : 686 - +