Metric Weighted Edit Distance: -Approximation in Time
Abstract
For every , we give a randomized -approximation to weighted edit distance when the costs form a metric on the alphabet augmented with a gap symbol. For strings of total length , the running time is , where suppresses factors polynomial in . The dependence on matches that of the fastest known -approximation for unit-cost edit distance. The algorithm never underestimates the edit distance and achieves the approximation guarantee with inverse-polynomial failure probability in . The running time bound assumes constant-time exact arithmetic operations and metric queries, and it is independent of the numerical range of the edit costs. We build on three tools: the sampling framework of Chakraborty, Das, Goldenberg, Koucký, and Saks (J. ACM, 2020), with subsequent refinements by Andoni (2020); Kuszmaul's removal of inexpensive characters (ICALP 2019); and Klein's data structure for distances in planar graphs (SODA 2005). Our new ingredients include, among others, a decomposition of one string into pieces of bounded length with highly structured total deletion costs. This decomposition lets us compare all pieces against a small family of substrings of the other string.
Create a lesson
Related papers
A Strongly Subquadratic (3+\varepsilon)-Approximation for Weighted Edit Distance over Arbitrary Metrics
Shared title terminologycs.DSEthan Mader, Borna Tavasoli, Jihan Wang
A Deterministic (2+\varepsilon)-Approximation for Weighted Feedback Vertex Set in Tournaments
Shared title terminologycs.DSHanqing Li, Zihan Wu
Weighted Steiner Tree in Subexponential Time
Shared title terminologycs.DSMohammadTaghi Hajiaghayi, Danny Mittal
Approximately Counting Knapsack Solutions in Almost Linear Time
Shared title terminologycs.DSLin Chen, Biyou Ma, Yuchen Mao et al.
Cut-Paste Metrics: A More Natural Approach to Approximate String Matching
Shared title terminologycs.DSPaul Burchard
No polynomial-time \frac78-approximation algorithm for MAX SAT, assuming UGC and \mathsf{P} ≠ \mathsf{NP}
Shared title terminologycs.DSJoshua Brakensiek, Neng Huang, Aaron Potechin et al.