Lune

STOC2023Top-tier venue

Locally Consistent Decomposition of Strings with Applications to Edit Distance Sketching

Sudatta Bhattacharya, Michal Koucký

2023Year
3Citations
3Top-tier citations

Abstract

In this paper we provide a new locally consistent decomposition of strings. Each string x is decomposed into blocks that can be described by grammars of size O(k) (using some amount of randomness). If we take two strings x and y of edit distance at most k then their block decomposition uses the same number of grammars and the i-th grammar of x is the same as the i-th grammar of y except for at most k indexes i. The edit distance of x and y equals to the sum of edit distances of pairs of blocks where x and y differ. Our decomposition can be used to design a sketch of size O(k 2 ) for edit distance, and also a rolling sketch for edit distance of size O(k 2 ). The rolling sketch allows to update the sketched string by appending a symbol or removing a symbol from the beginning of the string.

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 0ba299b6-e453-462d-94d2-08f3fb7a78b4

Cited by top-tier papers3

Ask how each one uses it

Builds on6

Related papers

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