Sublinear-Time Algorithms for Computing & Embedding Gap Edit Distance
摘要
In this paper, we design new sublinear-time algorithms for solving the gap edit distance problem and for embedding edit distance to Hamming distance. For the gap edit distance problem, we give a greedy algorithm that distinguishes in time O([n/k]+k2) between length-n input strings with edit distance at most k and those with edit distance more than 4k2. This is an improvement and a simplification upon the main result of [Goldenberg, Krauthgamer, Saha, FOCS 2019], where the k vs Θ(k2) gap edit distance problem is solved in O([n/k]+k3) time. We further generalize our result to solve the k vs αk gap edit distance problem in time O([n/(α)]+k2+[k/(α)]√nk), strictly improving upon the previously known bound O([n/(α)]+k3). Finally, we show that if the input strings do not have long highly periodic substrings, then the gap edit distance problem can be solved in sublinear time within any factor . Specifically, if the strings contain no substring of length l with the shortest period of length at most 2k, then the k vs (1+ε)k gap edit distance problem can be solved in time O([n/(ε2k)]+k2l). We further give the first sublinear-time algorithm for the probabilistic embedding of edit distance to Hamming distance. Our O([n/p])-time procedure yields an embedding with distortion k2p, where k is the edit distance of the original strings. Specifically, the Hamming distance of the resultant strings is between [(k-p+1)/p] and k2with good probability. This generalizes the linear-time embedding of [Chakraborty, Goldenberg, Koucký, STOC 2016], where the resultant Hamming distance is between k and k2. Our algorithm is based on a random walk over samples, which we believe will find other applications in sublinear-time algorithms.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Gap Edit Distance via Non-Adaptive Queries: Simple and Optimal 引用了 Edit Distance in Near-Linear Time: it's a Constant Factor
- Edit Distance in Near-Linear Time: it's a Constant Factor 引用了 Gap Edit Distance via Non-Adaptive Queries: Simple and Optimal
- Gap Edit Distance via Non-Adaptive Queries: Simple and Optimal 引用了 Almost-optimal sublinear-time edit distance in the low distance regime
- Almost-optimal sublinear-time edit distance in the low distance regime 引用了 Gap Edit Distance via Non-Adaptive Queries: Simple and Optimal
- Gap Edit Distance via Non-Adaptive Queries: Simple and Optimal 引用了 Does preprocessing help in fast sequence comparisons?
- Constant-factor approximation of near-linear edit distance in near-linear time 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
- Constant factor approximations to edit distance on far input pairs in nearly linear time 引用了 Constant-factor approximation of near-linear edit distance in near-linear time
- Weighted Edit Distance Computation: Strings, Trees, and Dyck 引用了 Constant-factor approximation of near-linear edit distance in near-linear time
- Weighted Edit Distance Computation: Strings, Trees, and Dyck 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
- Weighted Edit Distance Computation: Strings, Trees, and Dyck 引用了 Edit Distance in Near-Linear Time: it's a Constant Factor
- Weighted Edit Distance Computation: Strings, Trees, and Dyck 引用了 Does preprocessing help in fast sequence comparisons?
- Edit Distance in Near-Linear Time: it's a Constant Factor 引用了 Constant-factor approximation of near-linear edit distance in near-linear time
- Edit Distance in Near-Linear Time: it's a Constant Factor 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
- Edit Distance in Near-Linear Time: it's a Constant Factor 引用了 Almost-optimal sublinear-time edit distance in the low distance regime
- Almost-optimal sublinear-time edit distance in the low distance regime 引用了 Edit Distance in Near-Linear Time: it's a Constant Factor
- Edit Distance in Near-Linear Time: it's a Constant Factor 引用了 Does preprocessing help in fast sequence comparisons?
- Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv Factorization 引用了 Weighted Edit Distance Computation: Strings, Trees, and Dyck
- Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv Factorization 引用了 Almost-optimal sublinear-time edit distance in the low distance regime
- Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv Factorization 引用了 Does preprocessing help in fast sequence comparisons?
- Almost-optimal sublinear-time edit distance in the low distance regime 引用了 Constant-factor approximation of near-linear edit distance in near-linear time
- Almost-optimal sublinear-time edit distance in the low distance regime 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
- Does preprocessing help in fast sequence comparisons? 引用了 Constant-factor approximation of near-linear edit distance in near-linear time
- Does preprocessing help in fast sequence comparisons? 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
引用它的顶会 Paper11
- Edit Distance in Near-Linear Time: it's a Constant FactorAlexandr Andoni, Negev Shekel NosatzkiFOCS 2020 · 28 次引用
- Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv FactorizationDaniel Gibney, Ce Jin, Tomasz Kociumaka, Sharma V. ThankachanSODA 2024 · 7 次引用
- Gap Edit Distance via Non-Adaptive Queries: Simple and OptimalElazar Goldenberg, Tomasz Kociumaka, Robert Krauthgamer, Barna SahaFOCS 2022 · 5 次引用
- Weighted Edit Distance Computation: Strings, Trees, and DyckDebarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz Kociumaka 等STOC 2023 · 4 次引用
- Almost-optimal sublinear-time edit distance in the low distance regimeKarl Bringmann, Alejandro Cassis, Nick Fischer, Vasileios NakosSTOC 2022 · 4 次引用
它引用的 Paper4
- Edit Distance in Near-Linear Time: it's a Constant FactorAlexandr Andoni, Negev Shekel NosatzkiFOCS 2020 · 28 次引用
- Does preprocessing help in fast sequence comparisons?Elazar Goldenberg, Aviad Rubinstein, Barna SahaSTOC 2020 · 15 次引用
- Constant factor approximations to edit distance on far input pairs in nearly linear timeMichal Koucký, Michael E. SaksSTOC 2020 · 5 次引用
- Constant-factor approximation of near-linear edit distance in near-linear timeJoshua Brakensiek, Aviad RubinsteinSTOC 2020 · 1 次引用
相关 Paper
- Faster Sublinear-Time Edit DistanceKarl Bringmann, Alejandro Cassis, Nick Fischer, Tomasz KociumakaSODA 2024 · 3 次引用
- Small-space and streaming pattern matching with editsTomasz Kociumaka, Ely Porat, Tatiana StarikovskayaFOCS 2021 · 13 次引用
- Approximating text-to-pattern Hamming distancesTimothy M. Chan, Shay Golan, Tomasz Kociumaka, Tsvi Kopelowitz 等STOC 2020 · 2 次引用
- Approximating Edit Distance in the Fully Dynamic ModelTomasz Kociumaka, Anish Mukherjee, Barna SahaFOCS 2023 · 1 次引用
- Optimal Algorithms for Bounded Weighted Edit DistanceAlejandro Cassis, Tomasz Kociumaka, Philip WellnitzFOCS 2023 · 4 次引用
