Benchmarking Learned Indexes
Ryan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian, Sanchit Misra, Alfons Kemper, Thomas Neumann, Tim Kraska
Abstract
Recent advancements in learned index structures propose replacing existing index structures, like B-Trees, with approximate learned models. In this work, we present a unified benchmark that compares well-tuned implementations of three learned index structures against several state-of-theart "traditional" baselines. Using four real-world datasets, we demonstrate that learned index structures can indeed outperform non-learned indexes in read-only in-memory workloads over a dense array. We also investigate the impact of caching, pipelining, dataset size, and key size. We study the performance profile of learned index structures, and build an explanation for why learned models achieve such good performance. Finally, we investigate other important properties of learned index structures, such as their performance in multi-threaded systems and their build times.
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.
34 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
- FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory Systems cites ALEX: An Updatable Adaptive Learned Index
- FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory Systems cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- SNARF: A Learning-Enhanced Range Filter cites ALEX: An Updatable Adaptive Learned Index
- Can Learned Models Replace Hash Functions? cites ALEX: An Updatable Adaptive Learned Index
- Can Learned Models Replace Hash Functions? cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- The Case for Learned In-Memory Joins cites ALEX: An Updatable Adaptive Learned Index
- The Case for Learned In-Memory Joins cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models cites ALEX: An Updatable Adaptive Learned Index
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models cites FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory Systems
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
Cited by top-tier papers34
- FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory SystemsPengfei Li, Yu Hua, Jingnan Jia, Pengfei ZuoVLDB 2022 · 97 citations
- SNARF: A Learning-Enhanced Range FilterKapil Vaidya, Tim Kraska, Subarna Chatterjee, Eric R. Knorr et al.VLDB 2022 · 39 citations
- Can Learned Models Replace Hash Functions?Ibrahim Sabek, Kapil Vaidya, Dominik Horn, Andreas Kipf et al.VLDB 2023 · 29 citations
- SALI: A Scalable Adaptive Learned Index Framework based on Probability ModelsJiake Ge, Huanchen Zhang, Boyu Shi, Yuanhui Luo et al.SIGMOD 2024 · 28 citations
- The Case for Learned In-Memory JoinsIbrahim Sabek, Tim KraskaVLDB 2023 · 27 citations
Builds on2
Related papers
- Understanding Robustness Issues of Updatable Learned Indexes: [Experiments & Analysis]Yuanhui Luo, Minhui Xie, Yiheng Tong, Shichao Jiang et al.SIGMOD 2026 · 1 citation
- Learned Index: A Comprehensive Experimental EvaluationZhaoyan Sun, Xuanhe Zhou, Guoliang LiVLDB 2023 · 87 citations
- Are Updatable Learned Indexes Ready?Chaichon Wongkham, Baotong Lu, Chris Liu, Zhicong Zhong et al.VLDB 2022 · 66 citations
- Hyper: A High-Performance and Memory-Efficient Learned Index via Hybrid ConstructionShunkang Zhang, Ji Qi, Xin Yao, André BrinkmannSIGMOD 2024 · 12 citations
- Making In-Memory Learned Indexes Efficient on DiskJiaoyi Zhang, Kai Su, Huanchen ZhangSIGMOD 2024 · 18 citations
