Optimizing Collections of Bloom Filters within a Space Budget
Gabriel Mersy, Zhuo Wang, Stavros Sintos, Sanjay Krishnan
摘要
With a single Bloom filter, one can approximately answer set membership queries within a space budget. Practical systems often use collections of Bloom filters to facilitate applications such as data skipping, sideways information passing, and network filtering. While the optimal space-to-accuracy allocation is well-understood for a single filter, jointly optimizing how space is used across a collection of filters is yet to be studied. We pose this problem in the following way: (1) let's assume that each Bloom filter has some likelihood of being queried, and (2) given knowledge of this likelihood, how do we allocate space to minimize the expected false positive rate? In other words, "hot" filters are allocated more space, and "cold" filters are allocated less space. In this paper, we show how to solve this optimization problem. We first develop the concept of a "truncated" Bloom filter and theoretically analyze its false positive rate. We then formulate an optimization problem for a collection of truncated Bloom filters that minimizes the false positive rate across a utility distribution while meeting a strict space budget. Next, we show that the problem is convex and find a fast relaxation. Lastly, we apply our method to data skipping and full-text search, demonstrating its effectiveness across the range of possible space budgets when compared to the state of the art.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM trees 引用了 Chucky: A Succinct Cuckoo Filter for LSM-Tree
- Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM trees 引用了 Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
- Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM trees 引用了 SplinterDB and Maplets: Improving the Tradeoffs in Key-Value Store Compaction Policy
- Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM trees 引用了 InfiniFilter: Expanding Filters to Infinity and Beyond
- InfiniFilter: Expanding Filters to Infinity and Beyond 引用了 Chucky: A Succinct Cuckoo Filter for LSM-Tree
- InfiniFilter: Expanding Filters to Infinity and Beyond 引用了 Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
引用它的顶会 Paper2
- Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM treesZichen Zhu, Yanpeng Wei, Ju Hyoung Mun, Manos AthanassoulisSIGMOD 2025 · 3 次引用
- CounterSnake: A lossless and generalized compression framework for diverse sketchesXunpeng Liu, Qun Huang, Yaojing Wang, Lihua Miao 等VLDB 2026
它引用的 Paper11
- Chucky: A Succinct Cuckoo Filter for LSM-TreeNiv Dayan, Moshe TwittoSIGMOD 2021 · 57 次引用
- Stable Learned Bloom Filters for Data StreamsQiyu Liu, Libin Zheng, Yanyan Shen, Lei ChenVLDB 2020 · 45 次引用
- Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter DesignPrashant Pandey, Alex Conway, Joe Durie, Michael A. Bender 等SIGMOD 2021 · 40 次引用
- InfiniFilter: Expanding Filters to Infinity and BeyondNiv Dayan, Ioana O. Bercea, Pedro Reviriego, Rasmus PaghSIGMOD 2023 · 27 次引用
- SplinterDB and Maplets: Improving the Tradeoffs in Key-Value Store Compaction PolicyAlex Conway, Martin Farach-Colton, Rob JohnsonSIGMOD 2023 · 20 次引用
相关 Paper
- Modeling Average False Positive Rates of Recycling Bloom FiltersKahlil Dozier, Loqman Salamatian, Dan RubensteinINFOCOM 2024 · 4 次引用
- A four-dimensional Analysis of Partitioned Approximate FiltersTobias Schmidt, Maximilian Bandle, Jana GicevaVLDB 2021 · 6 次引用
- Partitioned Learned Bloom FiltersKapil Vaidya, Eric Knorr, Michael Mitzenmacher, Tim KraskaICLR 2021 · 2 次引用
- Ensemble Learned Bloom Filters: Two Oracles are Better than OneMing Lin, Lin ChenICML 2025
- Building Fast and Compact Sketches for Approximately Multi-Set Multi-Membership QueryingRundong Li, Pinghui Wang, Jiongli Zhu, Junzhou Zhao 等SIGMOD 2021 · 20 次引用
