arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.14894cs.DScs.DBcs.LG
收藏

雏菊布隆过滤器

Daisy Bloom Filters

KTH Royal Institute of Technology(皇家理工学院);University of Copenhagen(哥本哈根大学)

Ioana O. Bercea, Jakob Bæk Tejs Houen, Rasmus Pagh

AI总结:

本文研究面向特定数据分布的过滤器空间优化问题,提出期望空间下界并证明其渐近紧性,同时设计了一种更快且更省空间的雏菊布隆过滤器。

摘要:

过滤器是一种广泛使用的数据结构,用于存储来自某个全域 $U$(一个可数集合)的给定元素集合 $S$ 的近似表示。它表示一个超集 $S'\supseteq S$,该超集在以下意义上“接近 $S$”:对于 $x\not\in S$,$x\in S'$ 的概率被某个 $\varepsilon > 0$ 所限制。当可以接受一些假阳性时,使用布隆过滤器的优势在于空间占用比精确存储 $S$ 所需的空间更小。尽管从最坏情况的角度来看过滤器已被充分理解,但显然最先进的构造对于特定的数据和查询分布可能并不接近最优。例如,假设某些元素以接近 1 的概率属于 $S$。那么始终将它们包含在 $S'$ 中是有意义的,这样就不必在过滤器中表示这些元素,从而节省空间。类似的问题已在加权布隆过滤器(Bruck, Gao and Jiang, ISIT 2006)以及利用学习组件访问的布隆过滤器实现(Vaidya, Knorr, Mitzenmacher, and Krask, ICLR 2021)的背景下被提出。在本文中,我们给出了此类过滤器所需期望空间的下界。我们还通过展示一种过滤器构造来证明该下界是渐近紧的,该构造在最坏情况下以常数时间执行查询和插入,并且对于从乘积分布中抽取的输入集合,假阳性率以高概率至多为 $\varepsilon$。我们还提出了一种布隆过滤器的替代方案,我们称之为雏菊布隆过滤器(Daisy Bloom filter),它比标准布隆过滤器执行操作更快,并且使用的空间显著更少。

英文摘要:

A filter is a widely used data structure for storing an approximation of a given set $S$ of elements from some universe $U$ (a countable set).It represents a superset $S'\supseteq S$ that is ''close to $S$'' in the sense that for $x\not\in S$, the probability that $x\in S'$ is bounded by some $\varepsilon > 0$. The advantage of using a Bloom filter, when some false positives are acceptable, is that the space usage becomes smaller than what is required to store $S$ exactly. Though filters are well-understood from a worst-case perspective, it is clear that state-of-the-art constructions may not be close to optimal for particular distributions of data and queries. Suppose, for instance, that some elements are in $S$ with probability close to 1. Then it would make sense to always include them in $S'$, saving space by not having to represent these elements in the filter. Questions like this have been raised in the context of Weighted Bloom filters (Bruck, Gao and Jiang, ISIT 2006) and Bloom filter implementations that make use of access to learned components (Vaidya, Knorr, Mitzenmacher, and Krask, ICLR 2021). In this paper, we present a lower bound for the expected space that such a filter requires. We also show that the lower bound is asymptotically tight by exhibiting a filter construction that executes queries and insertions in worst-case constant time, and has a false positive rate at most $\varepsilon $ with high probability over input sets drawn from a product distribution. We also present a Bloom filter alternative, which we call the $\textit{Daisy Bloom filter}$, that executes operations faster and uses significantly less space than the standard Bloom filter.

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

↑