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 条
  • [41] Segmentation of Time Series in Improving Dynamic Time Warping
    Ma, Ruizhe
    Ahmadzadeh, Azim
    Boubrahimi, Soukaina Filali
    Angryk, Rafal A.
    [J]. 2018 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2018, : 3756 - 3761
  • [42] Weighted dynamic time warping for time series classification
    Jeong, Young-Seon
    Jeong, Myong K.
    Omitaomu, Olufemi A.
    [J]. PATTERN RECOGNITION, 2011, 44 (09) : 2231 - 2240
  • [43] Branch-and-bound dynamic time warping
    Jang, S. W.
    Park, Y. J.
    Kim, G. Y.
    [J]. ELECTRONICS LETTERS, 2010, 46 (20) : 1374 - 1376
  • [44] SSDTW: Shape segment dynamic time warping
    Hong, Jae Yeol
    Park, Seung Hwan
    Baek, Jun-Geol
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2020, 150
  • [45] Learning Discriminative Prototypes with Dynamic Time Warping
    Chang, Xiaobin
    Tung, Frederick
    Mori, Greg
    [J]. 2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2021, 2021, : 8391 - 8400
  • [46] Non-Markovian Dynamic Time Warping
    Uchida, Seiichi
    Fukutomi, Masahiro
    Ogawara, Koichi
    Feng, Yaokai
    [J]. 2012 21ST INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR 2012), 2012, : 2294 - 2297
  • [47] Dynamic Time Warping Constraints for Semiconductor Processing
    Owens, Rachel
    Sun, Fan-Keng
    Venditti, Christopher
    Blake, Daniel
    Dillon, Jack
    Boning, Duane
    [J]. 2024 35TH ANNUAL SEMI ADVANCED SEMICONDUCTOR MANUFACTURING CONFERENCE, ASMC, 2024,
  • [48] Parallelization of Dynamic Time Warping on a Heterogeneous Platform
    Zheng, Yao
    Xiao, Limin
    Tang, Wenqi
    Shang, Lihong
    Yao, Guangchao
    Ruan, Li
    [J]. IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2014, E97A (11) : 2258 - 2262
  • [49] Robust voicing estimation with dynamic time warping
    Wang, T
    Cuperman, V
    [J]. PROCEEDINGS OF THE 1998 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING, VOLS 1-6, 1998, : 533 - 536
  • [50] Gait recognition using dynamic time warping
    Boulgouris, NV
    Plataniotis, KN
    Hatzinakos, D
    [J]. 2004 IEEE 6TH WORKSHOP ON MULTIMEDIA SIGNAL PROCESSING, 2004, : 263 - 266