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

简洁动态秩/选择:绕过树结构瓶颈

Succinct Dynamic Rank/Select: Bypassing the Tree-Structure Bottleneck

CMU(卡内基梅隆大学)

William Kuszmaul, Jingxun Liang, Renfei Zhou

AI总结:

本研究提出压缩制表加权树堆这一动态平衡二叉搜索树,构建出绕过树结构瓶颈的动态有序字典,实现最优摊销期望时间与接近最优的空间消耗,解决了相关开放问题。

摘要:

我们展示了如何构建一种动态有序字典,支持对大小为$U$的全集上的$n$个元素的集合进行插入/删除/秩(rank)/选择(select)操作,在$U = \text{poly}(n)$的情形下,实现$O(1 + \frac{\text{log } n}{\text{log log } U})$的最优摊销期望时间复杂度,同时达到接近最优的空间消耗:$\text{log}\binom{U}{n} + n / 2^{(\text{log }n)^{\text{Ω}(1)}} + \text{polylog } U$比特。这解决了Pibiri和Venturini提出的一个开放问题:即$o(n)$比特的冗余(又称空间开销)是否可行,同时这也是首个绕过所谓“树结构瓶颈”的动态解决方案——该瓶颈指编码某些动态树结构所需的比特数本身就足以导致$\tilde{\text{Ω}}(n)$比特的冗余。我们的核心技术构件是一种动态平衡二叉搜索树,我们称之为压缩制表加权树堆(compressed tabulation-weighted treap),它本身实现了令人意外的时间/空间权衡。该树支持$\text{polylog }n$时间的操作,需要大小为$\text{poly}(n) + \text{polylog } U$的静态查找表——但作为交换,该树能够实现显著的空间保证。其总空间冗余为$O(\text{log }U)$比特。事实上,如果该树可以免费获取$n$和$U$的值,那么冗余会进一步降至$O(1)$比特。

英文摘要:

We show how to construct a dynamic ordered dictionary, supporting insert/delete/rank/select on a set of $n$ elements from a universe of size $U$, that achieves the optimal amortized expected time complexity of $O(1 + \log n / \log \log U)$, while achieving a nearly optimal space consumption of $\log \binom{U}{n} + n / 2^{(\log n)^{Ω(1)}} + \text{polylog}\, U$ bits in the regime where $U = \text{poly}(n)$. This resolves an open question by Pibiri and Venturini as to whether a redundancy (a.k.a. space overhead) of $o(n)$ bits is possible, and is the first dynamic solution to bypass the so-called tree-structure bottleneck, in which the bits needed to encode some dynamic tree structure are themselves enough to force a redundancy of $\widetildeΩ(n)$ bits. Our main technical building block is a dynamic balanced binary search tree, which we call the compressed tabulation-weighted treap, that itself achieves a surprising time/space tradeoff. The tree supports $\text{polylog}\, n$-time operations and requires a static lookup table of size $\text{poly}(n) + \text{polylog}\, U$ -- but, in exchange for these, the tree is able to achieve a remarkable space guarantee. Its total space redundancy is $O(\log U)$ bits. In fact, if the tree is given $n$ and $U$ for free, then the redundancy further drops to $O(1)$ bits.

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

↑