arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 0906.4692cs.DScs.ITmath.IT
收藏

优化文本分区以提高文本压缩率

On optimally partitioning a text to improve its compression

Paolo Ferragina, Igor Nitto, Rossano Venturini

摘要:

在本文中,我们调查的问题,分区输入字符串T的方式,单独压缩其部分通过一个基地压缩机C得到一个压缩输出,是短于应用C在整个T一次。这个问题是在表压缩的上下文中引入的,然后进一步阐述并扩展到字符串和树。不幸的是,文献提供了糟糕的解决方案:也就是说,我们知道用于基于动态规划计算最优划分的实时算法,或者不保证其计算的划分的功效的任何界限的少数算法,或者是在某些特定场景下有效的算法(诸如Burrows-Wheeler变换)并且实现可能比最优分割差$Ω(\sqrt{\log n})$因子的压缩性能。因此,有效地计算最优解仍然是开放的。在本文中,我们提供了第一个算法,这是保证计算在$O(n \log_{1+\eps}n)$时间的一个分区的T,其压缩输出是保证不超过$(1+ε)$ -更糟糕的是最佳的,其中$ε$可以是任何正常数。

英文摘要:

In this paper we investigate the problem of partitioning an input string T in such a way that compressing individually its parts via a base-compressor C gets a compressed output that is shorter than applying C over the entire T at once. This problem was introduced in the context of table compression, and then further elaborated and extended to strings and trees. Unfortunately, the literature offers poor solutions: namely, we know either a cubic-time algorithm for computing the optimal partition based on dynamic programming, or few heuristics that do not guarantee any bounds on the efficacy of their computed partition, or algorithms that are efficient but work in some specific scenarios (such as the Burrows-Wheeler Transform) and achieve compression performance that might be worse than the optimal-partitioning by a $Ω(\sqrt{\log n})$ factor. Therefore, computing efficiently the optimal solution is still open. In this paper we provide the first algorithm which is guaranteed to compute in $O(n \log_{1+\eps}n)$ time a partition of T whose compressed output is guaranteed to be no more than $(1+ε)$-worse the optimal one, where $ε$ may be any positive constant.

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

↑