Adaptive Quotient Filters
Richard Wen, Hunter McCoy, David Tench, Guido Tagliavini, Michael A. Bender, Alex Conway, Martin Farach-Colton, Rob Johnson, Prashant Pandey
Abstract
Filters trade off accuracy for space and occasionally return false positive matches with a bounded error. Numerous systems use filters in fast memory to avoid performing expensive I/Os to slow storage. A fundamental limitation in traditional filters is that they do not change their representation upon seeing a false positive match. Therefore, the maximum false positive rate is only guaranteed for a single query, not for an arbitrary set of queries. We can improve the filter's performance on a stream of queries, especially on a skewed distribution, if we can adapt after encountering false positives. Adaptive filters, such as telescoping quotient filters and adaptive cuckoo filters, update their representation upon detecting a false positive to avoid repeating the same error in the future. Adaptive filters require an auxiliary structure, typically much larger than the main filter and often residing on slow storage, to facilitate adaptation. However, existing adaptive filters are not practical and have not been adopted in real-world systems for two main reasons. First, they offer weak adaptivity guarantees, meaning that fixing a new false positive can cause a previously fixed false positive to come back. Secondly, the sub-optimal design of the auxiliary structure results in adaptivity overheads so substantial that they can actually diminish overall system performance compared to a traditional filter. In this paper, we design and implement the , the first practical adaptive filter with minimal adaptivity overhead and strong adaptivity guarantees, which means that the performance and false-positive guarantees continue to hold even for adversarial workloads. The is based on the state-of-the-art quotient filter design and preserves all the critical features of the quotient filter such as cache efficiency and mergeability. Furthermore, we employ a new auxiliary structure design which results in considerably low adaptivity overhead and makes the practical in real systems. We evaluate the by using it to filter queries to an on-disk B-tree database and find no negative impact on insert or query performance compared to traditional filters. Against adversarial workloads, the preserves system performance, whereas traditional filters incur 2× slowdown from adversaries representing as low as 1% of the workload. Finally, we show that on skewed query workloads, the can reduce the false-positive rate 100× using negligible (1/1000th of a bit per item) space overhead.
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.
1 top-tier paper has 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
- Seesaw Counting Filter: An Efficient Guardian for Vulnerable Negative Keys During Dynamic Filtering cites Stacked Filters: Learning to Filter by Structure
- Sphinx: A Succinct Perfect Hash Index for x86 cites Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
- Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design cites SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value Stores
Cited by top-tier papers1
Builds on5
- CRLite: A Scalable System for Pushing All TLS Revocations to All BrowsersJames Larisch, David R. Choffnes, Dave Levin, Bruce M. Maggs et al.S&P 2017 · 105 citations
- SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value StoresAlexander Conway, Abhishek Gupta, Vijay Chidambaram, Martin Farach-Colton et al.USENIX ATC 2020 · 90 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
- Seesaw Counting Filter: An Efficient Guardian for Vulnerable Negative Keys During Dynamic FilteringMeng Li, Deyi Chen, Haipeng Dai, Rongbiao Xie et al.WWW 2022 · 15 citations
- Stacked Filters: Learning to Filter by StructureKyle Deeds, Brian Hentschel, Stratos IdreosVLDB 2021 · 10 citations
Related papers
- To Adapt or Not to Adapt, That is the Ski QuestionYuvaraj Chesetti, Prashant PandeySIGMOD 2026 · 1 citation
- Hourglass: An Adaptive Range Filter with Lightweight Hybrid EncodingFeifan Liu, Rong Gu, Meng Li, Haipeng Dai et al.SIGMOD 2026 · 1 citation
- InfiniFilter: Expanding Filters to Infinity and BeyondNiv Dayan, Ioana O. Bercea, Pedro Reviriego, Rasmus PaghSIGMOD 2023 · 27 citations
- The Reinforcement Cuckoo FilterMeng Li, Wenqi Luo, Haipeng Dai, Huayi Chai et al.INFOCOM 2024 · 1 citation
- 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
