On Distribution Dependent Sub-Logarithmic Query Time of Learned Indexing
Sepanta Zeighami, Cyrus Shahabi
摘要
A fundamental problem in data management is to find the elements in an array that match a query. Recently, learned indexes are being extensively used to solve this problem, where they learn a model to predict the location of the items in the array. They are empirically shown to outperform non-learned methods (e.g., B-trees or binary search that answer queries in O(log n) time) by orders of magnitude. However, success of learned indexes has not been theoretically justified. Only existing attempt shows the same query time of O(log n), but with a constant factor improvement in space complexity over non-learned methods, under some assumptions on data distribution. In this paper, we significantly strengthen this result, showing that under mild assumptions on data distribution, and the same space complexity as non-learned methods, learned indexes can answer queries in O(log log n) expected query time. We also show that allowing for slightly larger but still near-linear space overhead, a learned index can achieve O(1) expected query time. Our results theoretically prove learned indexes are orders of magnitude faster than non-learned methods, theoretically grounding their empirical success.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Why Are Learned Indexes So Effective? 引用了 ALEX: An Updatable Adaptive Learned Index
- Why Are Learned Indexes So Effective? 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Benchmarking Learned Indexes 引用了 ALEX: An Updatable Adaptive Learned Index
- Benchmarking Learned Indexes 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Theoretical Analysis of Learned Database Operations under Distribution Shift through Distribution Learnability 引用了 ALEX: An Updatable Adaptive Learned Index
- Theoretical Analysis of Learned Database Operations under Distribution Shift through Distribution Learnability 引用了 Why Are Learned Indexes So Effective?
- Theoretical Analysis of Learned Database Operations under Distribution Shift through Distribution Learnability 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Discovering Data Structures: Nearest Neighbor Search and Beyond 引用了 ALEX: An Updatable Adaptive Learned Index
- LiBox: A Learned Index as an Array to Minimize Last-Mile Search 引用了 ALEX: An Updatable Adaptive Learned Index
- LiBox: A Learned Index as an Array to Minimize Last-Mile Search 引用了 Benchmarking Learned Indexes
- LiBox: A Learned Index as an Array to Minimize Last-Mile Search 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Understanding Robustness Issues of Updatable Learned Indexes: [Experiments & Analysis] 引用了 ALEX: An Updatable Adaptive Learned Index
- Understanding Robustness Issues of Updatable Learned Indexes: [Experiments & Analysis] 引用了 Why Are Learned Indexes So Effective?
- Understanding Robustness Issues of Updatable Learned Indexes: [Experiments & Analysis] 引用了 Benchmarking Learned Indexes
- Understanding Robustness Issues of Updatable Learned Indexes: [Experiments & Analysis] 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Why Are Learned Indexes So Effective but Sometimes Ineffective? 引用了 ALEX: An Updatable Adaptive Learned Index
- Why Are Learned Indexes So Effective but Sometimes Ineffective? 引用了 Why Are Learned Indexes So Effective?
- Why Are Learned Indexes So Effective but Sometimes Ineffective? 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
引用它的顶会 Paper6
- Why Are Learned Indexes So Effective but Sometimes Ineffective?Qiyu Liu, Siyuan Han, Yanlin Qi, Jingshu Peng 等VLDB 2025 · 12 次引用
- Theoretical Analysis of Learned Database Operations under Distribution Shift through Distribution LearnabilitySepanta Zeighami, Cyrus ShahabiICML 2024 · 5 次引用
- Understanding Robustness Issues of Updatable Learned Indexes: [Experiments & Analysis]Yuanhui Luo, Minhui Xie, Yiheng Tong, Shichao Jiang 等SIGMOD 2026 · 1 次引用
- Discovering Data Structures: Nearest Neighbor Search and BeyondOmar Salemohamed, Laurent Charlin, Shivam Garg, Vatsal Sharan 等NeurIPS 2025
- LiBox: A Learned Index as an Array to Minimize Last-Mile SearchJian Zhou, Luna Wang, Shuaihua Zhao, Chen Zhong 等VLDB 2026
它引用的 Paper4
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang 等SIGMOD 2020 · 274 次引用
- Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian 等VLDB 2021 · 185 次引用
- The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 次引用
- Why Are Learned Indexes So Effective?Paolo Ferragina, Fabrizio Lillo, Giorgio VinciguerraICML 2020 · 63 次引用
相关 Paper
- Learned Index with Dynamic Daoyuan Chen, Wuchao Li, Yaliang Li, Bolin Ding 等ICLR 2023
- Towards Establishing Guaranteed Error for Learned Database OperationsSepanta Zeighami, Cyrus ShahabiICLR 2024 · 4 次引用
- Learned Index: A Comprehensive Experimental EvaluationZhaoyan Sun, Xuanhe Zhou, Guoliang LiVLDB 2023 · 87 次引用
- DIndex: an Efficient on-Disk Learned Index for Memory-Constrained EnvironmentsJiahuan Shen, Chuzhe Tang, Haoning Lan, Ren Ren 等ICDE 2026
- Effectively Learning Spatial IndicesJianzhong Qi, Guanli Liu, Christian S. Jensen, Lars KulikVLDB 2020 · 121 次引用
