arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2106.07037cs.DB
收藏

Hash自适应Bloom Filter

Hash Adaptive Bloom Filter

Rongbiao Xie, Meng Li, Zheyu Miao, Rong Gu, He Huang, Haipeng Dai, Guihai Chen

摘要:

布隆过滤器是一种支持成员资格测试的紧凑的存储器高效的概率数据结构,即,检查一个元素是否在给定的集合中。然而,由于布隆过滤器将每个元素映射为均匀随机的散列函数,因此即使负键(元素不在集合中)的信息可用,也提供了很少的灵活性。当否定键的错误识别带来不同的成本时,问题变得更糟。为了解决上述问题,我们提出了一个新的哈希自适应布隆过滤器(HABF),支持定制的哈希函数的关键字。HABF的核心思想是为正键(元素在集合中)定制散列函数,避免代价高昂的负键,并将定制的散列函数打包到一个名为HashExpressor的轻量级数据结构中。然后,在查询时给定一个元素,HABF遵循两轮模式来检查该元素是否在集合中。此外,我们从理论上分析了HABF的性能和约束的预期误报率。我们在代表性数据集上进行了广泛的实验,结果表明HABF在准确性,构建时间,查询时间和内存空间消耗方面优于标准Bloom过滤器及其尖端变体(请注意,源代码可在[1]中获得)。

英文摘要:

Bloom filter is a compact memory-efficient probabilistic data structure supporting membership testing, i.e., to check whether an element is in a given set. However, as Bloom filter maps each element with uniformly random hash functions, few flexibilities are provided even if the information of negative keys (elements are not in the set) are available. The problem gets worse when the misidentification of negative keys brings different costs. To address the above problems, we propose a new Hash Adaptive Bloom Filter (HABF) that supports the customization of hash functions for keys. The key idea of HABF is to customize the hash functions for positive keys (elements are in the set) to avoid negative keys with high cost, and pack customized hash functions into a lightweight data structure named HashExpressor. Then, given an element at query time, HABF follows a two-round pattern to check whether the element is in the set. Further, we theoretically analyze the performance of HABF and bound the expected false positive rate. We conduct extensive experiments on representative datasets, and the results show that HABF outperforms the standard Bloom filter and its cutting-edge variants on the whole in terms of accuracy, construction time, query time, and memory space consumption (Note that source codes are available in [1]).

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

↑