Lune

VLDB2020Top-tier venue

Stable Learned Bloom Filters for Data Streams

Qiyu Liu, Libin Zheng, Yanyan Shen, Lei Chen

Abstract

Bloom filter and its variants are elegant space-efficient probabilistic data structures for approximate set membership queries. It has been recently shown that the space cost of Bloom filters can be significantly reduced via a combination with pre-trained machine learning models, named Learned Bloom filters (LBF). LBF eases the space requirement of a Bloom filter by undertaking part of the queries using a classifier. However, current LBF structures generally target a static member set. Their performances would inevitably decay when there is a member update on the set, while this update requirement is not uncommon for real-world data streaming applications such as duplicate item detection, malicious URL checking, and web caching. To adapt LBF to data streams, we propose the Stable Learned Bloom Filters (SLBF) which addresses the performance decay issue on intensive insertion workloads by combining classifier with updatable backup filters. Specifically, we propose two SLBF structures, Single SLBF (s-SLBF) and Grouping SLBF (g-SLBF). The theoretical analysis on these two structures shows that the expected false positive rate (FPR) of SLBF is asymptotically a constant over the insertion of new members. Extensive experiments on real-world datasets show that SLBF introduces a similar level of false negative rate (FNR) but yields a better FPR/storage trade-off compared with the state-of-the-art (non-learned) Bloom filters optimized on data streams.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ALEX: An Updatable Adaptive Learned Index cites Learning Multi-Dimensional Indexes
  • Learning Multi-Dimensional Indexes cites ALEX: An Updatable Adaptive Learned Index
  • ChainedFilter: Combining Membership Filters by Chain Rule cites REncoder: A Space-Time Efficient Range Filter with Local Encoder
  • Learned Index: A Comprehensive Experimental Evaluation cites ALEX: An Updatable Adaptive Learned Index
  • Learned Index: A Comprehensive Experimental Evaluation cites Learning Multi-Dimensional Indexes
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Learned Index: A Comprehensive Experimental EvaluationZhaoyan Sun, Xuanhe Zhou, Guoliang LiVLDB 2023 · 87 citations
  2. REncoder: A Space-Time Efficient Range Filter with Local EncoderZiwei Wang, Zheng Zhong, Jiarui Guo, Yuhan Wu et al.ICDE 2023 · 18 citations
  3. TreeSensing: Linearly Compressing Sketches with FlexibilityZirui Liu, Yixin Zhang, Yifan Zhu, Ruwen Zhang et al.SIGMOD 2023 · 10 citations
  4. New Wine in an Old Bottle: Data-aware Hash Functions for Bloom FiltersArindam Bhattacharya, Chathur Gudesa, Amitabha Bagchi, Srikanta BedathurVLDB 2022 · 6 citations
  5. ChainedFilter: Combining Membership Filters by Chain RuleHaoyu Li, Liuhui Wang, Qizhi Chen, Jianan Ji et al.SIGMOD 2024 · 5 citations

Builds on4

  1. ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
  2. An End-to-End Learning-based Cost EstimatorJi Sun, Guoliang LiVLDB 2020 · 251 citations
  3. Deep Unsupervised Cardinality EstimationZongheng Yang, Eric Liang, Amog Kamsetty, Chenggang Wu et al.VLDB 2020 · 206 citations
  4. Learning Multi-Dimensional IndexesVikram Nathan, Jialin Ding, Mohammad Alizadeh, Tim KraskaSIGMOD 2020 · 180 citations

Related papers

  1. Ensemble Learned Bloom Filters: Two Oracles are Better than OneMing Lin, Lin ChenICML 2025
  2. Partitioned Learned Bloom FiltersKapil Vaidya, Eric Knorr, Michael Mitzenmacher, Tim KraskaICLR 2021 · 2 citations
  3. A Learned Cuckoo Filter for Approximate Membership Queries over Variable-sized Sliding Windows on Data StreamsYao Tian, Tingyun Yan, Ruiyuan Zhang, Kai Huang et al.SIGMOD 2024 · 7 citations
  4. Fast Partitioned Learned Bloom FilterAtsuki Sato, Yusuke MatsuiNeurIPS 2023 · 13 citations
  5. Adaptive Learned Bloom Filter (Ada-BF): Efficient Utilization of the Classifier with Application to Real-Time Information Filtering on the WebZhenwei Dai, Anshumali ShrivastavaNeurIPS 2020 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines