NFL: Robust Learned Index via Distribution Transformation
Shangyu Wu, Yufei Cui, Jinghuan Yu, Xuan Sun, Tei-Wei Kuo, Chun Jason Xue
Abstract
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.
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.
17 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
- DILI: A Distribution-Driven Learned Index cites ALEX: An Updatable Adaptive Learned Index
- DILI: A Distribution-Driven Learned Index cites Updatable Learned Index with Precise Positions
- DILI: A Distribution-Driven Learned Index cites Learning Multi-Dimensional Indexes
- DILI: A Distribution-Driven Learned Index cites Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
- DILI: A Distribution-Driven Learned Index cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- ALEX: An Updatable Adaptive Learned Index cites Learning Multi-Dimensional Indexes
- Learning Multi-Dimensional Indexes cites ALEX: An Updatable Adaptive Learned Index
- Updatable Learned Index with Precise Positions cites ALEX: An Updatable Adaptive Learned Index
- Updatable Learned Index with Precise Positions cites Learning Multi-Dimensional Indexes
- Updatable Learned Index with Precise Positions cites 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 cites ALEX: An Updatable Adaptive Learned Index
- Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design Choices cites Updatable Learned Index with Precise Positions
- Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design Choices cites Learning Multi-Dimensional Indexes
- Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design Choices cites Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
- Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design Choices cites 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 cites ALEX: An Updatable Adaptive Learned Index
- Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads cites Learning Multi-Dimensional Indexes
- Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads 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 Updatable Learned Index with Precise Positions
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models cites Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design Choices
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models cites Learning Multi-Dimensional Indexes
- SALI: A Scalable Adaptive Learned Index Framework based on Probability Models cites Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
- 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
- Making In-Memory Learned Indexes Efficient on Disk cites ALEX: An Updatable Adaptive Learned Index
- Making In-Memory Learned Indexes Efficient on Disk cites Updatable Learned Index with Precise Positions
- Making In-Memory Learned Indexes Efficient on Disk cites Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design Choices
- Making In-Memory Learned Indexes Efficient on Disk cites Learning Multi-Dimensional Indexes
- Making In-Memory Learned Indexes Efficient on Disk cites Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
- Making In-Memory Learned Indexes Efficient on Disk cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Making In-Memory Learned Indexes Efficient on Disk cites Learned Index: A Comprehensive Experimental Evaluation
- Learned Index: A Comprehensive Experimental Evaluation cites ALEX: An Updatable Adaptive Learned Index
- Learned Index: A Comprehensive Experimental Evaluation cites Updatable Learned Index with Precise Positions
- Learned Index: A Comprehensive Experimental Evaluation cites Learning Multi-Dimensional Indexes
- Learned Index: A Comprehensive Experimental Evaluation cites Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
- Learned Index: A Comprehensive Experimental Evaluation cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
Cited by top-tier papers17
- Learned Index: A Comprehensive Experimental EvaluationZhaoyan Sun, Xuanhe Zhou, Guoliang LiVLDB 2023 · 87 citations
- DILI: A Distribution-Driven Learned IndexPengfei Li, Hua Lu, Rong Zhu, Bolin Ding et al.VLDB 2023 · 37 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
- Updatable Learned Indexes Meet Disk-Resident DBMS - From Evaluations to Design ChoicesHai Lan, Zhifeng Bao, J. Shane Culpepper, Renata Borovica-GajicSIGMOD 2023 · 26 citations
- Making In-Memory Learned Indexes Efficient on DiskJiaoyi Zhang, Kai Su, Huanchen ZhangSIGMOD 2024 · 18 citations
Builds on11
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
- Learning Multi-Dimensional IndexesVikram Nathan, Jialin Ding, Mohammad Alizadeh, Tim KraskaSIGMOD 2020 · 180 citations
- Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed WorkloadsJialin Ding, Vikram Nathan, Mohammad Alizadeh, Tim KraskaVLDB 2021 · 178 citations
- The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 citations
- Updatable Learned Index with Precise PositionsJiacheng Wu, Yong Zhang, Shimin Chen, Yu Chen et al.VLDB 2021 · 160 citations
Related papers
- Learned Index with Dynamic Daoyuan Chen, Wuchao Li, Yaliang Li, Bolin Ding et al.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 et al.VLDB 2021 · 185 citations
- HIRE: A Hybrid Learned Index for Robust and Efficient Performance under Mixed WorkloadsXinyi Zhang, Liang Liang, Anastasia Ailamaki, Jianliang XuSIGMOD 2026 · 2 citations
- Can Learned Indexes be Built Efficiently? A Deep Dive into Sampling Trade-offsMinguk Choi, Seehwan Yoo, Jongmoo ChoiSIGMOD 2024 · 5 citations
