arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2307.08833cs.DS
收藏

Grammar Boosting:一种证明压缩数据计算下界的新技术

Grammar Boosting: A New Technique for Proving Lower Bounds for Computation over Compressed Data

Rajat De, Dominik Kempa

AI总结:

本文提出了一种不依赖近似比且完全通用的Grammar Boosting技术,用于证明文法压缩数据上算法与数据结构的下界,并成功推导出多种主流压缩算法的随机访问时间下界及压缩计算的条件下界。

摘要:

文法压缩是一种通用压缩框架,其中长度为 $N$ 的字符串 $T$ 被表示为大小为 $n$ 的上下文无关文法,且该文法的语言仅包含 $T$。在本文中,我们重点研究在文法压缩形式下对字符串进行操作的算法和数据结构的局限性。先前的工作侧重于为使用实现近似比 $ρ=\mathcal{O}(\text{polylog }N)$ 的算法构造的文法证明下界。遗憾的是,对于大多数文法压缩器,$ρ$ 要么未知,要么满足 $ρ=\omega(\text{polylog }N)$。在他们开创性的论文中,Charikar 等人 [IEEE Trans. Inf. Theory 2005] 研究了七种流行的文法压缩算法:RePair、Greedy、LongestMatch、Sequential、Bisection、LZ78 和 $\alpha$-Balanced。已知只有其中一种($\alpha$-Balanced)能达到 $ρ=\mathcal{O}(\text{polylog }N)$。我们开发了第一种用于证明文法上数据结构和算法下界的技术,该技术完全通用,且不依赖于所用文法压缩器的近似比 $ρ$。使用该技术,我们首先证明在 RePair、Greedy、LongestMatch、Sequential 和 Bisection 上进行随机访问需要 $\Omega(\log N/\log \log N)$ 的时间,而对 LZ78 进行随机访问需要 $\Omega(\log\log N)$ 的时间。所有这些下界在 $\mathcal{O}(n\text{ polylog }N)$ 空间内均成立,并与现有的上界相匹配。我们还将该技术进行推广,以证明压缩计算的若干条件下界。例如,我们证明除非 Combinatorial $k$-Clique Conjecture 失败,否则在 Bisection(其满足 $ρ=\tildeΘ(N^{1/2})$)上进行 CFG parsing 不存在对于所有常数 $c>0$ 和 $\epsilon>0$ 运行时间为 $\mathcal{O}(n^c\cdot N^{3-\epsilon})$ 的组合算法。此前,这仅在 $c<2\epsilon$ 时已知。

英文摘要:

Grammar compression is a general compression framework in which a string $T$ of length $N$ is represented as a context-free grammar of size $n$ whose language contains only $T$. In this paper, we focus on studying the limitations of algorithms and data structures operating on strings in grammar-compressed form. Previous work focused on proving lower bounds for grammars constructed using algorithms that achieve the approximation ratio $ρ=\mathcal{O}(\text{polylog }N)$. Unfortunately, for the majority of grammar compressors, $ρ$ is either unknown or satisfies $ρ=ω(\text{polylog }N)$. In their seminal paper, Charikar et al. [IEEE Trans. Inf. Theory 2005] studied seven popular grammar compression algorithms: RePair, Greedy, LongestMatch, Sequential, Bisection, LZ78, and $α$-Balanced. Only one of them ($α$-Balanced) is known to achieve $ρ=\mathcal{O}(\text{polylog }N)$. We develop the first technique for proving lower bounds for data structures and algorithms on grammars that is fully general and does not depend on the approximation ratio $ρ$ of the used grammar compressor. Using this technique, we first prove that $Ω(\log N/\log \log N)$ time is required for random access on RePair, Greedy, LongestMatch, Sequential, and Bisection, while $Ω(\log\log N)$ time is required for random access to LZ78. All these lower bounds hold within space $\mathcal{O}(n\text{ polylog }N)$ and match the existing upper bounds. We also generalize this technique to prove several conditional lower bounds for compressed computation. For example, we prove that unless the Combinatorial $k$-Clique Conjecture fails, there is no combinatorial algorithm for CFG parsing on Bisection (for which it holds $ρ=\tildeΘ(N^{1/2})$) that runs in $\mathcal{O}(n^c\cdot N^{3-ε})$ time for all constants $c>0$ and $ε>0$. Previously, this was known only for $c<2ε$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑