An Almost-Linear Approximation Scheme for Edit Distance
We give a uniform randomized approximation scheme for unit-cost edit distance. For every fixed rational , it estimates the distance between arbitrary explicitly stored strings of total length N within a factor with probability at least 2/3, in worst-case expected time on a logarithmic-word RAM. The algorithm supports polynomially bounded integer alphabets and returns zero deterministically on equal strings.
Cite (BibTeX)
@misc{OAI:An-Almost-Linear-Approximation-Scheme-for-Edit-Distance-September-24-2026,
author = {{OpenAI}},
title = {{An Almost-Linear Approximation Scheme for Edit Distance}},
howpublished = {OpenAI Math Release preprint
\href{https://github.com/openai/math/blob/main/preprints/An-Almost-Linear-Approximation-Scheme-for-Edit-Distance-September-24-2026/paper.pdf}{OAI:An-Almost-Linear-Approximation-Scheme-for-Edit-Distance-September-24-2026}},
year = {2026}
}