Index Compression Using Byte-Aligned ANS Coding and Two-Dimensional Contexts
Alistair Moffat, Matthias Petri · ACM International Conference on Web Search and Data Mining (WSDM) · 2018
We examine approaches used for block-based inverted index compression, such as the OptPFOR mechanism, in which fixed-length blocks of postings data are compressed independently of each other. Building on previous work in which asymmetric numeral systems (ANS) entropy coding is used to represent each block, we explore a number of enhancements: (i) the use of two-dimensional conditioning contexts, with two aggregate parameters used in each block to categorize the distribution of symbol values that underlies the ANS approach, rather than just one; (ii) the use of a byte-friendly strategic mapping from symbols to ANS codeword buckets; and (iii) the use of a context merging process to combine similar probability distributions. Collectively, these improvements yield superior compression for index data, outperforming the reference point set by the Interp mechanism, and hence representing a significant step forward. We describe experiments using the 426 GiB gov2 collection and a new large collection of publicly-available news articles to demonstrate that claim, and provide query evaluation throughput rates compared to other block-based mechanisms.
Cited by 25 works. doi:10.1145/3159652.3159663
Authors
References
- Managing gigabytes (2nd ed.): compressing and indexing documents and images
- Managing Gigabytes: Compressing and Indexing Documents and Images
- Super-Scalar RAM-CPU Cache Compression
- Inverted Index Compression Using Word-Aligned Binary Codes
- Compressing Integers for Fast File Access
- Parameterised compression for sparse bitmaps
- Compressed inverted files with reduced decoding overheads
- Performance of compressed inverted list caching in search engines
- Compression and Coding Algorithms
- Binary Interpolative Coding for Effective Index Compression