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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 8646aed5-f9fd-421a-aeb1-fb4e0a4d77f4Cited 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
- 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
- Zeno Filter: To Infinity in Tiny StepsHyuhng Min Kim, Navid Eslami, Niv DayanSIGMOD 2026 · 2 citations
