Lune

VLDB2020Top-tier venue

The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds

Paolo Ferragina, Giorgio Vinciguerra

Abstract

The recent introduction of learned indexes has shaken the foundations of the decades-old field of indexing data structures. Combining, or even replacing, classic design elements such as B-tree nodes with machine learning models has proven to give outstanding improvements in the space footprint and time efficiency of data systems. However, these novel approaches are based on heuristics, thus they lack any guarantees both in their time and space requirements. We propose the Piecewise Geometric Model index (shortly, PGM-index), which achieves guaranteed I/O-optimality in query operations, learns an optimal number of linear models, and its peculiar recursive construction makes it a purely learned data structure, rather than a hybrid of traditional and learned indexes (such as RMI and FITing-tree). We show experimentally that the PGM-index improves the space of the best known learned index, i.e. FITing-tree, by 63.3% and of the B-tree by more than four orders of magnitude, while achieving their same or even better query time efficiency. We complement this result by proposing three variants of the PGM-index which address some key issues occurring in the design of modern big data systems. First, we design a compressed PGM-index that further reduces its succinct space footprint by exploiting the repetitiveness at the level of the learned linear models it is composed of. Second, we design a PGM-index that adapts itself to the distribution of the query operations, thus resulting in the first known distribution-aware learned index to date. Finally, given its flexibility in the offered space-time trade-offs, we propose the multicriteria PGM-index whose speciality is to efficiently auto-tune itself in a few seconds over hundreds of millions of keys to the possibly evolving space-time constraints imposed by the application of use.

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.

91 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

  • Updatable Learned Index with Precise Positions cites XIndex: a scalable learned index for multicore data storage
  • Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads cites XIndex: a scalable learned index for multicore data storage
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers91

  1. Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian et al.VLDB 2021 · 185 citations
  2. Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed WorkloadsJialin Ding, Vikram Nathan, Mohammad Alizadeh, Tim KraskaVLDB 2021 · 178 citations
  3. Updatable Learned Index with Precise PositionsJiacheng Wu, Yong Zhang, Shimin Chen, Yu Chen et al.VLDB 2021 · 160 citations
  4. Effectively Learning Spatial IndicesJianzhong Qi, Guanli Liu, Christian S. Jensen, Lars KulikVLDB 2020 · 121 citations
  5. XIndex: a scalable learned index for multicore data storageChuzhe Tang, Youyun Wang, Zhiyuan Dong, Gansen Hu et al.PPoPP 2020 · 109 citations

Related papers

  1. Why Are Learned Indexes So Effective but Sometimes Ineffective?Qiyu Liu, Siyuan Han, Yanlin Qi, Jingshu Peng et al.VLDB 2025 · 12 citations
  2. VEGA: An Active-tuning Learned Index with Group-Wise Learning GranularityMeng Li, Huayi Chai, Siqiang Luo, Haipeng Dai et al.SIGMOD 2025 · 3 citations
  3. Learned Index with Dynamic ϵ\epsilonDaoyuan Chen, Wuchao Li, Yaliang Li, Bolin Ding et al.ICLR 2023
  4. LISA: A Learned Index Structure for Spatial DataPengfei Li, Hua Lu, Qian Zheng, Long Yang et al.SIGMOD 2020 · 158 citations
  5. CARMI: A Cache-Aware Learned Index with a Cost-based Construction AlgorithmJiaoyi Zhang, Yihan GaoVLDB 2022 · 42 citations
Dusk over the sea between two cliffs drawn in fine vertical lines