Almost-linear approximation of edit distance

Given arbitrary permitted strings of total input length N, the target is a randomized (1+ε)(1+\varepsilon )-approximation to edit distance in N(1+o(1))N^{(1+o(1))} worst-case expected RAM time for each fixed rational ε∈(0,1)\varepsilon \in (0,1), with success probability at least 2/3.

Why it matters and what counts as progress

Why it matters: It asks how close approximation can bring general string comparison to input-linear time without restricting the strings.

What counts as progress: A (1+ε)(1+\varepsilon )-approximate edit distance in almost-linear expected time for every fixed ε\varepsilon , with the allowed strings and error probability specified.

How the problem developed

  1. 1974 · Human result [1]

    Robert A. Wagner and Michael J. Fischer Published a quadratic-time dynamic program for string-to-string correction by insertions, deletions and substitutions.

  2. 2020 · Human result [3]

    Alexandr Andoni and Negev Shekel Nosatzki Obtained constant-factor approximation for arbitrary input strings in n(1+ε)n^{(1+\varepsilon )} time for every fixed ε>0\varepsilon >0. The approximation constant depends on ε\varepsilon ; this is not a (1+ε)(1+\varepsilon )-approximation scheme.

  3. 31 Mar 2026 · Human result [4]

    Xiao Mao and Aviad Rubinstein Reported randomized (1+ε)(1+\varepsilon )-approximation for edit distance, for each constant ε>0\varepsilon >0, in n2/2(log⁡Ω(1)n)n^{2}/2^{(\log ^{\Omega }(1)n)} time.

  4. 24 Sept 2026 · AI contribution [2]

    OpenAI A manuscript dated 24 September reports a uniform randomized (1+ε)(1+\varepsilon )-approximation in N(1+o(1))N^{(1+o(1))} worst-case expected time for fixed rational ε\varepsilon , with success probability at least 2/3, on the stated logarithmic-word RAM and polynomially bounded integer alphabet.

Follow new AI contributions to this problem.

Get email updates

Download problem history

AI contribution

Sources

  1. Wagner and Fischer: The String-to-String Correction Problem
  2. Pinned original manuscript
  3. Andoni and Nosatzki: Edit Distance in Near-Linear Time: it’s a Constant Factor
  4. Mao and Rubinstein: Approximation Schemes for Edit Distance and LCS in Quasi-Strongly Subquadratic Time
  5. Release provenance and limitations
  6. Statement review of the edit-distance work bound
  7. Pinned arithmetic charge in the edit-distance target
  8. Pinned expected-work statement for edit approximation
Publication history