Papers
Topics
Authors
Recent
Search
2000 character limit reached

Faster Sublinear-Time Edit Distance

Published 4 Dec 2023 in cs.DS | (2312.01759v1)

Abstract: We study the fundamental problem of approximating the edit distance of two strings. After an extensive line of research led to the development of a constant-factor approximation algorithm in almost-linear time, recent years have witnessed a notable shift in focus towards sublinear-time algorithms. Here, the task is typically formalized as the (k,K)(k, K)-gap edit distance problem: Distinguish whether the edit distance of two strings is at most kk or more than KK. Surprisingly, it is still possible to compute meaningful approximations in this challenging regime. Nevertheless, in almost all previous work, truly sublinear running time of O(n<sup>1−ε)O(n<sup>{1-\varepsilon}) (for a constant $\varepsilon &gt; 0$) comes at the price of at least polynomial gap K≥k⋅n<sup>Ω(ε)K \ge k \cdot n<sup>{\Omega(\varepsilon)}. Only recently, [Bringmann, Cassis, Fischer, and Nakos; STOC'22] broke through this barrier and solved the sub-polynomial (k,k<sup>1+o(1))(k, k<sup>{1+o(1)})-gap edit distance problem in time O(n/k+k<sup>4+o(1))O(n/k + k<sup>{4+o(1)}), which is truly sublinear if n<sup>Ω(1)</sup>≤k≤n<sup>14−Ω(1)n<sup>{\Omega(1)}</sup> \le k \le n<sup>{\frac14-\Omega(1)}.The n/kn/k term is inevitable (already for Hamming distance), but it remains an important task to optimize the poly(k)\mathrm{poly}(k) term and, in general, solve the (k,k<sup>1+o(1))(k, k<sup>{1+o(1)})-gap edit distance problem in sublinear-time for larger values of kk. In this work, we design an improved algorithm for the (k,k<sup>1+o(1))(k, k<sup>{1+o(1)})-gap edit distance problem in sublinear time O(n/k+k<sup>2+o(1))O(n/k + k<sup>{2+o(1)}), yielding a significant quadratic speed-up over the previous O(n/k+k<sup>4+o(1))O(n/k + k<sup>{4+o(1)})-time algorithm. Notably, our algorithm is unconditionally almost-optimal (up to subpolynomial factors) in the regime where k≤n<sup>13k \leq n<sup>{\frac13} and improves upon the state of the art for k≤n<sup>12−o(1)k \leq n<sup>{\frac12-o(1)}.

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.