Lune

STOC2020Top-tier venue

Does preprocessing help in fast sequence comparisons?

Elazar Goldenberg, Aviad Rubinstein, Barna Saha

2020Year
15Citations
14Top-tier citations

Abstract

We study edit distance computation with preprocessing: the preprocessing algorithm acts on each string separately, and then the query algorithm takes as input the two preprocessed strings. This model is inspired by scenarios where we would like to compute edit distance between many pairs in the same pool of strings. Our results include: Permutation-LCS If the LCS between two permutations has length nk, we can compute it exactly with O(n log(n)) preprocessing and O(k log(n)) query time. Small edit distance For general strings, if their edit distance is at most k, we can compute it exactly with O(n log(n)) preprocessing and O(k 2 log(n)) query time. Approximate edit distance For the most general input, we can approximate the edit distance to within factor (7+o(1)) with preprocessing time Õ(n 2 ) and query time Õ(n 1.5+o(1) ). All of these results significantly improve over the state of the art in edit distance computation without preprocessing. Interestingly, by combining ideas from our algorithms with preprocessing, we provide new improved results for approximating edit distance without preprocessing in subquadratic time.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext afea6db2-b3c8-4ece-b269-e2c5f9b0171a

Cited by top-tier papers14

Ask how each one uses it

Builds on3

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines