Lune

SODA2022顶会

How Compression and Approximation Affect Efficiency in String Distance Measures

Arun Ganesh, Tomasz Kociumaka, Andrea Lincoln, Barna Saha

摘要

Real-world data often comes in compressed form. Analyzing compressed data directly (without first decompressing it) can save space and time by orders of magnitude. In this work, we focus on fundamental sequence comparison problems and try to quantify the gain in time complexity when the underlying data is highly compressible. We consider grammar compression, which unifies many practically relevant compression schemes such as the Lempel-Ziv family, dictionary methods, and others. For two strings of total length N and total compressed size n, it is known that the edit distance and a longest common subsequence (LCS) can be computed exactly in time O (nN ), as opposed to O(N 2 ) for the uncompressed setting. Many real-world applications need to align multiple sequences simultaneously, and the fastest known exact algorithms for median edit distance and LCS of k strings run in O(N k ) time, whereas the one for center edit distance has a time complexity of O(N 2k ). This naturally raises the question if compression can help to reduce the running time significantly for k ≥ 3, perhaps to O(N k/2 n k/2 ) or, more optimistically, to O(N n k-1 ). 1 Unfortunately, we show new lower bounds that rule out any improvement beyond Ω(N k-1 n) time for any of these problems assuming the Strong Exponential Time Hypothesis (SETH), where again N and n represent the total length and the total compressed size, respectively. This answers an open question of Abboud, Backurs, Bringmann, and Künnemann (FOCS'17).

In presence of such negative results, we ask if allowing approximation can help, and we show that approximation and compression together can be surprisingly effective for both multiple and two strings.

We develop an O (N k/2 n k/2 )-time FPTAS for the median edit distance of k sequences, leading to a saving of nearly half the dimensions for highly-compressible sequences. In comparison, no O(N k-Ω(1) )-time PTAS is known for the median edit distance problem in the uncompressed setting. We obtain an improvement from O (N 2k ) to O (N k/2+o(k) n k/2 ) for the center edit distance problem. For two strings, we get an O (N 2/3 n 4/3 )-time FPTAS for both edit distance and LCS; note that this running time is o(N ) whenever n N 1/4 . In contrast, for uncompressed strings, there is not even a subquadratic algorithm for LCS that has less than polynomial gap in the approximation factor. Building on the insight from our approximation algorithms, we also obtain several new and improved results for many fundamental distance measures including the edit, Hamming, and shift distances.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Locally Consistent Decomposition of Strings with Applications to Edit Distance Sketching 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
  • Locally Consistent Decomposition of Strings with Applications to Edit Distance Sketching 引用了 Edit Distance in Near-Linear Time: it's a Constant Factor
  • Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed Space 引用了 Resolution of the Burrows-Wheeler Transform Conjecture
  • Edit Distance in Near-Linear Time: it's a Constant Factor 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
  • Edit Distance in Near-Linear Time: it's a Constant Factor 引用了 Reducing approximate Longest Common Subsequence to approximate Edit Distance
  • Edit Distance in Near-Linear Time: it's a Constant Factor 引用了 Estimating the Longest Increasing Subsequence in Nearly Optimal Time
  • Edit Distance in Near-Linear Time: it's a Constant Factor 引用了 Does preprocessing help in fast sequence comparisons?
  • Reducing approximate Longest Common Subsequence to approximate Edit Distance 引用了 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 引用了 Locally Consistent Decomposition of Strings with Applications to Edit Distance Sketching
  • Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv Factorization 引用了 Resolution of the Burrows-Wheeler Transform Conjecture
  • Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv Factorization 引用了 Does preprocessing help in fast sequence comparisons?
  • Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv Factorization 引用了 Optimal Algorithms for Bounded Weighted Edit Distance
  • Does preprocessing help in fast sequence comparisons? 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
  • Does preprocessing help in fast sequence comparisons? 引用了 Reducing approximate Longest Common Subsequence to approximate Edit Distance
  • Optimal Algorithms for Bounded Weighted Edit Distance 引用了 Constant factor approximations to edit distance on far input pairs in nearly linear time
  • Optimal Algorithms for Bounded Weighted Edit Distance 引用了 Does preprocessing help in fast sequence comparisons?
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed SpaceDominik Kempa, Tomasz KociumakaFOCS 2023 · 20 次引用
  2. Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv FactorizationDaniel Gibney, Ce Jin, Tomasz Kociumaka, Sharma V. ThankachanSODA 2024 · 7 次引用
  3. Estimating the Longest Increasing Subsequence in Nearly Optimal TimeAlexandr Andoni, Negev Shekel Nosatzki, Sandip Sinha, Clifford SteinFOCS 2022 · 4 次引用
  4. Optimal Algorithms for Bounded Weighted Edit DistanceAlejandro Cassis, Tomasz Kociumaka, Philip WellnitzFOCS 2023 · 4 次引用
  5. Locally Consistent Decomposition of Strings with Applications to Edit Distance SketchingSudatta Bhattacharya, Michal KouckýSTOC 2023 · 3 次引用

它引用的 Paper7

  1. Resolution of the Burrows-Wheeler Transform ConjectureDominik Kempa, Tomasz KociumakaFOCS 2020 · 32 次引用
  2. Edit Distance in Near-Linear Time: it's a Constant FactorAlexandr Andoni, Negev Shekel NosatzkiFOCS 2020 · 28 次引用
  3. Reducing approximate Longest Common Subsequence to approximate Edit DistanceAviad Rubinstein, Zhao SongSODA 2020 · 24 次引用
  4. Does preprocessing help in fast sequence comparisons?Elazar Goldenberg, Aviad Rubinstein, Barna SahaSTOC 2020 · 15 次引用
  5. Constant factor approximations to edit distance on far input pairs in nearly linear timeMichal Koucký, Michael E. SaksSTOC 2020 · 5 次引用

相关 Paper

  1. Grammar Boosting: A New Technique for Proving Lower Bounds for Computation over Compressed DataRajat De, Dominik KempaSODA 2024 · 2 次引用
  2. Weighted Edit Distance Computation: Strings, Trees, and DyckDebarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz Kociumaka 等STOC 2023 · 4 次引用
  3. Faster Sublinear-Time Edit DistanceKarl Bringmann, Alejandro Cassis, Nick Fischer, Tomasz KociumakaSODA 2024 · 3 次引用
  4. Approximation Schemes for Edit Distance and LCS in Quasi-Strongly Subquadratic TimeXiao Mao, Aviad RubinsteinSTOC 2026 · 4 次引用
  5. Faster Approximate Pattern Matching: A Unified ApproachPanagiotis Charalampopoulos, Tomasz Kociumaka, Philip WellnitzFOCS 2020 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖