Dynamic Dynamic Time Warping
Karl Bringmann, Nick Fischer, Ivor van der Hoog, Evangelos Kipouridis, Tomasz Kociumaka, Eva Rotenberg
摘要
The Dynamic Time Warping (DTW) distance is a popular similarity measure for polygonal curves (i.e., sequences of points). It finds many theoretical and practical applications, especially for temporal data, and is known to be a robust, outlier-insensitive alternative to the Fréchet distance. For static curves of at most n points, the DTW distance can be computed in O(n 2 ) time in constant dimension. This tightly matches a SETH-based lower bound, even for curves in R 1 .
In this work, we study dynamic algorithms for the DTW distance. Here, the goal is to design a data structure that can be efficiently updated to accommodate local changes to one or both curves, such as inserting or deleting vertices and, after each operation, reports the updated DTW distance. We give such a data structure with update and query time O(n 1.5 log n), where n is the maximum length of the curves.
As our main result, we prove that our data structure is conditionally optimal, up to subpolynomial factors. More precisely, we prove that, already for curves in R 1 , there is no dynamic algorithm to maintain the DTW distance with update and query time O(n 1.5-δ ) for any constant δ > 0, unless the Negative-k-Clique Hypothesis fails. In fact, we give matching upper and lower bounds for various trade-offs between update and query time, even in cases where the lengths of the curves differ.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper5
- Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit DistanceDebarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz Kociumaka 等FOCS 2025 · 被引用 1 次
- One Video to Steal Them All: 3D-Printing IP Theft through Optical Side-ChannelsTwisha Chattopadhyay, Fabricio Ceschin, Marco E. Garza, Dymytriy Zyunkin 等CCS 2025 · 被引用 1 次
- Cross-Sample Augmented Test-Time Adaptation for Personalized Intraoperative Hypotension PredictionKanxue Li, Yibing Zhan, Hua Jin, Chongchong Qi 等AAAI 2026 · 被引用 1 次
- Fine-Grained Optimality of Partially Dynamic Shortest Paths and MoreBarna Saha, Virginia Vassilevska Williams, Yinzhan Xu, Christopher YeSODA 2025
- The Complexity of Dynamic LZ77 is ?Θ(n2/3)Itai Boneh, Shay Golan, Matan KrausSODA 2026
它引用的顶会 Paper5
- Tight Bounds for Approximate Near Neighbor Searching for Time Series under the Fréchet DistanceKarl Bringmann, Anne Driemel, André Nusser, Ioannis PsarrosSODA 2022 · 被引用 5 次
- Optimal Algorithms for Bounded Weighted Edit DistanceAlejandro Cassis, Tomasz Kociumaka, Philip WellnitzFOCS 2023 · 被引用 4 次
- Static and Streaming Data Structures for Fréchet Distance QueriesArnold Filtser, Omrit FiltserSODA 2021 · 被引用 2 次
- Approximating Edit Distance in the Fully Dynamic ModelTomasz Kociumaka, Anish Mukherjee, Barna SahaFOCS 2023 · 被引用 1 次
- A Subquadratic nε-approximation for the Continuous Fréchet DistanceThijs van der Horst, Marc J. van Kreveld, Tim Ophelders, Bettina SpeckmannSODA 2023 · 被引用 1 次
相关 Paper
- Improved Learning via k-DTW: A Novel Dissimilarity Measure for CurvesAmer Krivosija, Alexander Munteanu, André Nusser, Chris SchwiegelshohnICML 2025
- Fréchet Distance in Subquadratic TimeSiu-Wing Cheng, Haoqiang HuangSODA 2025 · 被引用 2 次
- Deterministic Incremental APSP with Polylogarithmic Update Time and StretchSebastian Forster, Yasamin Nazari, Maximilian Probst GutenbergSTOC 2023 · 被引用 2 次
- Dynamic 3D Convex Hulls Revisited and ApplicationsHaitao WangSODA 2026
- Constant Approximation of Fréchet Distance in Strongly Subquadratic TimeSiu-Wing Cheng, Haoqiang Huang, Shuo ZhangSTOC 2025 · 被引用 1 次
