Dynamic Time Warping Under Translation: Approximation Guided by Space-Filling Curves

Karl Bringmann*, Sándor Kisfaludi-Bak, Marvin Künnemann, Dániel Marx, André Nusser

*Tämän työn vastaava kirjoittaja

Tutkimustuotos: Artikkeli kirjassa/konferenssijulkaisussaConference contributionScientificvertaisarvioitu

10 Lataukset (Pure)

Abstrakti

The Dynamic Time Warping (DTW) distance is a popular measure of similarity for a variety of sequence data. For comparing polygonal curves p,s in Rd, it provides a robust, outlier-insensitive alternative to the Fréchet distance. However, like the Fréchet distance, the DTW distance is not invariant under translations. Can we efficiently optimize the DTW distance of p and s under arbitrary translations, to compare the curves' shape irrespective of their absolute location? There are surprisingly few works in this direction, which may be due to its computational intricacy: For the Euclidean norm, this problem contains as a special case the geometric median problem, which provably admits no exact algebraic algorithm (that is, no algorithm using only addition, multiplication, and k-th roots). We thus investigate exact algorithms for non-Euclidean norms as well as approximation algorithms for the Euclidean norm. For the L1 norm in Rd, we provide an O(n2(d+1))-time algorithm, i.e., an exact polynomial-time algorithm for constant d. Here and below, n bounds the curves' complexities. For the Euclidean norm in R2, we show that a simple problem-specific insight leads to a (1 + e)-approximation in time O(n3/e2). We then show how to obtain a subcubic Oe(n2.5/e2) time algorithm with significant new ideas; this time comes close to the well-known quadratic time barrier for computing DTW for fixed translations. Technically, the algorithm is obtained by speeding up repeated DTW distance estimations using a dynamic data structure for maintaining shortest paths in weighted planar digraphs. Crucially, we show how to traverse a candidate set of translations using space-filling curves in a way that incurs only few updates to the data structure. We hope that our results will facilitate the use of DTW under translation both in theory and practice, and inspire similar algorithmic approaches for related geometric optimization problems.

AlkuperäiskieliEnglanti
Otsikko38th International Symposium on Computational Geometry, SoCG 2022
ToimittajatXavier Goaoc, Michael Kerber
KustantajaSchloss Dagstuhl-Leibniz-Zentrum für Informatik
Sivut1-17
Sivumäärä17
ISBN (elektroninen)978-3-95977-227-3
DOI - pysyväislinkit
TilaJulkaistu - 1 kesäk. 2022
OKM-julkaisutyyppiA4 Artikkeli konferenssijulkaisuussa
TapahtumaInternational Symposium on Computational Geometry - Berlin, Saksa
Kesto: 7 kesäk. 202210 kesäk. 2022
Konferenssinumero: 38

Julkaisusarja

NimiLeibniz International Proceedings in Informatics, LIPIcs
KustantajaSchloss Dagstuhl-Leibniz-Zentrum für Informatik
Vuosikerta224
ISSN (elektroninen)1868-8969

Conference

ConferenceInternational Symposium on Computational Geometry
LyhennettäSoCG
Maa/AlueSaksa
KaupunkiBerlin
Ajanjakso07/06/202210/06/2022

Sormenjälki

Sukella tutkimusaiheisiin 'Dynamic Time Warping Under Translation: Approximation Guided by Space-Filling Curves'. Ne muodostavat yhdessä ainutlaatuisen sormenjäljen.

Siteeraa tätä