NFL: Robust Learned Index via Distribution Transformation
Shangyu Wu, Yufei Cui, Jinghuan Yu, Xuan Sun, Tei-Wei Kuo, Chun Jason Xue
摘要
Recent works on learned index open a new direction for the indexing field. The key insight of the learned index is to approximate the mapping between keys and positions with piece-wise linear functions. Such methods require partitioning key space for a better approximation. Although lots of heuristics are proposed to improve the approximation quality, the bottleneck is that the segmentation overheads could hinder the overall performance.
This paper tackles the approximation problem by applying a distribution transformation to the keys before constructing the learned index. A two-stage Normalizing-Flow-based Learned index framework (NFL) is proposed, which first transforms the original complex key distribution into a near-uniform distribution, then builds a learned index leveraging the transformed keys. For effective distribution transformation, we propose a Numerical Normalizing Flow (Numerical NF). Based on the characteristics of the transformed keys, we propose a robust After-Flow Learned Index (AFLI). To validate the performance, comprehensive evaluations are conducted on both synthetic and real-world workloads, which shows that the proposed NFL produces the highest throughput and the lowest tail latency compared to the state-of-the-art learned indexes.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DILI: A Distribution-Driven Learned Index 引用了 ALEX: An Updatable Adaptive Learned Index
- DILI: A Distribution-Driven Learned Index 引用了 Updatable Learned Index with Precise Positions
- DILI: A Distribution-Driven Learned Index 引用了 Learning Multi-Dimensional Indexes
- DILI: A Distribution-Driven Learned Index 引用了 Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
- DILI: A Distribution-Driven Learned Index 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- ALEX: An Updatable Adaptive Learned Index 引用了 Learning Multi-Dimensional Indexes
- Learning Multi-Dimensional Indexes 引用了 ALEX: An Updatable Adaptive Learned Index
- Updatable Learned Index with Precise Positions 引用了 ALEX: An Updatable Adaptive Learned Index
- Updatable Learned Index with Precise Positions 引用了 Learning Multi-Dimensional Indexes
- Updatable Learned Index with Precise Positions 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design Choices 引用了 ALEX: An Updatable Adaptive Learned Index
- Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design Choices 引用了 Updatable Learned Index with Precise Positions
- Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design Choices 引用了 Learning Multi-Dimensional Indexes
- Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design Choices 引用了 Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
- Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design Choices 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads 引用了 ALEX: An Updatable Adaptive Learned Index
- Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads 引用了 Learning Multi-Dimensional Indexes
- Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads 引用了 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 引用了 ALEX: An Updatable Adaptive Learned Index
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models 引用了 Updatable Learned Index with Precise Positions
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models 引用了 Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design Choices
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models 引用了 Learning Multi-Dimensional Indexes
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models 引用了 Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Making In-Memory Learned Indexes Efficient on Disk 引用了 ALEX: An Updatable Adaptive Learned Index
- Making In-Memory Learned Indexes Efficient on Disk 引用了 Updatable Learned Index with Precise Positions
- Making In-Memory Learned Indexes Efficient on Disk 引用了 Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design Choices
- Making In-Memory Learned Indexes Efficient on Disk 引用了 Learning Multi-Dimensional Indexes
- Making In-Memory Learned Indexes Efficient on Disk 引用了 Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
- Making In-Memory Learned Indexes Efficient on Disk 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Making In-Memory Learned Indexes Efficient on Disk 引用了 Learned Index: A Comprehensive Experimental Evaluation
- Learned Index: A Comprehensive Experimental Evaluation 引用了 ALEX: An Updatable Adaptive Learned Index
- Learned Index: A Comprehensive Experimental Evaluation 引用了 Updatable Learned Index with Precise Positions
- Learned Index: A Comprehensive Experimental Evaluation 引用了 Learning Multi-Dimensional Indexes
- Learned Index: A Comprehensive Experimental Evaluation 引用了 Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
- Learned Index: A Comprehensive Experimental Evaluation 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
引用它的顶会 Paper17
- Learned Index: A Comprehensive Experimental EvaluationZhaoyan Sun, Xuanhe Zhou, Guoliang LiVLDB 2023 · 87 次引用
- DILI: A Distribution-Driven Learned IndexPengfei Li, Hua Lu, Rong Zhu, Bolin Ding 等VLDB 2023 · 37 次引用
- SALI: A Scalable Adaptive Learned Index Framework based on Probability ModelsJiake Ge, Huanchen Zhang, Boyu Shi, Yuanhui Luo 等SIGMOD 2024 · 28 次引用
- Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design ChoicesHai Lan, Zhifeng Bao, J. Shane Culpepper, Renata Borovica-GajicSIGMOD 2023 · 26 次引用
- Making In-Memory Learned Indexes Efficient on DiskJiaoyi Zhang, Kai Su, Huanchen ZhangSIGMOD 2024 · 18 次引用
它引用的 Paper11
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang 等SIGMOD 2020 · 274 次引用
- Learning Multi-Dimensional IndexesVikram Nathan, Jialin Ding, Mohammad Alizadeh, Tim KraskaSIGMOD 2020 · 180 次引用
- Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed WorkloadsJialin Ding, Vikram Nathan, Mohammad Alizadeh, Tim KraskaVLDB 2021 · 178 次引用
- The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 次引用
- Updatable Learned Index with Precise PositionsJiacheng Wu, Yong Zhang, Shimin Chen, Yu Chen 等VLDB 2021 · 160 次引用
相关 Paper
- Learned Index with Dynamic Daoyuan Chen, Wuchao Li, Yaliang Li, Bolin Ding 等ICLR 2023
- LINE: A Learned Index with Group-Enhanced Leaves and Cache-Optimized Inner TreeLeying Chen, Shimin ChenSIGMOD 2026
- Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian 等VLDB 2021 · 185 次引用
- HIRE: A Hybrid Learned Index for Robust and Efficient Performance under Mixed WorkloadsXinyi Zhang, Liang Liang, Anastasia Ailamaki, Jianliang XuSIGMOD 2026 · 2 次引用
- Can Learned Indexes be Built Efficiently? A Deep Dive into Sampling Trade-offsMinguk Choi, Seehwan Yoo, Jongmoo ChoiSIGMOD 2024 · 5 次引用
