Papers › Faster Retrieval with a Two-Pass Dynamic-Time-Warping Lower Bound

Faster Retrieval with a Two-Pass Dynamic-Time-Warping Lower Bound

20 Nov 2008arXiv:0811.3301archive 2025-07-28

Daniel Lemire

The Dynamic Time Warping (DTW) is a popular similarity measure between time series. The DTW fails to satisfy the triangle inequality and its computation requires quadratic time. Hence, to find closest neighbors quickly, we use bounding techniques. We can avoid most DTW computations with an inexpensive lower bound (LB Keogh). We compare LB Keogh with a tighter lower bound (LB Improved). We find that LB Improved-based search is faster. As an example, our approach is 2-3 times faster over random-walk and shape time series.

PaperPDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

lemire/lbimproved officialmentioned on GitHubApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Dynamic Time WarpingRetrievalTime SeriesTime Series AnalysisVocal Bursts Valence Prediction

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

DTW

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections