Lune

Abstract

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.

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.

13 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Oasis: An Optimal Disjoint Segmented Learned Range Filter cites ALEX: An Updatable Adaptive Learned Index
  • 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 Benchmarking Learned Indexes
  • Oasis: An Optimal Disjoint Segmented Learned Range Filter cites REMIX: Efficient Range Query for LSM-trees
  • Oasis: An Optimal Disjoint Segmented Learned Range Filter cites REncoder: A Space-Time Efficient Range Filter with Local Encoder
  • Benchmarking Learned Indexes cites ALEX: An Updatable Adaptive Learned Index
  • InfiniFilter: Expanding Filters to Infinity and Beyond cites Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
  • REMIX: Efficient Range Query for LSM-trees 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 ALEX: An Updatable Adaptive Learned Index
  • 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 Benchmarking Learned Indexes
  • 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 REMIX: Efficient Range Query for LSM-trees
  • 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
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. An Empirical Evaluation of Columnar Storage FormatsXinyu Zeng, Yulong Hui, Jiahong Shen, Andrew Pavlo et al.VLDB 2024 · 59 citations
  2. InfiniFilter: Expanding Filters to Infinity and BeyondNiv Dayan, Ioana O. Bercea, Pedro Reviriego, Rasmus PaghSIGMOD 2023 · 27 citations
  3. REncoder: A Space-Time Efficient Range Filter with Local EncoderZiwei Wang, Zheng Zhong, Jiarui Guo, Yuhan Wu et al.ICDE 2023 · 18 citations
  4. Oasis: An Optimal Disjoint Segmented Learned Range FilterGuanduo Chen, Meng Li, Siqiang Luo, Zhenying HeVLDB 2024 · 17 citations
  5. GRF: A Global Range Filter for LSM-Trees with Shape EncodingHengrui Wang, Te Guo, Junzhao Yang, Huanchen ZhangSIGMOD 2024 · 15 citations

Builds on5

  1. ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
  2. Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian et al.VLDB 2021 · 185 citations
  3. 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
  4. REMIX: Efficient Range Query for LSM-treesWenshao Zhong, Chen Chen, Xingbo Wu, Song JiangFAST 2021 · 67 citations
  5. The Case for a Learned Sorting AlgorithmAni Kristo, Kapil Vaidya, Ugur Çetintemel, Sanchit Misra et al.SIGMOD 2020 · 47 citations

Related papers

  1. Proteus: A Self-Designing Range FilterEric R. Knorr, Baptiste Lemaire, Andrew Lim, Siqiang Luo et al.SIGMOD 2022 · 30 citations
  2. Diva: Dynamic Range Filter for Var-Length Keys and QueriesNavid Eslami, Ioana O. Bercea, Niv DayanVLDB 2025 · 6 citations
  3. SplinterDB and Maplets: Improving the Tradeoffs in Key-Value Store Compaction PolicyAlex Conway, Martin Farach-Colton, Rob JohnsonSIGMOD 2023 · 20 citations
  4. Hourglass: An Adaptive Range Filter with Lightweight Hybrid EncodingFeifan Liu, Rong Gu, Meng Li, Haipeng Dai et al.SIGMOD 2026 · 1 citation
  5. Aeris Filter: A Strongly and Monotonically Adaptive Range FilterYuvaraj Chesetti, Navid Eslami, Huanchen Zhang, Niv Dayan et al.SIGMOD 2026 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines