Binary Dynamic Time Warping in Linear Time
William Kuszmaul

TL;DR
This paper presents a new linear-time algorithm for computing binary dynamic time warping (DTW) distances, significantly improving efficiency over previous methods, especially for run-length encoded data.
Contribution
It introduces a linear-time algorithm for binary DTW and an efficient method for run-length encoded sequences, surpassing prior bounds.
Findings
Binary DTW can be computed in linear time.
Run-length encoded sequences allow for near-linear computation.
Improves previous quadratic bounds for specific cases.
Abstract
Dynamic time warping distance (DTW) is a widely used distance measure between time series . It was shown by Abboud, Backurs, and Williams that in the \emph{binary case}, where , DTW can be computed in time . We improve this running time . Moreover, if and are run-length encoded, then there is an algorithm running in time , where and are the number of runs in and , respectively. This improves on the previous best bound of due to Dupont and Marteau.
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 · Music and Audio Processing · Data Management and Algorithms
