Edit Distance in Near-Linear Time: it's a Constant Factor
Alexandr Andoni, Negev Shekel Nosatzki
摘要
Abstract. We present an algorithm for approximating the edit distance between two strings of length [Formula: see text] in time [Formula: see text] up to a constant factor for any [Formula: see text]. Our result completes a research direction set forth in the recent breakthrough paper [ CDG[Formula: see text]18 ], which showed the first constant-factor approximation algorithm with a (strongly) subquadratic running time. Recent results [ KS20b , BR20 ] have shown near-linear time algorithms that obtain an additive approximation, near-linear in [Formula: see text] (equivalently, constant-factor approximation when the edit distance value is close to [Formula: see text]). In contrast, our algorithm obtains a constant-factor approximation in near-linear time for any input string. In contrast to prior algorithms, which are mostly recursing over smaller substrings, our algorithm gradually smoothes out the local contribution to the edit distance over progressively larger substrings. To accomplish this, we iteratively construct a distance oracle data structure for the metric of edit distance on all substrings of input strings of length [Formula: see text] for [Formula: see text]. The distance oracle approximates the edit distance over these substrings in a certain average sense, just enough to estimate the overall edit distance.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Gap Edit Distance via Non-Adaptive Queries: Simple and Optimal 引用了 Sublinear-Time Algorithms for Computing & Embedding Gap Edit Distance
- Gap Edit Distance via Non-Adaptive Queries: Simple and Optimal 引用了 Does preprocessing help in fast sequence comparisons?
- Breaking the Cubic Barrier for (Unweighted) Tree Edit Distance 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
- Reducing approximate Longest Common Subsequence to approximate Edit Distance 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
- Sublinear-Time Algorithms for Computing & Embedding Gap Edit Distance 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
- Sublinear-Time Algorithms for Computing & Embedding Gap Edit Distance 引用了 Does preprocessing help in fast sequence comparisons?
- Does preprocessing help in fast sequence comparisons? 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
- Does preprocessing help in fast sequence comparisons? 引用了 Reducing approximate Longest Common Subsequence to approximate Edit Distance
- How Compression and Approximation Affect Efficiency in String Distance Measures 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
- How Compression and Approximation Affect Efficiency in String Distance Measures 引用了 Reducing approximate Longest Common Subsequence to approximate Edit Distance
- How Compression and Approximation Affect Efficiency in String Distance Measures 引用了 Does preprocessing help in fast sequence comparisons?
引用它的顶会 Paper17
- Edit Distance Robust Watermarks via Indexing Pseudorandom CodesNoah Golowich, Ankur MoitraNeurIPS 2024 · 24 次引用
- Sublinear-Time Algorithms for Computing & Embedding Gap Edit DistanceTomasz Kociumaka, Barna SahaFOCS 2020 · 9 次引用
- Breaking the Cubic Barrier for (Unweighted) Tree Edit DistanceXiao MaoFOCS 2021 · 7 次引用
- How Compression and Approximation Affect Efficiency in String Distance MeasuresArun Ganesh, Tomasz Kociumaka, Andrea Lincoln, Barna SahaSODA 2022 · 7 次引用
- Gap Edit Distance via Non-Adaptive Queries: Simple and OptimalElazar Goldenberg, Tomasz Kociumaka, Robert Krauthgamer, Barna SahaFOCS 2022 · 5 次引用
它引用的 Paper8
- Reducing approximate Longest Common Subsequence to approximate Edit DistanceAviad Rubinstein, Zhao SongSODA 2020 · 24 次引用
- Does preprocessing help in fast sequence comparisons?Elazar Goldenberg, Aviad Rubinstein, Barna SahaSTOC 2020 · 15 次引用
- Sublinear-Time Algorithms for Computing & Embedding Gap Edit DistanceTomasz Kociumaka, Barna SahaFOCS 2020 · 9 次引用
- Gap Edit Distance via Non-Adaptive Queries: Simple and OptimalElazar Goldenberg, Tomasz Kociumaka, Robert Krauthgamer, Barna SahaFOCS 2022 · 5 次引用
- Constant factor approximations to edit distance on far input pairs in nearly linear timeMichal Koucký, Michael E. SaksSTOC 2020 · 5 次引用
相关 Paper
- Faster Sublinear-Time Edit DistanceKarl Bringmann, Alejandro Cassis, Nick Fischer, Tomasz KociumakaSODA 2024 · 3 次引用
- Almost-optimal sublinear-time edit distance in the low distance regimeKarl Bringmann, Alejandro Cassis, Nick Fischer, Vasileios NakosSTOC 2022 · 4 次引用
- Approximating Edit Distance in the Fully Dynamic ModelTomasz Kociumaka, Anish Mukherjee, Barna SahaFOCS 2023 · 1 次引用
- Approximation Schemes for Edit Distance and LCS in Quasi-Strongly Subquadratic TimeXiao Mao, Aviad RubinsteinSTOC 2026 · 4 次引用
- Nearly 2-Approximate Distance Oracles in Subquadratic TimeShiri Chechik, Tianyi ZhangSODA 2022 · 5 次引用
