Towards Efficient Interactive Computation of Dynamic Time Warping Distance
Akihiro Nishi, Yuto Nakashima, Shunsuke Inenaga, Hideo Bannai,, Masayuki Takeda

TL;DR
This paper introduces an efficient algorithm for interactive computation of dynamic time warping distance on dynamic strings, significantly reducing update time by leveraging run-length encoding and differential representations.
Contribution
It presents a novel algorithm for dynamic DTW computation that improves efficiency by updating only changed parts of the DP table after edits.
Findings
Algorithm matches recent state-of-the-art in worst-case complexity.
Faster updates occur when fewer cells change after edits.
Preliminary experiments suggest practical efficiency gains.
Abstract
The dynamic time warping (DTW) is a widely-used method that allows us to efficiently compare two time series that can vary in speed. Given two strings and of respective lengths and , there is a fundamental dynamic programming algorithm that computes the DTW distance for and together with an optimal alignment in time and space. In this paper, we tackle the problem of interactive computation of the DTW distance for dynamic strings, denoted , where character-wise edit operation (insertion, deletion, substitution) can be performed at an arbitrary position of the strings. Let and be the sizes of the run-length encoding (RLE) of and , respectively. We present an algorithm for that occupies space and uses time to update a compact differential…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTime Series Analysis and Forecasting · Algorithms and Data Compression · Advanced Database Systems and Queries
