TC-DTW: Accelerating Multivariate Dynamic Time Warping Through Triangle
Inequality and Point Clustering
- URL: http://arxiv.org/abs/2101.07731v2
- Date: Wed, 20 Jan 2021 02:55:15 GMT
- Title: TC-DTW: Accelerating Multivariate Dynamic Time Warping Through Triangle
Inequality and Point Clustering
- Authors: Daniel Shen, Min Chi
- Abstract summary: The most popular algorithm used today is still the one developed seventeen years ago.
The new solution, named TC-DTW, introduces Triangle Inequality and Point Clustering into the algorithm design.
In experiments on DTW-based nearest neighbor finding, the new solution avoids as much as 98% (60% average) DTW distance calculations and yields as much as 25X (7.5X average) speedups.
- Score: 6.502892821109196
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Dynamic time warping (DTW) plays an important role in analytics on time
series. Despite the large body of research on speeding up univariate DTW, the
method for multivariate DTW has not been improved much in the last two decades.
The most popular algorithm used today is still the one developed seventeen
years ago. This paper presents a solution that, as far as we know, for the
first time consistently outperforms the classic multivariate DTW algorithm
across dataset sizes, series lengths, data dimensions, temporal window sizes,
and machines. The new solution, named TC-DTW, introduces Triangle Inequality
and Point Clustering into the algorithm design on lower bound calculations for
multivariate DTW. In experiments on DTW-based nearest neighbor finding, the new
solution avoids as much as 98% (60% average) DTW distance calculations and
yields as much as 25X (7.5X average) speedups.
Related papers
- OTW: Optimal Transport Warping for Time Series [75.69837166816501]
Dynamic Time Warping (DTW) has become the pragmatic choice for measuring distance between time series.
It suffers from unavoidable quadratic time complexity when the optimal alignment matrix needs to be computed exactly.
We introduce a new metric for time series data based on the Optimal Transport framework, called Optimal Transport Warping (OTW)
arXiv Detail & Related papers (2023-06-01T12:45:00Z) - Soft Dynamic Time Warping for Multi-Pitch Estimation and Beyond [0.483420384410068]
We show how soft dynamic time warping (SoftDTW) can be used as an alternative to CTC.
We show that SoftDTW yields results on par with a state-of-the-art multi-label extension of CTC.
arXiv Detail & Related papers (2023-04-11T07:39:16Z) - Deep Declarative Dynamic Time Warping for End-to-End Learning of
Alignment Paths [54.53208538517505]
This paper addresses learning end-to-end models for time series data that include a temporal alignment step via dynamic time warping (DTW)
We propose a DTW layer based around bi-level optimisation and deep declarative networks, which we name DecDTW.
We show that this property is particularly useful for applications where downstream loss functions are defined on the optimal alignment path itself.
arXiv Detail & Related papers (2023-03-19T21:58:37Z) - Approximating DTW with a convolutional neural network on EEG data [9.409281517596396]
We propose a fast and differentiable approximation of Dynamic Time Wrapping (DTW)
We show that our methods achieve at least the same level of accuracy as other DTW main approximations with higher computational efficiency.
arXiv Detail & Related papers (2023-01-30T13:27:47Z) - (k, l)-Medians Clustering of Trajectories Using Continuous Dynamic Time
Warping [57.316437798033974]
In this work we consider the problem of center-based clustering of trajectories.
We propose the usage of a continuous version of DTW as distance measure, which we call continuous dynamic time warping (CDTW)
We show a practical way to compute a center from a set of trajectories and subsequently iteratively improve it.
arXiv Detail & Related papers (2020-12-01T13:17:27Z) - Multi-Agent Reinforcement Learning in NOMA-aided UAV Networks for
Cellular Offloading [59.32570888309133]
A novel framework is proposed for cellular offloading with the aid of multiple unmanned aerial vehicles (UAVs)
Non-orthogonal multiple access (NOMA) technique is employed at each UAV to further improve the spectrum efficiency of the wireless network.
A mutual deep Q-network (MDQN) algorithm is proposed to jointly determine the optimal 3D trajectory and power allocation of UAVs.
arXiv Detail & Related papers (2020-10-18T20:22:05Z) - Single-Timescale Stochastic Nonconvex-Concave Optimization for Smooth
Nonlinear TD Learning [145.54544979467872]
We propose two single-timescale single-loop algorithms that require only one data point each step.
Our results are expressed in a form of simultaneous primal and dual side convergence.
arXiv Detail & Related papers (2020-08-23T20:36:49Z) - Learning to Accelerate Heuristic Searching for Large-Scale Maximum
Weighted b-Matching Problems in Online Advertising [51.97494906131859]
Bipartite b-matching is fundamental in algorithm design, and has been widely applied into economic markets, labor markets, etc.
Existing exact and approximate algorithms usually fail in such settings due to either requiring intolerable running time or too much computation resource.
We propose textttNeuSearcher which leverages the knowledge learned from previously instances to solve new problem instances.
arXiv Detail & Related papers (2020-05-09T02:48:23Z) - FastDTW is approximate and Generally Slower than the Algorithm it
Approximates [11.689905300531917]
The Dynamic Time Warping (DTW) distance measure is the best measure to use for most tasks, in most domains.
One of the most cited approximate approaches is FastDTW.
In any realistic data mining application, the approximate FastDTW is much slower than the exact DTW.
arXiv Detail & Related papers (2020-03-25T07:26:02Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.