Adaptive Quotient Filters
Richard Wen, Hunter McCoy, David Tench, Guido Tagliavini, Michael A. Bender, Alex Conway, Martin Farach-Colton, Rob Johnson, Prashant Pandey
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Seesaw Counting Filter: An Efficient Guardian for Vulnerable Negative Keys During Dynamic Filtering 引用了 Stacked Filters: Learning to Filter by Structure
- Sphinx: A Succinct Perfect Hash Index for x86 引用了 Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
- Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design 引用了 SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value Stores
引用它的顶会 Paper1
它引用的 Paper5
- CRLite: A Scalable System for Pushing All TLS Revocations to All BrowsersJames Larisch, David R. Choffnes, Dave Levin, Bruce M. Maggs 等S&P 2017 · 105 次引用
- SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value StoresAlexander Conway, Abhishek Gupta, Vijay Chidambaram, Martin Farach-Colton 等USENIX ATC 2020 · 90 次引用
- Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter DesignPrashant Pandey, Alex Conway, Joe Durie, Michael A. Bender 等SIGMOD 2021 · 40 次引用
- Seesaw Counting Filter: An Efficient Guardian for Vulnerable Negative Keys During Dynamic FilteringMeng Li, Deyi Chen, Haipeng Dai, Rongbiao Xie 等WWW 2022 · 15 次引用
- Stacked Filters: Learning to Filter by StructureKyle Deeds, Brian Hentschel, Stratos IdreosVLDB 2021 · 10 次引用
相关 Paper
- To Adapt or Not to Adapt, That is the Ski QuestionYuvaraj Chesetti, Prashant PandeySIGMOD 2026 · 1 次引用
- Hourglass: An Adaptive Range Filter with Lightweight Hybrid EncodingFeifan Liu, Rong Gu, Meng Li, Haipeng Dai 等SIGMOD 2026 · 1 次引用
- InfiniFilter: Expanding Filters to Infinity and BeyondNiv Dayan, Ioana O. Bercea, Pedro Reviriego, Rasmus PaghSIGMOD 2023 · 27 次引用
- The Reinforcement Cuckoo FilterMeng Li, Wenqi Luo, Haipeng Dai, Huayi Chai 等INFOCOM 2024 · 1 次引用
- Dynamic Flat Filter: A Unified Framework for Scalable and Stable Fingerprint-Based FiltersYang Du, Shankui Ji, He Huang, Yu-E Sun 等SIGMOD 2026
