Lune

STOC2022顶会

Almost-optimal sublinear-time edit distance in the low distance regime

Karl Bringmann, Alejandro Cassis, Nick Fischer, Vasileios Nakos

摘要

We revisit the task of computing the edit distance in sublinear time. In the (k, K)-gap edit distance problem we are given oracle access to two strings of length n and the task is to distinguish whether their edit distance is at most k or at least K. It has been established by Goldenberg, Krauthgamer and Saha (FOCS '19), with improvements by Kociumaka and Saha (FOCS '20), that the (k, k 2 )-gap problem can be solved in time O(n/k + poly(k)). One of the most natural questions in this line of research is whether the (k, k 2 )-gap is best-possible for the running time O(n/k + poly(k)).

In this work we answer this question by significantly improving the gap. Specifically, we show that in time O(n/k + poly(k)) we can even solve the (k, k 1+o(1) )-gap problem. This is the first algorithm that breaks the (k, k 2 )-gap in this running time. Our algorithm is almost optimal in the following sense: In the low distance regime (k ≤ n 0.19 ) our running time becomes O(n/k), which matches a known n/k 1+o(1) lower bound for the (k, k 1+o(1) )-gap problem up to lower order factors.

Our result also reveals a surprising similarity of Hamming distance and edit distance in the low distance regime: For both, the (k, k 1+o( 1) )-gap problem has time complexity n/k 1±o(1) for small k.

In contrast to previous work, which employed a subsampled variant of the Landau-Vishkin algorithm, we instead build upon the algorithm of Andoni, Krauthgamer and Onak (FOCS '10) which approximates the edit distance in almost-linear time O(n 1+ε ) within a polylogarithmic factor. We first simplify their approach and then show how to to effectively prune their computation tree in order to obtain a sublinear-time algorithm in the given time bound. Towards that, we use a variety of structural insights on the (local and global) patterns that can emerge during this process and design appropriate property testers to effectively detect these patterns.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 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 引用了 Sublinear-Time Algorithms for Computing & Embedding Gap Edit Distance
  • 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
  • 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 引用了 Sublinear-Time Algorithms for Computing & Embedding Gap Edit Distance
  • Sublinear-Time Algorithms for Computing & Embedding Gap Edit Distance 引用了 Edit Distance in Near-Linear Time: it's a Constant Factor
  • Sublinear-Time Algorithms for Computing & Embedding Gap Edit Distance 引用了 Constant-factor approximation of near-linear edit distance in near-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
  • Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv Factorization 引用了 Sublinear-Time Algorithms for Computing & Embedding Gap Edit Distance
  • Faster Sublinear-Time Edit Distance 引用了 Gap Edit Distance via Non-Adaptive Queries: Simple and Optimal
  • Faster Sublinear-Time Edit Distance 引用了 Constant-factor approximation of near-linear edit distance in near-linear time
  • Faster Sublinear-Time Edit Distance 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
  • Faster Sublinear-Time Edit Distance 引用了 Edit Distance in Near-Linear Time: it's a Constant Factor
  • Faster Sublinear-Time Edit Distance 引用了 Sublinear-Time Algorithms for Computing & Embedding Gap Edit Distance
  • Approximation Schemes for Edit Distance and LCS in Quasi-Strongly Subquadratic Time 引用了 Gap Edit Distance via Non-Adaptive Queries: Simple and Optimal
  • Approximation Schemes for Edit Distance and LCS in Quasi-Strongly Subquadratic Time 引用了 Constant-factor approximation of near-linear edit distance in near-linear time
  • Approximation Schemes for Edit Distance and LCS in Quasi-Strongly Subquadratic Time 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
  • Approximation Schemes for Edit Distance and LCS in Quasi-Strongly Subquadratic Time 引用了 Edit Distance in Near-Linear Time: it's a Constant Factor
  • Approximation Schemes for Edit Distance and LCS in Quasi-Strongly Subquadratic Time 引用了 Sublinear-Time Algorithms for Computing & Embedding Gap Edit Distance
  • Approximation Schemes for Edit Distance and LCS in Quasi-Strongly Subquadratic Time 引用了 Faster Sublinear-Time Edit Distance
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Edit Distance in Near-Linear Time: it's a Constant FactorAlexandr Andoni, Negev Shekel NosatzkiFOCS 2020 · 28 次引用
  2. Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv FactorizationDaniel Gibney, Ce Jin, Tomasz Kociumaka, Sharma V. ThankachanSODA 2024 · 7 次引用
  3. Gap Edit Distance via Non-Adaptive Queries: Simple and OptimalElazar Goldenberg, Tomasz Kociumaka, Robert Krauthgamer, Barna SahaFOCS 2022 · 5 次引用
  4. Approximation Schemes for Edit Distance and LCS in Quasi-Strongly Subquadratic TimeXiao Mao, Aviad RubinsteinSTOC 2026 · 4 次引用
  5. Faster Sublinear-Time Edit DistanceKarl Bringmann, Alejandro Cassis, Nick Fischer, Tomasz KociumakaSODA 2024 · 3 次引用

它引用的 Paper5

  1. Edit Distance in Near-Linear Time: it's a Constant FactorAlexandr Andoni, Negev Shekel NosatzkiFOCS 2020 · 28 次引用
  2. Sublinear-Time Algorithms for Computing & Embedding Gap Edit DistanceTomasz Kociumaka, Barna SahaFOCS 2020 · 9 次引用
  3. Gap Edit Distance via Non-Adaptive Queries: Simple and OptimalElazar Goldenberg, Tomasz Kociumaka, Robert Krauthgamer, Barna SahaFOCS 2022 · 5 次引用
  4. Constant factor approximations to edit distance on far input pairs in nearly linear timeMichal Koucký, Michael E. SaksSTOC 2020 · 5 次引用
  5. Constant-factor approximation of near-linear edit distance in near-linear timeJoshua Brakensiek, Aviad RubinsteinSTOC 2020 · 1 次引用

相关 Paper

  1. Optimal Algorithms for Bounded Weighted Edit DistanceAlejandro Cassis, Tomasz Kociumaka, Philip WellnitzFOCS 2023 · 4 次引用
  2. Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer WeightsEgor Gorbachev, Tomasz KociumakaSTOC 2025 · 1 次引用
  3. Reducing approximate Longest Common Subsequence to approximate Edit DistanceAviad Rubinstein, Zhao SongSODA 2020 · 24 次引用
  4. Does preprocessing help in fast sequence comparisons?Elazar Goldenberg, Aviad Rubinstein, Barna SahaSTOC 2020 · 15 次引用
  5. Approximating text-to-pattern Hamming distancesTimothy M. Chan, Shay Golan, Tomasz Kociumaka, Tsvi Kopelowitz 等STOC 2020 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖