Bounded Weighted Edit Distance: Dynamic Algorithms and Matching Lower Bounds
Itai Boneh, Egor Gorbachev, Tomasz Kociumaka

TL;DR
This paper develops a dynamic algorithm for weighted edit distance that efficiently maintains the distance between changing strings, offering a trade-off between preprocessing time and update time, and establishes lower bounds for optimality.
Contribution
It introduces a novel dynamic algorithm for weighted edit distance with a tunable trade-off parameter, extending previous work to handle large weights efficiently.
Findings
Achieves $ ilde{O}(k^{3- heta})$ update time with $ ilde{O}(nk^ heta)$ preprocessing.
Provides conditional lower bounds demonstrating near-optimality of the algorithm.
Extends dynamic maintenance techniques from unweighted to weighted edit distance.
Abstract
The edit distance of two strings is the minimum number of character edits (insertions, deletions, and substitutions) needed to transform into . Its weighted counterpart minimizes the total cost of edits, which are specified using a function , normalized so that each edit costs at least one. The textbook dynamic-programming procedure, given strings and oracle access to , computes in time. Nevertheless, one can achieve better running times if the computed distance, denoted , is small: for unit weights [Landau and Vishkin; JCSS'88] and for arbitrary weights [Cassis, Kociumaka, Wellnitz; FOCS'23]. In this paper, we study the dynamic version of the weighted edit distance problem, where the goal is to maintain for strings $X,Y\in \Sigma^{\le…
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.
