[Paper Review] More Haste, Less Waste: Lowering the Redundancy in Fully Indexable Dictionaries
This paper presents a parametric fully indexable dictionary (FID) that reduces redundancy in compressed bit-vector representations, achieving constant-time rank/select operations with space close to the information-theoretic minimum. By recursively applying a hierarchical decomposition with multiranking and succinct string B-trees, it achieves redundancy of $ B(n,m) + O(n^{1+ u} + n(m/n^s)^ ho) $ bits, significantly improving prior bounds for general $ n \leq m $.
We consider the problem of representing, in a compressed format, a bit-vector $S$ of $m$ bits with $n$ 1s, supporting the following operations, where $b \in \{0, 1 \}$: $rank_b(S,i)$ returns the number of occurrences of bit $b$ in the prefix $S[1..i]$; $select_b(S,i)$ returns the position of the $i$th occurrence of bit $b$ in $S$. Such a data structure is called \emph{fully indexable dictionary (FID)} [Raman et al.,2007], and is at least as powerful as predecessor data structures. Our focus is on space-efficient FIDs on the extsc{ram} model with word size $Θ(\lg m)$ and constant time for all operations, so that the time cost is independent of the input size. Given the bitstring $S$ to be encoded, having length $m$ and containing $n$ ones, the minimal amount of information that needs to be stored is $B(n,m) = \lceil \log {{m}\choose{n}} ceil$. The state of the art in building a FID for $S$ is given in [Patrascu,2008] using $B(m,n)+O(m / ((\log m/ t) ^t)) + O(m^{3/4}) $ bits, to support the operations in $O(t)$ time. Here, we propose a parametric data structure exhibiting a time/space trade-off such that, for any real constants $0 < δ\leq 1/2$, $0 < \eps \leq 1$, and integer $s > 0$, it uses \[ B(n,m) + O(n^{1+δ} + n (\frac{m}{n^s})^\eps) \] bits and performs all the operations in time $O(sδ^{-1} + \eps^{-1})$. The improvement is twofold: our redundancy can be lowered parametrically and, fixing $s = O(1)$, we get a constant-time FID whose space is $B(n,m) + O(m^\eps/\poly{n})$ bits, for sufficiently large $m$. This is a significant improvement compared to the previous bounds for the general case.
Motivation & Objective
- To reduce the redundancy in fully indexable dictionaries (FIDs) for compressed bit-vectors with $ n $ ones in $ m $ bits.
- To achieve constant-time rank and select operations while minimizing extra space beyond the information-theoretic lower bound $ B(n,m) = \lceil \log{m \choose n} \rceil $.
- To provide a time/space trade-off that allows parametric control over redundancy and query time.
- To improve upon previous bounds, especially in the general case where $ n \leq m $, by reducing redundancy to $ O(m^\varepsilon / \mathrm{poly}(n)) $ for constant query time.
Proposed method
- Uses a recursive hierarchical decomposition of the bit-vector into smaller sequences, applying Theorem 4.3 iteratively for $ s $ levels.
- Employs multiranking across superblocks to support $ \mathtt{rank}_1 $ queries in cascading fashion through recursive FID instances.
- Applies succinct string B-trees to efficiently navigate and locate predecessors in the compressed structure.
- Uses dual representation of the set to support $ \mathtt{select}_0 $ operations via the same machinery used for $ \mathtt{select}_1 $.
- Introduces a high-bits multiset representation ($ H' $) to compactly store and query the most significant bits of each block.
- Truncates recursion early if the remaining universe size drops below the block size, using a small FID for the final segment.
Experimental results
Research questions
- RQ1Can redundancy in fully indexable dictionaries be reduced parametrically while maintaining constant-time operations?
- RQ2What is the minimal redundancy achievable for FIDs supporting $ \mathtt{rank}_b $ and $ \mathtt{select}_b $ in $ O(s\delta^{-1} + \varepsilon^{-1}) $ time?
- RQ3How does the redundancy scale with $ n $, $ m $, and the parameters $ \delta $, $ \varepsilon $, and $ s $ in the general case $ n \leq m $?
- RQ4Can the redundancy be reduced to $ O(m^\varepsilon / \mathrm{poly}(n)) $ for constant query time, even when $ n = o(m / \mathrm{polylog}(m)) $?
Key findings
- The proposed FID achieves redundancy of $ B(n,m) + O(n^{1+\delta} + n(m/n^s)^\varepsilon) $ bits for any $ 0 < \delta \leq 1/2 $, $ 0 < \varepsilon \leq 1 $, and integer $ s > 0 $.
- For $ s = O(1) $, the data structure supports all operations in $ O(\delta^{-1} + \varepsilon^{-1}) $ time with redundancy $ O(m^\varepsilon / \mathrm{poly}(n)) $, significantly improving prior bounds.
- The space bound is dominated by the root level of recursion, and the geometric decay of $ B(n_i, m_i) + O(n_i^{1+\delta}) $ terms ensures the total redundancy is asymptotically bounded by the root contribution.
- The method supports $ \mathtt{select}_0 $ by transforming the set into its dual and applying the same recursive machinery used for $ \mathtt{select}_1 $.
- The construction uses a combination of multiranking, succinct string B-trees, and high-bits multiset representations to enable efficient navigation and predecessor queries.
- When the recursion depth reaches a point where the universe size drops below the block size, a small FID is used, contributing negligible redundancy to the overall bound.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.