Lune

VLDB2026顶会

LiBox: A Learned Index as an Array to Minimize Last-Mile Search

Jian Zhou, Luna Wang, Shuaihua Zhao, Chen Zhong, Song Jiang

摘要

Learned indexes have attracted significant attention for their potential to deliver substantial performance and space savings over traditional index structures. Their advantage lies in replacing explicit key comparisons with model-based computation that predicts the position of a search key in a sorted array. However, prediction errors prevent models from precisely locating keys, requiring a last-mile search over a candidate range. Both model evaluation and last-mile search can be expensive, limiting the performance. We propose LiBox, a hierarchical, box-based learned index that overcomes these limitations. LiBox partitions a sorted key array into "boxes" such that: (1) the box containing a search key can be identified with zero error using a simple linear regression function, and (2) the last-mile search within a box requires only a single AVX-512 instruction. This design yields a highly predictable and efficient lookup, with each query involving a fixed, minimal number of instructions and memory accesses. By allocating modest extra space within each box to handle irregular key distributions, LiBox supports both read and write queries at near array-access speed. Furthermore, its reorganization operations can be aligned with workload read/write intensity, enabling high-performance reads while hiding structural modification costs. We propose LiBox, a hierarchical box-based learned index that addresses these limitations. LiBox partitions a sorted key array into disjoint "boxes" such that: (1) the box containing a search key can be identified without error using a simple linear regression function, and (2) the last-mile search within a box usually requires only a single AVX-512 vector instruction. This design yields a highly predictable and efficient lookup process, with each query involving a fixed and minimal number of instructions and memory accesses. By allocating a modest amount of additional space within each box to accommodate irregular key distributions, LiBox supports both read and write queries at near-array-access speed. We implemented LiBox and conducted an extensive experimental evaluation. The results demonstrate that it significantly outperforms both state-of-the-art learned indexes (e.g., ALEX, LIPP) and non-learned indexes (e.g., ART) while achieving comparable or better space efficiency.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Updatable Learned Index with Precise Positions 引用了 ALEX: An Updatable Adaptive Learned Index
  • Updatable Learned Index with Precise Positions 引用了 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
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper15

  1. ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang 等SIGMOD 2020 · 274 次引用
  2. Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian 等VLDB 2021 · 185 次引用
  3. The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 次引用
  4. Updatable Learned Index with Precise PositionsJiacheng Wu, Yong Zhang, Shimin Chen, Yu Chen 等VLDB 2021 · 160 次引用
  5. LISA: A Learned Index Structure for Spatial DataPengfei Li, Hua Lu, Qian Zheng, Long Yang 等SIGMOD 2020 · 158 次引用

相关 Paper

  1. Accelerating String-key Learned Index Structures via Memoization-based Incremental TrainingMinsu Kim, Jinwoo Hwang, Guseul Heo, Seiyeon Cho 等VLDB 2024 · 10 次引用
  2. Learned Index: A Comprehensive Experimental EvaluationZhaoyan Sun, Xuanhe Zhou, Guoliang LiVLDB 2023 · 87 次引用
  3. On Distribution Dependent Sub-Logarithmic Query Time of Learned IndexingSepanta Zeighami, Cyrus ShahabiICML 2023 · 20 次引用
  4. On Self-Designing Learned IndexesBaofu Han, Guoyu Hu, Bing Li, Xiaokui Xiao 等SIGMOD 2026
  5. ALT-Index: A Hybrid Learned Index for Concurrent Memory Database SystemsYuxin Yang, Fang Wang, Mengya Lei, Peng Zhang 等ICDE 2025
黄昏的海面,两侧是细线勾勒的悬崖