Arrow Research search
Back to MFCS

MFCS 2020

Dynamic Time Warping-Based Proximity Problems

Conference Paper Accepted Paper Algorithms and Complexity ยท Theoretical Computer Science

Abstract

Dynamic Time Warping (DTW) is a well-known similarity measure for curves, i. e. , sequences of points, and especially for time series. We study several proximity problems for curves, where dynamic time warping is the underlying similarity measure. More precisely, we focus on the variants of these problems, in which, whenever we refer to the dynamic time warping distance between two curves, one of them is a line segment (i. e. , a sequence of length two). These variants already reveal some of the difficulties that occur when dealing with the more general ones. Specifically, we study the following three problems: (i) distance oracle: given a curve C in โ„^d, preprocess it to accommodate distance computations between query segments and C, (ii) segment center: given a set ๐’ž of curves in โ„^d, find a segment s that minimizes the maximum distance between s and a curve in ๐’ž, and (iii) segment nearest neighbor: given ๐’ž, construct a data structure for segment nearest neighbor queries, i. e. , return the curve in ๐’ž which is closest to a query segment s. We present solutions to these problems in any constant dimension d โ‰ฅ 1, using L_โˆž for inter-point distances. We also consider the approximation version of the first problem, using Lโ‚ for inter-point distances. That is, given a length-m curve C in โ„^d, we construct a data structure of size O(m log m) that allows one to compute a 2-approximation of the distance between a query segment s and C in O(logยณ m) time. Finally, we describe an interesting experimental study that we performed, which is related to the first problem above.

Authors

Keywords

  • dynamic time warping
  • distance oracle
  • clustering
  • nearest-neighbor search

Context

Venue
International Symposium on Mathematical Foundations of Computer Science
Archive span
1973-2025
Indexed papers
3045
Paper id
411404227756699712