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

关于可变字节码的最优划分

On Optimally Partitioning Variable-Byte Codes

Giulio Ermanno Pibiri, Rossano Venturini

摘要:

可变字节编码是整数序列最快的压缩表示之一。然而,它的压缩比通常无法与其他更复杂的编码器竞争,特别是当要压缩的整数很小时,这是倒排索引的典型情况。本文表明,采用倒排表的分区表示,可变字节的压缩比可以提高2倍。这使得Variable-Byte在空间上与最好的位对齐编码器具有惊人的竞争力,因此反驳了Variable-Byte对于倒排索引压缩来说空间效率低的民间传说。尽管节省了大量的空间,我们表明,我们的优化几乎是免费的,因为:我们引入了一个最佳的分区算法,不影响索引时间,因为它的线性时间复杂度;我们表明,可变字节的查询处理速度被保留,与其他几个国家的最先进的编码器进行了广泛的实验分析和比较。

英文摘要:

The ubiquitous Variable-Byte encoding is one of the fastest compressed representation for integer sequences. However, its compression ratio is usually not competitive with other more sophisticated encoders, especially when the integers to be compressed are small that is the typical case for inverted indexes. This paper shows that the compression ratio of Variable-Byte can be improved by 2x by adopting a partitioned representation of the inverted lists. This makes Variable-Byte surprisingly competitive in space with the best bit-aligned encoders, hence disproving the folklore belief that Variable-Byte is space-inefficient for inverted index compression. Despite the significant space savings, we show that our optimization almost comes for free, given that: we introduce an optimal partitioning algorithm that does not affect indexing time because of its linear-time complexity; we show that the query processing speed of Variable-Byte is preserved, with an extensive experimental analysis and comparison with several other state-of-the-art encoders.

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

↑