Lune

Abstract

We consider the task of constructing a data structure for associating a static set of keys with values, while allowing arbitrary output values for queries involving keys outside the set. Compared to hash tables, these so-called static function data structures do not need to store the key set and thus use significantly less memory. Several techniques are known, with compressed static functions approaching the zero-order empirical entropy of the value sequence. In this paper, we introduce learned static functions, which use machine learning to capture correlations between keys and values. For each key, a model predicts a probability distribution over the values, from which we derive a key-specific prefix code to compactly encode the true value. The resulting codeword is stored in a classic static function data structure. This design allows learned static functions to break the zero-order entropy barrier while still supporting point queries. Our experiments show substantial space savings: up to one order of magnitude on real data, and up to three orders of magnitude on synthetic data.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Can Learned Models Replace Hash Functions? cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
  • LeCo: Lightweight Compression via Learning Serial Correlations cites DeepSqueeze: Deep Semantic Compression for Tabular Data
  • LeCo: Lightweight Compression via Learning Serial Correlations cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on10

  1. The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 citations
  2. DeepSqueeze: Deep Semantic Compression for Tabular DataAmir Ilkhechi, Andrew Crotty, Alex Galakatos, Yicong Mao et al.SIGMOD 2020 · 30 citations
  3. Can Learned Models Replace Hash Functions?Ibrahim Sabek, Kapil Vaidya, Dominik Horn, Andreas Kipf et al.VLDB 2023 · 29 citations
  4. LeCo: Lightweight Compression via Learning Serial CorrelationsYihao Liu, Xinyu Zeng, Huanchen ZhangSIGMOD 2024 · 17 citations
  5. Fast Partitioned Learned Bloom FilterAtsuki Sato, Yusuke MatsuiNeurIPS 2023 · 13 citations

Related papers

  1. Nearly optimal static Las Vegas succinct dictionaryHuacheng YuSTOC 2020 · 6 citations
  2. Optimal Static Dictionary with Worst-Case Constant Query TimeYang Hu, Jingxun Liang, Huacheng Yu, Junkai Zhang et al.STOC 2025 · 3 citations
  3. LICO: An SIMD-Aware High-Performance Learned Inverted Index Compression FrameworkXianyu Zhu, Qiyu Liu, Guangyi Zhang, Zhibing Sha et al.SIGMOD 2026
  4. New Wine in an Old Bottle: Data-aware Hash Functions for Bloom FiltersArindam Bhattacharya, Chathur Gudesa, Amitabha Bagchi, Srikanta BedathurVLDB 2022 · 6 citations
  5. Compressing Tabular Data via Latent Variable EstimationAndrea Montanari, Eric WeinerICML 2023
Dusk over the sea between two cliffs drawn in fine vertical lines