Fast construction of partitioned learned Bloom filter with theoretical guarantees
Atsuki Sato, Yusuke Matsui
Key points
From the paper's conclusion- Learned Bloom filters improve memory efficiency by leveraging machine learning, with the partitioned learned Bloom filter (PLBF) being among the most memory-efficient variants.
Abstract
Bloom filter is a widely used classic data structure for approximate membership queries. Learned Bloom filters improve memory efficiency by leveraging machine learning, with the partitioned learned Bloom filter (PLBF) being among the most memory-efficient variants. However, PLBF suffers from high construction cost, with time complexity $$\mathcal {O}(N^3k)$$ O ( N 3 k ) , where N and k are hyperparameters. In this paper, we propose three methods, fast PLBF , fast PLBF++ , and fast PLBF# , that reduce the construction complexity to $$\mathcal {O}(N^2k)$$ O ( N 2 k ) , $$\mathcal {O}(Nk \log N)$$ O ( N k log N ) , and $$\mathcal {O}(Nk \log k)$$ O ( N k log k ) , respectively. Fast PLBF preserves the original PLBF structure and memory efficiency. Although fast PLBF++ and fast PLBF# may have different structures, we theoretically prove they are equivalent to PLBF under ideal data distribution. Furthermore, for non-ideal scenarios, we introduce an instance-specific measure of deviation from the ideal distribution and use it to bound the resulting difference in memory efficiency between PLBF and fast PLBF++. Experiments on real-world datasets demonstrate that, under the default setting ( $$N=1000$$ N = 1000 and $$k=5$$ k = 5 ), fast PLBF, fast PLBF++, and fast PLBF# are up to 58.7, 74.5, and 75.7 times faster to construct than original PLBF, respectively. In an ablation with larger k , which enables the construction of more accurate PLBFs, the speedups reach 235, 865, and 871 times at $$k=50$$ k = 50 . Additionally, fast PLBF maintains the same data structure as PLBF, and fast PLBF++ and fast PLBF# achieve nearly identical memory efficiency.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Super Bloom: Fast and Precise Filter for Streaming k-Mer Queries.Journal of computational biology : a journal of computational molecular cell biology · 2026
- Bloom Filters at Fifty: From Probabilistic Foundations to Modern Engineering and ApplicationsAlgorithms · 2025
- Diva++: Dynamic Range Filtering over Hard WorkloadsarXiv · 2026
- The Anatomy of Piecewise-Linear Learned IndexesarXiv · 2026
- Aeris Filter: A Strongly and Monotonically Adaptive Range FilterProceedings of the ACM on Management of Data · 2026
- Space-Optimal Algorithms for Spanning Forests in Dynamic Streams at Every Confidence Level: With and Without Deletion ConstraintsarXiv · 2026