Bloom Filters, Adaptivity, and the Dictionary Problem

被引:29
作者
Bender, Michael A. [1 ]
Farach-Colton, Martin [2 ]
Goswami, Mayank [3 ]
Johnson, Rob [4 ]
McCauley, Samuel [5 ]
Singh, Shikha [5 ]
机构
[1] SUNY Stony Brook, Stony Brook, NY 11794 USA
[2] Rutgers State Univ, Piscataway, NJ 08856 USA
[3] CUNY Queens Coll, Flushing, NY 11367 USA
[4] VMware Res, Creekside F,3425 Hillview Ave, Palo Alto, CA 94304 USA
[5] Wellesley Coll, Wellesley, MA 02481 USA
来源
2018 IEEE 59TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS) | 2018年
基金
美国国家科学基金会; 欧洲研究理事会;
关键词
Bloom filters; approximate membership query data structures; adaptive data structures; dictionary data structures;
D O I
10.1109/FOCS.2018.00026
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
An approximate membership query data structure (AMQ)-such as a Bloom, quotient, or cuckoo filter-maintains a compact, probabilistic representation of a set S of keys from a universe U. It supports lookups and inserts. Some AMQs also support deletes. A query for x. S returns PRESENT. A query for x is not an element of S returns PRESENT with a tunable false-positive probability epsilon, and otherwise returns ABSENT. AMQs are widely used to speed up dictionaries that are stored remotely (e.g., on disk or across a network). The AMQ is stored locally (e.g., in memory). The remote dictionary is only accessed when the AMQ returns PRESENT. Thus, the primary performance metric of an AMQ is how often it returns ABSENT for negative queries. Existing AMQs offer weak guarantees on the number of false positives in a sequence of queries. The false-positive probability e holds only for a single query. It is easy for an adversary to drive an AMQ's false-positive rate towards 1 by simply repeating false positives. This paper shows what it takes to get strong guarantees on the number of false positives. We say that an AMQ is adaptive if it guarantees a false-positive probability of e for every query, regardless of answers to previous queries. We establish upper and lower bounds for adaptive AMQs. Our lower bound shows that it is impossible to build a small adaptive AMQ, even when the AMQ is immediately told whenever a query is a false positive. On the other hand, we show that it is possible to maintain an AMQ that uses the same amount of local space as a non-adaptive AMQ (up to lower order terms), performs all queries and updates in constant time, and guarantees that each negative query to the dictionary accesses remote storage with probability e, independent of the results of past queries. Thus, we show that adaptivity can be achieved effectively for free.
引用
收藏
页码:182 / 193
页数:12
相关论文
共 21 条
  • [1] [Anonymous], 2003, Internet Mathematics, DOI DOI 10.1080/15427951.2004.10129096
  • [2] Backyard Cuckoo Hashing: Constant Worst-Case Operations with a Succinct Representation
    Arbitman, Yuriy
    Naor, Moni
    Segev, Gil
    [J]. 2010 IEEE 51ST ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, 2010, : 787 - 796
  • [3] Bender M. A., 2018, ARXIV171101616
  • [4] Bender MA, 2012, PROC VLDB ENDOW, V5, P1627
  • [5] SPACE/TIME TRADE/OFFS IN HASH CODING WITH ALLOWABLE ERRORS
    BLOOM, BH
    [J]. COMMUNICATIONS OF THE ACM, 1970, 13 (07) : 422 - &
  • [6] Carter L., 1978, P 10 ANN ACM S THEOR, P59, DOI DOI 10.1145/800133.804332
  • [7] Chazelle B., 2004, P 15 ANN ACM SIAM S, P30
  • [8] Cohen S., 2003, P ACM INT C MAN DAT, P241, DOI [10.1145/872757.872787, DOI 10.1145/872757.872787]
  • [9] De Dictionariis Dynamicis Pauco Spatio Utentibus (lat. On dynamic dictionaries using little space)
    Demaine, ED
    der Heide, FMA
    Pagh, R
    Patrascu, M
    [J]. LATIN 2006: THEORETICAL INFORMATICS, 2006, 3887 : 349 - 361
  • [10] Deng F., 2006, SIGMOD 06, P25, DOI DOI 10.1145/1142473.1142477