arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.18063cs.DS
收藏

一种新型可直接访问压缩方案的诸多优良特性

The Many Qualities of a New Directly Accessible Compression Scheme

Domenico Cantone, Simone Faro

AI总结:

提出变长计算友好型编码方案SFDC,支持压缩序列直接快速访问且压缩比高,在字符串匹配任务中比标准技术快达29倍。

摘要:

我们提出了一种新的变长计算友好型编码方案,名为 SFDC(Succinct Format with Direct aCcesibility),它支持对压缩序列中任意元素的直接快速访问,并且其压缩比通常高于文献中其他解决方案所提供的压缩比。SFDC 方案提供了一种灵活且简单的表示方式,可根据需要侧重于实际效率或压缩比。对于字母表大小为 $σ$、长度为 $n$ 的文本以及固定参数 $λ$,所提编码的访问时间与字符码字的长度成正比,加上一个期望为 $\mathcal{O}((F_{σ- λ+ 3} - 3)/F_{σ+1})$ 的开销,其中 $F_j$ 是斐波那契数列的第 $j$ 项。总体上,它使用 $N+\mathcal{O}\big(n \left(λ- (F_{σ+3}-3)/F_{σ+1}\big) \right) = N + \mathcal{O}(n)$ 位,其中 $N$ 是编码字符串的长度。实验结果表明,我们方案的性能在某些方面与 DACs 和 Wavelet Trees 的性能相当,这两者是目前最高效的方案之一。此外,我们的方案被配置为一种计算友好型压缩方案,因为它具备若干使其在文本处理任务中非常有效的特性。在作为案例研究的字符串匹配问题中,我们通过实验证明,新方案实现的结果比在纯文本上的标准字符串匹配技术快达 29 倍。

英文摘要:

We present a new variable-length computation-friendly encoding scheme, named SFDC (Succinct Format with Direct aCcesibility), that supports direct and fast accessibility to any element of the compressed sequence and achieves compression ratios often higher than those offered by other solutions in the literature. The SFDC scheme provides a flexible and simple representation geared towards either practical efficiency or compression ratios, as required. For a text of length $n$ over an alphabet of size $σ$ and a fixed parameter $λ$, the access time of the proposed encoding is proportional to the length of the character's code-word, plus an expected $\mathcal{O}((F_{σ- λ+ 3} - 3)/F_{σ+1})$ overhead, where $F_j$ is the $j$-th number of the Fibonacci sequence. In the overall it uses $N+\mathcal{O}\big(n \left(λ- (F_{σ+3}-3)/F_{σ+1}\big) \right) = N + \mathcal{O}(n)$ bits, where $N$ is the length of the encoded string. Experimental results show that the performance of our scheme is, in some respects, comparable with the performance of DACs and Wavelet Tees, which are among of the most efficient schemes. In addition our scheme is configured as a \emph{computation-friendly compression} scheme, as it counts several features that make it very effective in text processing tasks. In the string matching problem, that we take as a case study, we experimentally prove that the new scheme enables results that are up to 29 times faster than standard string-matching techniques on plain texts.

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

↑