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
相关论文
共 50 条
  • [11] Bloom filters for molecules
    Medina, Jorge
    White, Andrew D.
    JOURNAL OF CHEMINFORMATICS, 2023, 15 (01)
  • [12] Scalable Bloom Filters
    Almeida, Paulo Sergio
    Baquero, Carlos
    Preguica, Nuno
    Hutchison, David
    INFORMATION PROCESSING LETTERS, 2007, 101 (06) : 255 - 261
  • [13] Multiple Bloom filters
    Yang, Yuanhang
    Chen, Shuhui
    PROCEEDINGS OF 2017 VI INTERNATIONAL CONFERENCE ON NETWORK, COMMUNICATION AND COMPUTING (ICNCC 2017), 2017, : 59 - 63
  • [14] Compressed bloom filters
    Mitzenmacher, M
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2002, 10 (05) : 604 - 612
  • [15] Sliding Bloom Filters
    Naor, Moni
    Yogev, Eylon
    ALGORITHMS AND COMPUTATION, 2013, 8283 : 513 - 523
  • [16] Bloom Filters in Adversarial Environments
    Naor, Moni
    Eylon, Yogev
    ACM TRANSACTIONS ON ALGORITHMS, 2019, 15 (03)
  • [17] On the Privacy of Counting Bloom Filters
    Reviriego, Pedro
    Sanchez-Macian, Alfonso
    Walzer, Stefan
    Merino-Gomez, Elena
    Liu, Shanshan
    Lombardi, Fabrizio
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2023, 20 (02) : 1488 - 1499
  • [18] Bloom Filters in Adversarial Environments
    Naor, Moni
    Yogev, Eylon
    ADVANCES IN CRYPTOLOGY, PT II, 2015, 9216 : 565 - 584
  • [19] A Case for Partitioned Bloom Filters
    Almeida, Paulo Sergio
    IEEE TRANSACTIONS ON COMPUTERS, 2023, 72 (06) : 1681 - 1691
  • [20] Reducing the Number of Bloom Filters
    Gong, Qingge
    Yang, Tong
    Tong, Hongwei
    Shi, Kai
    Li, Jinghui
    Wu, Xianyan
    PROCEEDINGS OF 2014 IEEE INTERNATIONAL CONFERENCE ON PROGRESS IN INFORMATICS AND COMPUTING (PIC), 2014, : 572 - 576