Proteus: A Self-Designing Range Filter
Eric R. Knorr, Baptiste Lemaire, Andrew Lim, Siqiang Luo, Huanchen Zhang, Stratos Idreos, Michael Mitzenmacher
Abstract
We introduce Proteus, a novel self-designing approximate range filter, which configures itself based on sampled data in order to optimize its false positive rate (FPR) for a given space requirement. Proteus unifies the probabilistic and deterministic design spaces of state-of-the-art range filters to achieve robust performance across a larger variety of use cases. At the core of Proteus lies our Contextual Prefix FPR (CPFPR) model - a formal framework for the FPR of prefix-based filters across their design spaces. We empirically demonstrate the accuracy of our model and Proteus' ability to optimize over both synthetic workloads and real-world datasets. We further evaluate Proteus in RocksDB and show that it is able to improve end-to-end performance by as much as 5.3x over more brittle state-of-the-art methods such as SuRF and Rosetta. Our experiments also indicate that the cost of modeling is not significant compared to the end-to-end performance gains and that Proteus is robust to workload shifts.
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.
17 top-tier papers have 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
- Oasis: An Optimal Disjoint Segmented Learned Range Filter cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- Oasis: An Optimal Disjoint Segmented Learned Range Filter cites Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads
- Oasis: An Optimal Disjoint Segmented Learned Range Filter cites REncoder: A Space-Time Efficient Range Filter with Local Encoder
- Evolution of Development Priorities in Key-value Stores Serving Large-scale Applications: The RocksDB Experience cites Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at Facebook
- Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads cites Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at Facebook
- InfiniFilter: Expanding Filters to Infinity and Beyond cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- InfiniFilter: Expanding Filters to Infinity and Beyond cites Stacked Filters: Learning to Filter by Structure
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites Evolution of Development Priorities in Key-value Stores Serving Large-scale Applications: The RocksDB Experience
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites Stacked Filters: Learning to Filter by Structure
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites InfiniFilter: Expanding Filters to Infinity and Beyond
- GRF: A Global Range Filter for LSM-Trees with Shape Encoding cites REncoder: A Space-Time Efficient Range Filter with Local Encoder
- REncoder: A Space-Time Efficient Range Filter with Local Encoder cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
Cited by top-tier papers17
- InfiniFilter: Expanding Filters to Infinity and BeyondNiv Dayan, Ioana O. Bercea, Pedro Reviriego, Rasmus PaghSIGMOD 2023 · 27 citations
- Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic WorkloadsDingheng Mo, Fanchao Chen, Siqiang Luo, Caihua ShanSIGMOD 2024 · 26 citations
- REncoder: A Space-Time Efficient Range Filter with Local EncoderZiwei Wang, Zheng Zhong, Jiarui Guo, Yuhan Wu et al.ICDE 2023 · 18 citations
- Oasis: An Optimal Disjoint Segmented Learned Range FilterGuanduo Chen, Meng Li, Siqiang Luo, Zhenying HeVLDB 2024 · 17 citations
- GRF: A Global Range Filter for LSM-Trees with Shape EncodingHengrui Wang, Te Guo, Junzhao Yang, Huanchen ZhangSIGMOD 2024 · 15 citations
Builds on4
- Evolution of Development Priorities in Key-value Stores Serving Large-scale Applications: The RocksDB ExperienceSiying Dong, Andrew Kryczka, Yanqin Jin, Michael StummFAST 2021 · 110 citations
- 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
- Stacked Filters: Learning to Filter by StructureKyle Deeds, Brian Hentschel, Stratos IdreosVLDB 2021 · 10 citations
- Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at FacebookZhichao Cao, Siying Dong, Sagar Vemuri, David H. C. DuFAST 2020
Related papers
- SNARF: A Learning-Enhanced Range FilterKapil Vaidya, Tim Kraska, Subarna Chatterjee, Eric R. Knorr et al.VLDB 2022 · 39 citations
- Diva: Dynamic Range Filter for Var-Length Keys and QueriesNavid Eslami, Ioana O. Bercea, Niv DayanVLDB 2025 · 6 citations
- Grafite: Taming Adversarial Queries with Optimal Range FiltersMarco Costa, Paolo Ferragina, Giorgio VinciguerraSIGMOD 2024 · 11 citations
- Aeris Filter: A Strongly and Monotonically Adaptive Range FilterYuvaraj Chesetti, Navid Eslami, Huanchen Zhang, Niv Dayan et al.SIGMOD 2026 · 4 citations
- Memento Filter: A Fast, Dynamic, and Robust Range FilterNavid Eslami, Niv DayanSIGMOD 2025 · 13 citations
