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 条
  • [1] Fast Exact Dynamic Time Warping on Run-Length Encoded Time Series
    Froese, Vincent
    Jain, Brijnesh
    Rymar, Maciej
    Weller, Mathias
    ALGORITHMICA, 2023, 85 (02) : 492 - 508
  • [2] On the Run-Length of the Structural Change in Time Series Data
    Prihartanti, Wiwik
    Rasyid, Dwilaksana Abdullah
    Iriawan, Nur
    2ND INTERNATIONAL CONFERENCE ON SCIENCE, MATHEMATICS, ENVIRONMENT, AND EDUCATION, 2019, 2019, 2194
  • [3] Exact Dynamic Time Warping calculation for weak sparse time series
    Ge, Lei
    Chen, Shun
    APPLIED SOFT COMPUTING, 2020, 96
  • [4] Matching for run-length encoded strings
    Apostolico, A
    Landau, GM
    Skiena, S
    JOURNAL OF COMPLEXITY, 1999, 15 (01) : 4 - 16
  • [5] Matching for run-length encoded strings
    Apostolico, A
    Landau, GM
    Skiena, S
    COMPRESSION AND COMPLEXITY OF SEQUENCES 1997 - PROCEEDINGS, 1998, : 348 - 356
  • [6] Fast algorithms for computing the constrained LCS of run-length encoded strings
    Ann, Hsing-Yen
    Yang, Chang-Biau
    Tseng, Chiou-Ting
    Hor, Chiou-Yi
    THEORETICAL COMPUTER SCIENCE, 2012, 432 : 1 - 9
  • [7] Fast description of run-length encoded regions in medical image retrieval
    Ruminski, J
    Nowakowski, A
    ANALYSIS OF BIOMEDICAL SIGNALS AND IMAGES, PROCEEDINGS, 2002, : 371 - 373
  • [8] Fast and Exact Warping of Time Series Using Adaptive Segmental Approximations
    Yutao Shou
    Nikos Mamoulis
    David W. Cheung
    Machine Learning, 2005, 58 : 231 - 267
  • [9] Fast and exact warping of time series using adaptive segmental approximations
    Shou, Y
    Mamoulis, N
    Cheung, DW
    MACHINE LEARNING, 2005, 58 (2-3) : 231 - 267
  • [10] Dynamic rank/select structures with applications to run-length encoded texts
    Lee, Sunho
    Park, Kunsoo
    THEORETICAL COMPUTER SCIENCE, 2009, 410 (43) : 4402 - 4413