Weighted Edit Distance Computation: Strings, Trees and Dyck
Debarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz, Kociumaka, and Barna Saha

TL;DR
This paper introduces the first efficient algorithm for exact weighted edit distance computation for strings, trees, and Dyck structures, significantly advancing the understanding and capabilities beyond unweighted cases.
Contribution
It presents the first $ ext{O}(n+ ext{poly}(k))$-time algorithm for weighted edit distance, extending to trees and Dyck structures, filling a key gap in edit distance research.
Findings
First $ ext{O}(n+ ext{poly}(k))$-time algorithm for weighted string edit distance.
Extension of the algorithm to weighted tree and Dyck edit distances.
Improved deterministic algorithms for weighted tree edit distance.
Abstract
Given two strings of length over alphabet , and an upper bound on their edit distance, the algorithm of Myers (Algorithmica'86) and Landau and Vishkin (JCSS'88) computes the unweighted string edit distance in time. Till date, it remains the fastest algorithm for exact edit distance computation, and it is optimal under the Strong Exponential Hypothesis (STOC'15). Over the years, this result has inspired many developments, including fast approximation algorithms for string edit distance as well as similar poly-time algorithms for generalizations to tree and Dyck edit distances. Surprisingly, all these results hold only for unweighted instances. While unweighted edit distance is theoretically fundamental, almost all real-world applications require weighted edit distance, where different weights are assigned to different…
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
TopicsAlgorithms and Data Compression · Natural Language Processing Techniques · semigroups and automata theory
