InfiniFilter: Expanding Filters to Infinity and Beyond
Niv Dayan, Ioana O. Bercea, Pedro Reviriego, Rasmus Pagh
Abstract
Filter data structures have been used ubiquitously since the 1970s to answer approximate set-membership queries in various areas of computer science including architecture, networks, operating systems, and databases. Such filters need to be allocated with a given capacity in advance to provide a guarantee over the false positive rate. In many applications, however, the data size is not known in advance, requiring filters to dynamically expand. This paper shows that existing methods for expanding filters exhibit at least one of the following flaws: (1) they entail an expensive scan over the whole data set, (2) they require a lavish memory footprint, (3) their query, delete and/or insertion performance plummets, (4) their false positive rate skyrockets, and/or (5) they cannot expand indefinitely. We introduce InfiniFilter, a new method for expanding filters that addresses these shortcomings. InfiniFilter is a hash table that stores a fingerprint for each entry. It doubles in size when it reaches capacity, and it sacrifices one bit from each fingerprint to map it to the expanded hash table. The core novelty is a new and flexible hash slot format that sets longer fingerprints to newer entries. This keeps the average fingerprint length long and thus the false positive rate stable. At the same time, InfiniFilter provides stable insertion/query/delete performance as it is comprised of a unified hash table. We implement InfiniFilter on top of Quotient Filter, and we demonstrate theoretically and empirically that it offers superior cost properties compared to existing methods: it better scales performance, the false positive rate, and the memory footprint, all at the same time.
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.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Chucky: A Succinct Cuckoo Filter for LSM-Tree cites Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo Filters
- Memento Filter: A Fast, Dynamic, and Robust Range Filter cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- Memento Filter: A Fast, Dynamic, and Robust Range Filter cites Chucky: A Succinct Cuckoo Filter for LSM-Tree
- Memento Filter: A Fast, Dynamic, and Robust Range Filter cites Grafite: Taming Adversarial Queries with Optimal Range Filters
- Memento Filter: A Fast, Dynamic, and Robust Range Filter cites SNARF: A Learning-Enhanced Range Filter
- Memento Filter: A Fast, Dynamic, and Robust Range Filter cites GRF: A Global Range Filter for LSM-Trees with Shape Encoding
- Grafite: Taming Adversarial Queries with Optimal Range Filters cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- Grafite: Taming Adversarial Queries with Optimal Range Filters cites SNARF: A Learning-Enhanced Range Filter
- Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM trees cites Chucky: A Succinct Cuckoo Filter for LSM-Tree
- Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM trees cites Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
- Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM trees cites Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo Filters
- SNARF: A Learning-Enhanced Range Filter cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- Diva: Dynamic Range Filter for Var-Length Keys and Queries cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- Diva: Dynamic Range Filter for Var-Length Keys and Queries cites Chucky: A Succinct Cuckoo Filter for LSM-Tree
- Diva: Dynamic Range Filter for Var-Length Keys and Queries cites Memento Filter: A Fast, Dynamic, and Robust Range Filter
- Diva: Dynamic Range Filter for Var-Length Keys and Queries cites Grafite: Taming Adversarial Queries with Optimal Range Filters
- Diva: Dynamic Range Filter for Var-Length Keys and Queries cites SNARF: A Learning-Enhanced Range Filter
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites Chucky: A Succinct Cuckoo Filter for LSM-Tree
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites SNARF: A Learning-Enhanced Range Filter
Cited by top-tier papers11
- GRF: A Global Range Filter for LSM-Trees with Shape EncodingHengrui Wang, Te Guo, Junzhao Yang, Huanchen ZhangSIGMOD 2024 · 15 citations
- Memento Filter: A Fast, Dynamic, and Robust Range FilterNavid Eslami, Niv DayanSIGMOD 2025 · 13 citations
- Grafite: Taming Adversarial Queries with Optimal Range FiltersMarco Costa, Paolo Ferragina, Giorgio VinciguerraSIGMOD 2024 · 11 citations
- Diva: Dynamic Range Filter for Var-Length Keys and QueriesNavid Eslami, Ioana O. Bercea, Niv DayanVLDB 2025 · 6 citations
- Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM treesZichen Zhu, Yanpeng Wei, Ju Hyoung Mun, Manos AthanassoulisSIGMOD 2025 · 3 citations
Builds on9
- Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value StoresSiqiang Luo, Subarna Chatterjee, Rafael Ketsetsidis, Niv Dayan et al.SIGMOD 2020 · 91 citations
- Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo FiltersMinmei Wang, Mingxun Zhou, Shouqian Shi, Chen QianVLDB 2020 · 58 citations
- Chucky: A Succinct Cuckoo Filter for LSM-TreeNiv Dayan, Moshe TwittoSIGMOD 2021 · 57 citations
- Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter DesignPrashant Pandey, Alex Conway, Joe Durie, Michael A. Bender et al.SIGMOD 2021 · 40 citations
- SNARF: A Learning-Enhanced Range FilterKapil Vaidya, Tim Kraska, Subarna Chatterjee, Eric R. Knorr et al.VLDB 2022 · 39 citations
Related papers
- Aleph Filter: To Infinity in Constant TimeNiv Dayan, Ioana Oriana Bercea, Rasmus PaghVLDB 2024 · 13 citations
- Dynamic Flat Filter: A Unified Framework for Scalable and Stable Fingerprint-Based FiltersYang Du, Shankui Ji, He Huang, Yu-E Sun et al.SIGMOD 2026
- Space Lower Bounds for Dynamic Filters and Value-Dynamic RetrievalWilliam Kuszmaul, Stefan WalzerSTOC 2024 · 2 citations
- Fingerprint Filters Are OptimalWilliam Kuszmaul, Jingxun Liang, Renfei ZhouFOCS 2025 · 4 citations
- Prefix Filter: Practically and Theoretically Better Than BloomTomer Even, Guy Even, Adam MorrisonVLDB 2022 · 13 citations
