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

恒定时间和最优空间中的近似空程

Approximate Range Emptiness in Constant Time and Optimal Space

Mayank Goswami, Allan Grønlund, Kasper Green Larsen, Rasmus Pagh

摘要:

本文研究了\emph{$\varepsilon$-approximate range emptiness}问题,其任务是从$\{0,\ldots,U-1\}$中表示$n$点的集合$S$,并回答形式为“$[a ; b]\cap S \neq \emptyset$?“的概率为\emph{false positives}。这将\emph{Bloom filters}的功能从单点查询推广到任何间隔长度的$L$。将误报率设置为$\varepsilon/L$并执行$L$查询,布隆过滤器使用空间$O(n \lg(L/\varepsilon))$位、针对长度高达$L$的间隔的由$\varepsilon$限定的误报概率、使用查询时间$O(L \lg(L/\varepsilon))$来产生该问题的解决方案。我们的第一个贡献是表明,空间/错误的权衡不能改善渐近:任何数据结构回答近似范围空查询的时间间隔的长度高达$L$与误报概率$\varepsilon$,必须使用空间$Ω(n \lg(L/\varepsilon)) - O(n)$位。在积极的一面,我们表明,查询时间可以大大提高,常数时间,同时匹配我们的空间下限到一个较低的顺序添加剂项。这一结果是通过一个简洁的数据结构(非近似一维)范围空/报告查询,这可能是独立的利益。

英文摘要:

This paper studies the \emph{$\varepsilon$-approximate range emptiness} problem, where the task is to represent a set $S$ of $n$ points from $\{0,\ldots,U-1\}$ and answer emptiness queries of the form "$[a ; b]\cap S \neq \emptyset$ ?" with a probability of \emph{false positives} allowed. This generalizes the functionality of \emph{Bloom filters} from single point queries to any interval length $L$. Setting the false positive rate to $\varepsilon/L$ and performing $L$ queries, Bloom filters yield a solution to this problem with space $O(n \lg(L/\varepsilon))$ bits, false positive probability bounded by $\varepsilon$ for intervals of length up to $L$, using query time $O(L \lg(L/\varepsilon))$. Our first contribution is to show that the space/error trade-off cannot be improved asymptotically: Any data structure for answering approximate range emptiness queries on intervals of length up to $L$ with false positive probability $\varepsilon$, must use space $Ω(n \lg(L/\varepsilon)) - O(n)$ bits. On the positive side we show that the query time can be improved greatly, to constant time, while matching our space lower bound up to a lower order additive term. This result is achieved through a succinct data structure for (non-approximate 1d) range emptiness/reporting queries, which may be of independent interest.

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

↑