Lune

FOCS2023顶会

Approximating Edit Distance in the Fully Dynamic Model

Tomasz Kociumaka, Anish Mukherjee, Barna Saha

2023年份
1被引次数
4顶会引用

摘要

The edit distance is a fundamental measure of sequence similarity, defined as the minimum number of character insertions, deletions, and substitutions needed to transform one string into the other. Given two strings of length at most n, a simple dynamic programming computes their edit distance exactly in O(n2)\mathcal{O}\left(n^{2}\right) time, which is also the best possible (up to subpolynomial factors) assuming the Strong Exponential Time Hypothesis (SETH). The last few decades have seen tremendous progress in edit distance approximation, where the runtime has been brought down to subquadratic, to near-linear, and even to sublinear at the cost of approximation. In this paper, we study the dynamic edit distance problem where the strings change dynamically as the characters are substituted, inserted, or deleted over time. Each change may happen at any location of either of the two strings. The goal is to maintain the (exact or approximate) edit distance of such dynamic strings while minimizing the update time. The exact edit distance can be maintained in O(nlog⁡2n)\mathcal{O}\left(n \log ^{2} n\right) time per update (Charalampopoulos, Kociumaka, Mozes; 2020), which is again tight assuming SETH. Unfortunately, even with the unprecedented progress in edit distance approximation in the static setting, strikingly little is known regarding dynamic edit distance approximation. Utilizing the best near-linear-time (Andoni, Nosatzki; 2020) and sublinear-time (Goldenberg, Kociumaka, Krauthgamer, Saha; 2022) approximation algorithm, an old exact algorithm (Landau and Vishkin; 1988), and a generic dynamic strings implementation (Mehlhorn, Sundar, Uhrig; 1996), it is possible to achieve an O(nc)\mathcal{O}\left(n^{c}\right)-approximation in n0.5−c+o(1)n^{0.5-c+o(1)} update time for any constant c∈[0,16]c \in\left[0, \frac{1}{6}\right]. Improving upon this trade-off, characterized by the approximation-ratio and update-time product n0.5+o(1)n^{0.5+o(1)}, remains wide open. The contribution of this work is a dynamic no(1)n^{o(1)}-approximation algorithm with amortized expected update time of no(1)n^{o(1)}. In other words, we bring the approximation-ratio and update-time product down to no(1)n^{o(1)}, which is also the best possible with the current state of the art in static algorithms. Our solution utilizes an elegant framework of precision sampling trees for edit distance approximation (Andoni, Krauthgamer, Onak; 2010). We show how to dynamically maintain precision sampling trees, which comes with significant nontriviality and can be an independent tool of interest for further development in dynamic string algorithms.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

lune papers fulltext 1be71167-44a0-49e8-af1f-5a7ce8ed3121

引用它的顶会 Paper4

问问它们各自怎么用它

它引用的顶会 Paper22

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖