SNARF: A Learning-Enhanced Range Filter
Kapil Vaidya, Tim Kraska, Subarna Chatterjee, Eric R. Knorr, Michael Mitzenmacher, Stratos Idreos
摘要
We present Sparse Numerical Array-Based Range Filters (SNARF), a learned range filter that efficiently supports range queries for numerical data. SNARF creates a model of the data distribution to map the keys into a bit array which is stored in a compressed form. The model along with the compressed bit array which constitutes SNARF are used to answer membership queries. We evaluate SNARF on multiple synthetic and real-world datasets as a stand-alone filter and by integrating it into RocksDB. For range queries, SNARF provides up to 50x better false positive rate than state-of-the-art range filters, such as SuRF and Rosetta, with the same space usage. We also evaluate SNARF in RocksDB as a filter replacement for filtering requests before they access on-disk data structures. For RocksDB, SNARF can improve the execution time of the system up to 10x compared to SuRF and Rosetta for certain read-only workloads.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Oasis: An Optimal Disjoint Segmented Learned Range Filter 引用了 ALEX: An Updatable Adaptive Learned Index
- Oasis: An Optimal Disjoint Segmented Learned Range Filter 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- Oasis: An Optimal Disjoint Segmented Learned Range Filter 引用了 Benchmarking Learned Indexes
- Oasis: An Optimal Disjoint Segmented Learned Range Filter 引用了 REMIX: Efficient Range Query for LSM-trees
- Oasis: An Optimal Disjoint Segmented Learned Range Filter 引用了 REncoder: A Space-Time Efficient Range Filter with Local Encoder
- Benchmarking Learned Indexes 引用了 ALEX: An Updatable Adaptive Learned Index
- InfiniFilter: Expanding Filters to Infinity and Beyond 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- REMIX: Efficient Range Query for LSM-trees 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding 引用了 ALEX: An Updatable Adaptive Learned Index
- 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 引用了 Benchmarking Learned Indexes
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding 引用了 InfiniFilter: Expanding Filters to Infinity and Beyond
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding 引用了 REMIX: Efficient Range Query for LSM-trees
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding 引用了 REncoder: A Space-Time Efficient Range Filter with Local Encoder
- REncoder: A Space-Time Efficient Range Filter with Local Encoder 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
引用它的顶会 Paper13
- An Empirical Evaluation of Columnar Storage FormatsXinyu Zeng, Yulong Hui, Jiahong Shen, Andrew Pavlo 等VLDB 2024 · 59 次引用
- InfiniFilter: Expanding Filters to Infinity and BeyondNiv Dayan, Ioana O. Bercea, Pedro Reviriego, Rasmus PaghSIGMOD 2023 · 27 次引用
- REncoder: A Space-Time Efficient Range Filter with Local EncoderZiwei Wang, Zheng Zhong, Jiarui Guo, Yuhan Wu 等ICDE 2023 · 18 次引用
- Oasis: An Optimal Disjoint Segmented Learned Range FilterGuanduo Chen, Meng Li, Siqiang Luo, Zhenying HeVLDB 2024 · 17 次引用
- GRF: A Global Range Filter for LSM-Trees with Shape EncodingHengrui Wang, Te Guo, Junzhao Yang, Huanchen ZhangSIGMOD 2024 · 15 次引用
它引用的 Paper5
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang 等SIGMOD 2020 · 274 次引用
- Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian 等VLDB 2021 · 185 次引用
- Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value StoresSiqiang Luo, Subarna Chatterjee, Rafael Ketsetsidis, Niv Dayan 等SIGMOD 2020 · 91 次引用
- REMIX: Efficient Range Query for LSM-treesWenshao Zhong, Chen Chen, Xingbo Wu, Song JiangFAST 2021 · 67 次引用
- The Case for a Learned Sorting AlgorithmAni Kristo, Kapil Vaidya, Ugur Çetintemel, Sanchit Misra 等SIGMOD 2020 · 47 次引用
相关 Paper
- Proteus: A Self-Designing Range FilterEric R. Knorr, Baptiste Lemaire, Andrew Lim, Siqiang Luo 等SIGMOD 2022 · 30 次引用
- Diva: Dynamic Range Filter for Var-Length Keys and QueriesNavid Eslami, Ioana O. Bercea, Niv DayanVLDB 2025 · 6 次引用
- SplinterDB and Maplets: Improving the Tradeoffs in Key-Value Store Compaction PolicyAlex Conway, Martin Farach-Colton, Rob JohnsonSIGMOD 2023 · 20 次引用
- Hourglass: An Adaptive Range Filter with Lightweight Hybrid EncodingFeifan Liu, Rong Gu, Meng Li, Haipeng Dai 等SIGMOD 2026 · 1 次引用
- Aeris Filter: A Strongly and Monotonically Adaptive Range FilterYuvaraj Chesetti, Navid Eslami, Huanchen Zhang, Niv Dayan 等SIGMOD 2026 · 4 次引用
