English

Improved Time Warp Edit Distance -- A Parallel Dynamic Program in Linear Memory

Computational Geometry 2020-08-03 v1 Distributed, Parallel, and Cluster Computing Machine Learning Mathematical Software Metric Geometry

Abstract

Edit Distance is a classic family of dynamic programming problems, among which Time Warp Edit Distance refines the problem with the notion of a metric and temporal elasticity. A novel Improved Time Warp Edit Distance algorithm that is both massively parallelizable and requiring only linear storage is presented. This method uses the procession of a three diagonal band to cover the original dynamic program space. Every element of the diagonal update can be computed in parallel. The core method is a feature of the TWED Longest Common Subsequence data dependence and is applicable to dynamic programs that share similar band subproblem structure. The algorithm has been implemented as a CUDA C library with Python bindings. Speedups for challenging problems are phenomenal.

Keywords

Cite

@article{arxiv.2007.16135,
  title  = {Improved Time Warp Edit Distance -- A Parallel Dynamic Program in Linear Memory},
  author = {Garrett Wright},
  journal= {arXiv preprint arXiv:2007.16135},
  year   = {2020}
}

Comments

16 pages

R2 v1 2026-06-23T17:33:33.761Z