Locally Consistent Decomposition of Strings with Applications to Edit Distance Sketching
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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights cites Almost Linear Size Edit Distance Sketch
- Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights cites Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv Factorization
- Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights cites How Compression and Approximation Affect Efficiency in String Distance Measures
- Almost Linear Size Edit Distance Sketch cites Constant factor approximations to edit distance on far input pairs in nearly linear time
- Almost Linear Size Edit Distance Sketch cites Small-space and streaming pattern matching with k edits
- Almost Linear Size Edit Distance Sketch cites Edit Distance in Near-Linear Time: it's a Constant Factor
- Almost Linear Size Edit Distance Sketch cites How Compression and Approximation Affect Efficiency in String Distance Measures
- Edit Distance in Near-Linear Time: it's a Constant Factor cites Constant factor approximations to edit distance on far input pairs in nearly linear time
- Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv Factorization cites Small-space and streaming pattern matching with k edits
- Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv Factorization cites How Compression and Approximation Affect Efficiency in String Distance Measures
- How Compression and Approximation Affect Efficiency in String Distance Measures cites Constant factor approximations to edit distance on far input pairs in nearly linear time
- How Compression and Approximation Affect Efficiency in String Distance Measures cites Edit Distance in Near-Linear Time: it's a Constant Factor
Cited by top-tier papers3
- Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv FactorizationDaniel Gibney, Ce Jin, Tomasz Kociumaka, Sharma V. ThankachanSODA 2024 · 7 citations
- Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer WeightsEgor Gorbachev, Tomasz KociumakaSTOC 2025 · 1 citation
- Almost Linear Size Edit Distance SketchMichal Koucký, Michael E. SaksSTOC 2024 · 1 citation
Builds on6
- Edit Distance in Near-Linear Time: it's a Constant FactorAlexandr Andoni, Negev Shekel NosatzkiFOCS 2020 · 28 citations
- Locally Consistent Parsing for Text Indexing in Small SpaceOr Birenzwige, Shay Golan, Ely PoratSODA 2020 · 16 citations
- Small-space and streaming pattern matching with editsTomasz Kociumaka, Ely Porat, Tatiana StarikovskayaFOCS 2021 · 13 citations
- How Compression and Approximation Affect Efficiency in String Distance MeasuresArun Ganesh, Tomasz Kociumaka, Andrea Lincoln, Barna SahaSODA 2022 · 7 citations
- Constant factor approximations to edit distance on far input pairs in nearly linear timeMichal Koucký, Michael E. SaksSTOC 2020 · 5 citations
Related papers
- Does preprocessing help in fast sequence comparisons?Elazar Goldenberg, Aviad Rubinstein, Barna SahaSTOC 2020 · 15 citations
- Approximating Edit Distance in the Fully Dynamic ModelTomasz Kociumaka, Anish Mukherjee, Barna SahaFOCS 2023 · 1 citation
- Sublinear-Time Algorithms for Computing & Embedding Gap Edit DistanceTomasz Kociumaka, Barna SahaFOCS 2020 · 9 citations
- Constant-factor approximation of near-linear edit distance in near-linear timeJoshua Brakensiek, Aviad RubinsteinSTOC 2020 · 1 citation
- Weighted Edit Distance Computation: Strings, Trees, and DyckDebarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz Kociumaka et al.STOC 2023 · 4 citations
