Amercing: An Intuitive, Elegant and Effective Constraint for Dynamic Time Warping

11/26/2021
by   Matthieu Herrmann, et al.
0

Dynamic Time Warping (DTW), and its constrained (CDTW) and weighted (WDTW) variants, are time series distances with a wide range of applications. They minimize the cost of non-linear alignments between series. CDTW and WDTW have been introduced because DTW is too permissive in its alignments. However, CDTW uses a crude step function, allowing unconstrained flexibility within the window, and none beyond it. WDTW's multiplicative weight is relative to the distances between aligned points along a warped path, rather than being a direct function of the amount of warping that is introduced. In this paper, we introduce Amerced Dynamic Time Warping (ADTW), a new, intuitive, DTW variant that penalizes the act of warping by a fixed additive cost. Like CDTW and WDTW, ADTW constrains the amount of warping. However, it avoids both abrupt discontinuities in the amount of warping allowed and the limitations of a multiplicative penalty. We formally introduce ADTW, prove some of its properties, and discuss its parameterization. We show on a simple example how it can be parameterized to achieve an intuitive outcome, and demonstrate its usefulness on a standard time series classification benchmark. We provide a demonstration application in C++.

READ FULL TEXT

page 6

page 8

page 10

research
05/16/2017

Optimal Warping Paths are unique for almost every pair of Time Series

An optimal warping path between two time series is generally not unique....
research
03/21/2019

Trainable Time Warping: Aligning Time-Series in the Continuous-Time Domain

DTW calculates the similarity or alignment between two signals, subject ...
research
01/24/2023

Parameterizing the cost function of Dynamic Time Warping with application to time series classification

Dynamic Time Warping (DTW) is a popular time series distance measure tha...
research
05/30/2019

A General Optimization Framework for Dynamic Time Warping

Dynamic time warping (DTW) is a method that inputs two time-domain signa...
research
06/22/2020

Aligning Time Series on Incomparable Spaces

Dynamic time warping (DTW) is a useful method for aligning, comparing an...
research
09/30/2019

An Average-Compress Algorithm for the Sample Mean Problem under Dynamic Time Warping

Computing a sample mean of time series under dynamic time warping (DTW) ...
research
12/21/2015

Multivariate Time Series Classification Using Dynamic Time Warping Template Selection for Human Activity Recognition

Accurate and computationally efficient means for classifying human activ...

Please sign up or login with your details

Forgot password? Click here to reset