广义Cuckoo Hashing with a Stash,Revisited
Generalized Cuckoo Hashing with a Stash, Revisited
摘要:
Cuckoo hashing是一种常见的哈希技术,在最坏的情况下保证恒定时间的查找。Kirsch、Mitzenmacher和Wieder在SICOMP 2010上提出了增加储藏,作为降低故障概率的一种方式(即,有效的布谷鸟分配不存在的概率)。此后,它已成为密码学等领域的标准技术,这些领域通常需要可以忽略的失败概率。我们专注于Cuckoo哈希的扩展,允许每个桶有多个项目,这提高了负载因子。Kirsch \emph{et al.}也在存在藏匿物的情况下分析了该延伸。特别是,假设$d$是每个桶的项目数,$s$是存储大小,Kirsch \emph{et al.}表明,对于恒定的$d$和$s$,失败概率是$\mathcal{O}(n^{(s+1)(1-d)})$。在本文中,我们首先报告了一个错误的分析基尔希\emph{et al.}显示一个反例,导致一个渐进较大的失败概率$Ω(n^{-d-s-1})$。然后给出了(几乎)任意$d$和$s$的失效概率的一般分析和上界,而不是常数,这对密码学中的应用是有用的。最后,我们从一般分析中推导出一个紧界$Θ(n^{-d-s})$的故障概率,常数$d$和$s$。
英文摘要:
Cuckoo hashing is a common hashing technique, guaranteeing constant-time lookups in the worst case. Adding a stash was proposed by Kirsch, Mitzenmacher, and Wieder at SICOMP 2010, as a way to reduce the probability of failure (i.e., the probability that a valid Cuckoo assignment fails to exist). It has since become a standard technique in areas such as cryptography, where a negligible probability of failure is often required. We focus on an extension of Cuckoo hashing that allows multiple items per bucket, which improves the load factor. That extension was also analyzed by Kirsch \emph{et al.} in the presence of a stash. In particular, letting $d$ be the number of items per bucket, and $s$ be the stash size, Kirsch \emph{et al.} showed that, for constant $d$ and $s$, the failure probability is $\mathcal{O}(n^{(s+1)(1-d)})$. In this paper, we first report a bug in the analysis by Kirsch \emph{et al.} by showing a counter-example leading to an asymptotically-larger probability of failure $Ω(n^{-d-s-1})$. Then we provide a general analysis and upper bound of the failure probability for (almost) arbitrary $d$ and $s$, instead of just constant, which is useful for applications in cryptography. We finally deduce from the general analysis a tight bound $Θ(n^{-d-s})$ for the probability of failure, for constants $d$ and $s$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。