Lune

SIGMOD2023顶会

InfiniFilter: Expanding Filters to Infinity and Beyond

Niv Dayan, Ioana O. Bercea, Pedro Reviriego, Rasmus Pagh

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Chucky: A Succinct Cuckoo Filter for LSM-Tree 引用了 Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo Filters
  • Memento Filter: A Fast, Dynamic, and Robust Range Filter 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
  • Memento Filter: A Fast, Dynamic, and Robust Range Filter 引用了 Chucky: A Succinct Cuckoo Filter for LSM-Tree
  • Memento Filter: A Fast, Dynamic, and Robust Range Filter 引用了 Grafite: Taming Adversarial Queries with Optimal Range Filters
  • Memento Filter: A Fast, Dynamic, and Robust Range Filter 引用了 SNARF: A Learning-Enhanced Range Filter
  • Memento Filter: A Fast, Dynamic, and Robust Range Filter 引用了 GRF: A Global Range Filter for LSM-Trees with Shape Encoding
  • Grafite: Taming Adversarial Queries with Optimal Range Filters 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
  • Grafite: Taming Adversarial Queries with Optimal Range Filters 引用了 SNARF: A Learning-Enhanced Range Filter
  • Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM trees 引用了 Chucky: A Succinct Cuckoo Filter for LSM-Tree
  • Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM trees 引用了 Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
  • Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM trees 引用了 Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo Filters
  • SNARF: A Learning-Enhanced Range Filter 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
  • Diva: Dynamic Range Filter for Var-Length Keys and Queries 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
  • Diva: Dynamic Range Filter for Var-Length Keys and Queries 引用了 Chucky: A Succinct Cuckoo Filter for LSM-Tree
  • Diva: Dynamic Range Filter for Var-Length Keys and Queries 引用了 Memento Filter: A Fast, Dynamic, and Robust Range Filter
  • Diva: Dynamic Range Filter for Var-Length Keys and Queries 引用了 Grafite: Taming Adversarial Queries with Optimal Range Filters
  • Diva: Dynamic Range Filter for Var-Length Keys and Queries 引用了 SNARF: A Learning-Enhanced Range Filter
  • GRF: A Global Range Filter for LSM-Trees with Shape Encoding 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
  • GRF: A Global Range Filter for LSM-Trees with Shape Encoding 引用了 Chucky: A Succinct Cuckoo Filter for LSM-Tree
  • GRF: A Global Range Filter for LSM-Trees with Shape Encoding 引用了 Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter Design
  • GRF: A Global Range Filter for LSM-Trees with Shape Encoding 引用了 SNARF: A Learning-Enhanced Range Filter
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

  1. GRF: A Global Range Filter for LSM-Trees with Shape EncodingHengrui Wang, Te Guo, Junzhao Yang, Huanchen ZhangSIGMOD 2024 · 15 次引用
  2. Memento Filter: A Fast, Dynamic, and Robust Range FilterNavid Eslami, Niv DayanSIGMOD 2025 · 13 次引用
  3. Grafite: Taming Adversarial Queries with Optimal Range FiltersMarco Costa, Paolo Ferragina, Giorgio VinciguerraSIGMOD 2024 · 11 次引用
  4. Diva: Dynamic Range Filter for Var-Length Keys and QueriesNavid Eslami, Ioana O. Bercea, Niv DayanVLDB 2025 · 6 次引用
  5. Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM treesZichen Zhu, Yanpeng Wei, Ju Hyoung Mun, Manos AthanassoulisSIGMOD 2025 · 3 次引用

它引用的 Paper9

  1. Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value StoresSiqiang Luo, Subarna Chatterjee, Rafael Ketsetsidis, Niv Dayan 等SIGMOD 2020 · 91 次引用
  2. Vacuum Filters: More Space-Efficient and Faster Replacement for Bloom and Cuckoo FiltersMinmei Wang, Mingxun Zhou, Shouqian Shi, Chen QianVLDB 2020 · 58 次引用
  3. Chucky: A Succinct Cuckoo Filter for LSM-TreeNiv Dayan, Moshe TwittoSIGMOD 2021 · 57 次引用
  4. Vector Quotient Filters: Overcoming the Time/Space Trade-Off in Filter DesignPrashant Pandey, Alex Conway, Joe Durie, Michael A. Bender 等SIGMOD 2021 · 40 次引用
  5. SNARF: A Learning-Enhanced Range FilterKapil Vaidya, Tim Kraska, Subarna Chatterjee, Eric R. Knorr 等VLDB 2022 · 39 次引用

相关 Paper

  1. Aleph Filter: To Infinity in Constant TimeNiv Dayan, Ioana Oriana Bercea, Rasmus PaghVLDB 2024 · 13 次引用
  2. Dynamic Flat Filter: A Unified Framework for Scalable and Stable Fingerprint-Based FiltersYang Du, Shankui Ji, He Huang, Yu-E Sun 等SIGMOD 2026
  3. Space Lower Bounds for Dynamic Filters and Value-Dynamic RetrievalWilliam Kuszmaul, Stefan WalzerSTOC 2024 · 2 次引用
  4. Fingerprint Filters Are OptimalWilliam Kuszmaul, Jingxun Liang, Renfei ZhouFOCS 2025 · 4 次引用
  5. Prefix Filter: Practically and Theoretically Better Than BloomTomer Even, Guy Even, Adam MorrisonVLDB 2022 · 13 次引用
黄昏的海面,两侧是细线勾勒的悬崖