Fast Exact Dynamic Time Warping on Run-Length Encoded Time Series

被引:0
|
作者
Vincent Froese
Brijnesh Jain
Maciej Rymar
Mathias Weller
机构
[1] Technische Universität Berlin,Algorithmics and Computational Complexity Institute of Software Engineering and Theoretical Computer Science
[2] OTH Regensburg,Department of Computer Science and Mathematics
[3] Université Paris Est,CNRS, LIGM
来源
Algorithmica | 2023年 / 85卷
关键词
Time series similarity; Sparse data; Block matrix; Line intersections;
D O I
暂无
中图分类号
学科分类号
摘要
Dynamic Time Warping (DTW) is a well-known similarity measure for time series. The standard dynamic programming approach to compute the DTW distance of two length-n time series, however, requires O(n2)\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$O(n^2)$$\end{document} time, which is often too slow for real-world applications. Therefore, many heuristics have been proposed to speed up the DTW computation. These are often based on lower bounding techniques, approximating the DTW distance, or considering special input data such as binary or piecewise constant time series. In this paper, we present a first exact algorithm to compute the DTW distance of two run-length encoded time series whose running time only depends on the encoding lengths of the inputs. The worst-case running time is cubic in the encoding length. In experiments we show that our algorithm is indeed fast for time series with short encoding lengths.
引用
收藏
页码:492 / 508
页数:16
相关论文
共 50 条
  • [21] Fast Algorithms for the Shortest Unique Palindromic Substring Problem on Run-Length Encoded Strings
    Kiichi Watanabe
    Yuto Nakashima
    Shunsuke Inenaga
    Hideo Bannai
    Masayuki Takeda
    Theory of Computing Systems, 2020, 64 : 1273 - 1291
  • [22] Fast Algorithms for the Shortest Unique Palindromic Substring Problem on Run-Length Encoded Strings
    Watanabe, Kiichi
    Nakashima, Yuto
    Inenaga, Shunsuke
    Bannai, Hideo
    Takeda, Masayuki
    THEORY OF COMPUTING SYSTEMS, 2020, 64 (07) : 1273 - 1291
  • [23] Hardness of comparing two run-length encoded strings
    Chen, Kuan-Yu
    Hsu, Ping-Hui
    Chao, Kun-Mao
    JOURNAL OF COMPLEXITY, 2010, 26 (04) : 364 - 374
  • [24] A fast and simple algorithm for computing the longest common subsequence of run-length encoded strings
    Ann, Hsing-Yen
    Yang, Chang-Biau
    Tseng, Chiou-Ting
    Hor, Chiou-Yi
    INFORMATION PROCESSING LETTERS, 2008, 108 (06) : 360 - 364
  • [25] Parameterized Searching with Mismatches for Run-Length Encoded Strings
    Alberto Apostolico
    Erdos, Peter L.
    Alpar Juettner
    STRING PROCESSING AND INFORMATION RETRIEVAL, 2010, 6393 : 365 - +
  • [26] Fast Sparse Dynamic Time Warping
    Hwang, Youngha
    Gelfand, Saul B.
    2022 26TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2022, : 3872 - 3877
  • [27] Identifying Approximate Palindromes in Run-Length Encoded Strings
    Chen, Kuan-Yu
    Hsu, Ping-Hui
    Chao, Kun-Mao
    ALGORITHMS AND COMPUTATION, PT 2, 2010, 6507 : 339 - 350
  • [28] Parameterized searching with mismatches for run-length encoded strings
    Apostolico, Alberto
    Erdos, Peter L.
    Juettner, Alpar
    THEORETICAL COMPUTER SCIENCE, 2012, 454 : 23 - 29
  • [29] Time Series Clustering Based on Dynamic Time Warping
    Wang, Weizeng
    Lyu, Gaofan
    Shi, Yuliang
    Liang, Xun
    PROCEEDINGS OF 2018 IEEE 9TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS), 2018, : 487 - 490
  • [30] Flexible Dynamic Time Warping for Time Series Classification
    Hsu, Che-Jui
    Huang, Kuo-Si
    Yang, Chang-Biau
    Guo, Yi-Pu
    INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, ICCS 2015 COMPUTATIONAL SCIENCE AT THE GATES OF NATURE, 2015, 51 : 2838 - 2842