Why Are Learned Indexes So Effective?
Paolo Ferragina, Fabrizio Lillo, Giorgio Vinciguerra
Abstract
A recent trend in algorithm design consists of augmenting classic data structures with machine learning models, which are better suited to reveal and exploit patterns and trends in the input data so to achieve outstanding practical improvements in space occupancy and time efficiency. This is especially known in the context of indexing data structures where, despite few attempts in evaluating their asymptotic efficiency, theoretical results are yet missing in showing that learned indexes are provably better than classic indexes, such as B + -trees and their variants. In this paper, we present the first mathematically-grounded answer to this open problem. We obtain this result by discovering and exploiting a link between the original problem and a mean exit time problem over a proper stochastic process which, we show, is related to the space and time occupancy of those learned indexes. Our general result is then specialised to five well-known distributions: Uniform, Lognormal, Pareto, Exponential, and Gamma; and it is corroborated in precision and robustness by a large set of experiments.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2566b7cb-0f8d-4826-85c7-55c53b5c2f9bCited by top-tier papers23
- Faster Fundamental Graph Algorithms via Learned PredictionsJustin Y. Chen, Sandeep Silwal, Ali Vakilian, Fred ZhangICML 2022 · 58 citations
- LeaFTL: A Learning-Based Flash Translation Layer for Solid-State DrivesJinghan Sun, Shaobo Li, Yunxin Sun, Chao Sun et al.ASPLOS 2023 · 38 citations
- A Critical Analysis of Recursive Model IndexesMarcel Maltry, Jens DittrichVLDB 2022 · 35 citations
- Triangle and Four Cycle Counting with Predictions in Graph StreamsJustin Y. Chen, Talya Eden, Piotr Indyk, Honghao Lin et al.ICLR 2022 · 29 citations
- On Distribution Dependent Sub-Logarithmic Query Time of Learned IndexingSepanta Zeighami, Cyrus ShahabiICML 2023 · 20 citations
Builds on2
Related papers
- Why Are Learned Indexes So Effective but Sometimes Ineffective?Qiyu Liu, Siyuan Han, Yanlin Qi, Jingshu Peng et al.VLDB 2025 · 12 citations
- Learned Index with Dynamic Daoyuan Chen, Wuchao Li, Yaliang Li, Bolin Ding et al.ICLR 2023
- Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian et al.VLDB 2021 · 185 citations
- Learned Index: A Comprehensive Experimental EvaluationZhaoyan Sun, Xuanhe Zhou, Guoliang LiVLDB 2023 · 87 citations
- Making In-Memory Learned Indexes Efficient on DiskJiaoyi Zhang, Kai Su, Huanchen ZhangSIGMOD 2024 · 18 citations
