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 条
  • [1] An Optimization Problem Related to Bloom Filters with Bit Patterns
    Damaschke, Peter
    Schliep, Alexander
    SOFSEM 2018: THEORY AND PRACTICE OF COMPUTER SCIENCE, 2018, 10706 : 525 - 538
  • [2] BLOOM FILTERS
    WELLS, B
    DR DOBBS JOURNAL, 1995, 20 (01): : 12 - 12
  • [3] Solving Intersection Searching Problem for Spatial Data Using Bloom Filters
    Budhkar, Prerna
    2013 IEEE INTERNATIONAL CONFERENCE ON ELECTRONICS, COMPUTING AND COMMUNICATION TECHNOLOGIES, 2013,
  • [4] A Pareto optimal Bloom filter family with hash adaptivity
    Meng Li
    Rongbiao Xie
    Deyi Chen
    Haipeng Dai
    Rong Gu
    He Huang
    Wanchun Dou
    Guihai Chen
    The VLDB Journal, 2023, 32 : 525 - 548
  • [5] A Pareto optimal Bloom filter family with hash adaptivity
    Li, Meng
    Xie, Rongbiao
    Chen, Deyi
    Dai, Haipeng
    Gu, Rong
    Huang, He
    Dou, Wanchun
    Chen, Guihai
    VLDB JOURNAL, 2023, 32 (03): : 525 - 548
  • [6] A Pareto optimal Bloom filter family with hash adaptivity
    Li, Meng
    Xie, Rongbiao
    Chen, Deyi
    Dai, Haipeng
    Gu, Rong
    Huang, He
    Dou, Wanchun
    Chen, Guihai
    VLDB JOURNAL, 2022,
  • [7] Incremental bloom filters
    Hao, Fang
    Kodialam, Murali
    Lakshman, T. V.
    27TH IEEE CONFERENCE ON COMPUTER COMMUNICATIONS (INFOCOM), VOLS 1-5, 2008, : 1741 - +
  • [8] Bloom filters for molecules
    Jorge Medina
    Andrew D. White
    Journal of Cheminformatics, 15
  • [9] The Dynamic Bloom Filters
    Guo, Deke
    Wu, Jie
    Chen, Honghui
    Yuan, Ye
    Luo, Xueshan
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2010, 22 (01) : 120 - 133
  • [10] On the analysis of Bloom filters
    Grandi, Fabio
    INFORMATION PROCESSING LETTERS, 2018, 129 : 35 - 39