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

技术报告:回收型布隆过滤器平均假阳性率建模

Technical Report: Modeling Average False Positive Rates of Recycling Bloom Filters

Kahlil Dozier, Loqman Salamatian, Dan Rubenstein

AI总结:

本文针对网络应用中回收型布隆过滤器,提出基于更新过程和马尔可夫模型的平均假阳性率计算方法,取代过于保守的最坏情况界限,并验证了模型准确性及两阶段变体的效率优势。

摘要:

布隆过滤器是一种空间高效的数据结构,用于集合成员资格测试,其错误仅发生在假阳性方向上。然而,衡量这种假阳性率的标准分析提供了一种最坏情况界限,对于大多数利用布隆过滤器的网络应用而言,这种界限既过于保守,又因未考虑每次到达后布隆过滤器的实际状态(已置位数)而降低了准确性。在本文中,我们更精确地刻画了布隆过滤器在网络应用中常见使用方式下的假阳性动态。特别是,网络应用常常使用一种“回收”型布隆过滤器:它反复填充,在达到一定饱和水平后清空并再次填充。在此背景下,使用平均假阳性率而非最坏情况界限来评估性能更为合理。我们展示了如何通过更新过程和马尔可夫模型高效计算回收型布隆过滤器变体的平均假阳性率。我们将模型应用于标准布隆过滤器和一种“两阶段”变体,通过仿真验证了模型的准确性,并发现先前分析的最坏情况公式导致布隆过滤器在网络应用中效率降低高达30%,而两阶段开销随着所需假阳性率的收紧而减小。

英文摘要:

Bloom Filters are a space-efficient data structure used for the testing of membership in a set that errs only in the False Positive direction. However, the standard analysis that measures this False Positive rate provides a form of worst case bound that is both overly conservative for the majority of network applications that utilize Bloom Filters, and reduces accuracy by not taking into account the actual state (number of bits set) of the Bloom Filter after each arrival. In this paper, we more accurately characterize the False Positive dynamics of Bloom Filters as they are commonly used in networking applications. In particular, network applications often utilize a Bloom Filter that "recycles": it repeatedly fills, and upon reaching a certain level of saturation, empties and fills again. In this context, it makes more sense to evaluate performance using the average False Positive rate instead of the worst case bound. We show how to efficiently compute the average False Positive rate of recycling Bloom Filter variants via renewal and Markov models. We apply our models to both the standard Bloom Filter and a "two-phase" variant, verify the accuracy of our model with simulations, and find that the previous analysis' worst-case formulation leads to up to a 30\% reduction in the efficiency of Bloom Filter when applied in network applications, while two-phase overhead diminishes as the needed False Positive rate is tightened.

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

↑