A general optimization framework for dynamic time warping

被引:3
|
作者
Deriso, Dave [1 ]
Boyd, Stephen [2 ]
机构
[1] Stanford Univ, Computat & Math Engn, 475 Via Ortega,Suite 060, Stanford, CA 94305 USA
[2] Stanford Univ, Elecr Engn, 350 Serra Mall,Packard 175, Stanford, CA 94305 USA
关键词
Time-Series; DTW; Dynamic programming;
D O I
10.1007/s11081-022-09738-z
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
The goal of dynamic time warping is to transform or warp time in order to approximately align two signals. We pose the choice of warping function as an optimization problem with several terms in the objective. The first term measures the misalignment of the time-warped signals. Two additional regularization terms penalize the cumulative warping and the instantaneous rate of time warping; constraints on the warping can be imposed by assigning the value +oo to the regularization terms. Different choices of the three objective terms yield different time warping functions that trade off signal fit or alignment and properties of the warping function. The optimization problem we formulate is a classical optimal control problem, with initial and terminal constraints, and a state dimension of one. We describe an effective general method that minimizes the objective by discretizing the values of the original and warped time, and using standard dynamic programming to compute the (globally) optimal warping function with the discretized values. Iterated refinement of this scheme yields a high accuracy warping function in just a few iterations. Our method is implemented as an open source Python package GDTW.
引用
收藏
页码:1411 / 1432
页数:22
相关论文
共 50 条
  • [1] A general optimization framework for dynamic time warping
    Dave Deriso
    Stephen Boyd
    [J]. Optimization and Engineering, 2023, 24 : 1411 - 1432
  • [2] Ultra fast warping window optimization for Dynamic Time Warping
    Tan, Chang Wei
    Herrmann, Matthieu
    Webb, Geoffrey, I
    [J]. 2021 21ST IEEE INTERNATIONAL CONFERENCE ON DATA MINING (ICDM 2021), 2021, : 589 - 598
  • [3] DYNAMIC FREQUENCY WARPING, THE DUAL OF DYNAMIC TIME WARPING
    NEUBURG, EP
    [J]. JOURNAL OF THE ACOUSTICAL SOCIETY OF AMERICA, 1987, 81 : S94 - S94
  • [4] Dynamic Dynamic Time Warping
    Bringmann, Karl
    Fischer, Nick
    van der Hoog, Ivor
    Kipouridis, Evangelos
    Kociumaka, Tomasz
    Rotenberg, Eva
    [J]. PROCEEDINGS OF THE 2024 ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2024, : 208 - 242
  • [5] Dynamic Time Warping Based Adversarial Framework for Time-Series Domain
    Belkhouja, Taha
    Yan, Yan
    Doppa, Janardhan Rao
    [J]. IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2023, 45 (06) : 7353 - 7366
  • [6] Optimization of Dynamic Time Warping Algorithm for Abnormal Signal Detection
    Teng, Yuru
    Wang, Guotao
    He, Cailing
    Wu, Yaoyang
    Li, Chaoran
    [J]. INTERNATIONAL JOURNAL OF DATA SCIENCE AND ANALYTICS, 2023,
  • [7] FlatDTW - Dynamic Time Warping optimization for piecewise constant templates
    Stasiak, Bartlomiej
    Skiba, Marcin
    Niedzielski, Adam
    [J]. DIGITAL SIGNAL PROCESSING, 2019, 85 : 86 - 98
  • [8] DYNAMIC POSITIONAL WARPING: DYNAMIC TIME WARPING FOR ONLINE HANDWRITING
    Chang, Won-Du
    Shin, Jungpil
    [J]. INTERNATIONAL JOURNAL OF PATTERN RECOGNITION AND ARTIFICIAL INTELLIGENCE, 2009, 23 (05) : 967 - 986
  • [9] A Nested Alignment Graph Kernel Through the Dynamic Time Warping Framework
    Bai, Lu
    Rossi, Luca
    Cui, Lixin
    Hancock, Edwin R.
    [J]. GRAPH-BASED REPRESENTATIONS IN PATTERN RECOGNITION (GBRPR 2017), 2017, 10310 : 59 - 69
  • [10] Head Gesture Recognition via Dynamic Time Warping and Threshold Optimization
    Mavus, Ubeyde
    Sezer, Volkan
    [J]. 2017 IEEE CONFERENCE ON COGNITIVE AND COMPUTATIONAL ASPECTS OF SITUATION MANAGEMENT (COGSIMA), 2017,