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

简单的集合素描

Simple Set Sketching

Jakob Bæk Tejs Houen, Rasmus Pagh, Stefan Walzer

摘要:

想象一下,在哈希表中处理冲突的方法是在每个单元格中存储一组密钥哈希的逐位异或。这似乎是一个可怕的想法:对于$αn$密钥和$n$存储桶,其中$α$是常数,我们预计由于冲突,密钥的常数部分将不可恢复。我们表明,如果这种冲突解决策略重复三次独立的情况逆转:如果$α$低于$\approx 0.81$的阈值,那么我们可以恢复所有插入的密钥在线性时间的高概率。尽管我们的数据结构的描述很简单,但它的分析却很重要。我们的方法可以被看作是一个变种的可逆布隆过滤器(IBF)的Eppstein和古德里奇。虽然IBFs涉及每个桶的显式校验和来决定桶是否存储单个密钥,但我们利用了加密的想法,即密钥的某些位在其存储的位置中是隐式的。我们让它们作为隐式校验和。这些比特不足以确保没有错误发生,主要的技术挑战是证明解码可以从这些错误中恢复。

英文摘要:

Imagine handling collisions in a hash table by storing, in each cell, the bit-wise exclusive-or of the set of keys hashing there. This appears to be a terrible idea: For $αn$ keys and $n$ buckets, where $α$ is constant, we expect that a constant fraction of the keys will be unrecoverable due to collisions. We show that if this collision resolution strategy is repeated three times independently the situation reverses: If $α$ is below a threshold of $\approx 0.81$ then we can recover the set of all inserted keys in linear time with high probability. Even though the description of our data structure is simple, its analysis is nontrivial. Our approach can be seen as a variant of the Invertible Bloom Filter (IBF) of Eppstein and Goodrich. While IBFs involve an explicit checksum per bucket to decide whether the bucket stores a single key, we exploit the idea of quotienting, namely that some bits of the key are implicit in the location where it is stored. We let those serve as an implicit checksum. These bits are not quite enough to ensure that no errors occur and the main technical challenge is to show that decoding can recover from these errors.

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

↑