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

随机行走Cuckoo Hash算法在剥离阈值以下的插入时间

Insertion Time of Random Walk Cuckoo Hashing below the Peeling Threshold

Stefan Walzer

摘要:

大多数哈希表的插入时间为$O(1)$,可能符合预期和/或摊销。虽然插入到cuckoo哈希表中在实践中似乎确实需要$O(1)$预期的时间,但只有在最简单的实际相关情况下才能证明多对数保证。由于布谷鸟散列广泛用于实现紧凑字典和Bloom过滤器替代方案,缩小这一差距是理论家的一个重要问题。在本文中,我们表明,随机游走插入到布谷鸟哈希表$O(1)$预期摊销时间时,任何数量的$k \geq 3$的哈希函数被使用,负载因子低于相应的剥离阈值(例如,$\approx 0.81$为$k = 3$)。据我们所知,这是第一个对$k \in \{3,\dots,9\}$有效的cuckoo hashing的常数时间插入有意义的保证。除了本身的用处之外,我们希望我们的以键为中心的分析方法可以成为通往真正最终目标的垫脚石:对于低于负载阈值的所有负载因子,$O(1)$时间插入(例如,对于$k = 3$,$\approx 0.91$)。

英文摘要:

Most hash tables have an insertion time of $O(1)$, possibly qualified as expected and/or amortised. While insertions into cuckoo hash tables indeed seem to take $O(1)$ expected time in practice, only polylogarithmic guarantees are proven in all but the simplest of practically relevant cases. Given the widespread use of cuckoo hashing to implement compact dictionaries and Bloom filter alternatives, closing this gap is an important open problem for theoreticians. In this paper, we show that random walk insertions into cuckoo hash tables take $O(1)$ expected amortised time when any number $k \geq 3$ of hash functions is used and the load factor is below the corresponding peeling threshold (e.g. $\approx 0.81$ for $k = 3$). To our knowledge, this is the first meaningful guarantee for constant time insertion for cuckoo hashing that works for $k \in \{3,\dots,9\}$. In addition to being useful in its own right, we hope that our key-centred analysis method can be a stepping stone on the path to the true end goal: $O(1)$ time insertions for all load factors below the load threshold (e.g. $\approx 0.91$ for $k = 3$).

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

↑