Lune

VLDB2024顶会

Accelerating String-key Learned Index Structures via Memoization-based Incremental Training

Minsu Kim, Jinwoo Hwang, Guseul Heo, Seiyeon Cho, Divya Mahajan, Jongse Park

摘要

Learned indexes use machine learning models to learn the mappings between keys and their corresponding positions in key-value indexes. These indexes use the mapping information as training data. Learned indexes require frequent retrainings of their models to incorporate the changes introduced by update queries. To efficiently retrain the models, existing learned index systems often harness a linear algebraic QR factorization technique that performs matrix decomposition. This factorization approach processes all key-position pairs during each retraining, resulting in compute operations that grow linearly with the total number of keys and their lengths. Consequently, the retrainings create a severe performance bottleneck, especially for variable-length string keys, while the retrainings are crucial for maintaining high prediction accuracy and in turn, ensuring low query service latency. To address this performance problem, we develop an algorithm-hardware co-designed string-key learned index system, dubbed SIA. In designing SIA, we leverage a unique algorithmic property of the matrix decomposition-based training method. Exploiting the property, we develop a memoization-based incremental training scheme, which only requires computation over updated keys, while decomposition results of non-updated keys from previous computations can be reused. We further enhance SIA to offload a portion of this training process to an FPGA accelerator to not only relieve CPU resources for serving index queries (i.e., inference), but also accelerate the training itself. Our evaluation shows that compared to ALEX, LIPP, and SIndex, a state-of-the-art learned index systems, SIA-accelerated learned indexes offer 2.6× and 3.4× higher throughput on the two real-world benchmark suites, YCSB and Twitter cache trace, respectively.

问 Lune

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

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

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • ALEX: An Updatable Adaptive Learned Index 引用了 Learning Multi-Dimensional Indexes
  • Learning Multi-Dimensional Indexes 引用了 ALEX: An Updatable Adaptive Learned Index
  • Benchmarking Learned Indexes 引用了 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
  • Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution Functions 引用了 ALEX: An Updatable Adaptive Learned Index
  • Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution Functions 引用了 Learning Multi-Dimensional Indexes
  • Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution Functions 引用了 Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
  • Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution Functions 引用了 A New Paradigm in Tuning Learned Indexes: A Reinforcement Learning Enhanced Approach
  • FB+-tree: A Memory-Optimized B+-tree with Latch-Free Update 引用了 ALEX: An Updatable Adaptive Learned Index
  • FB+-tree: A Memory-Optimized B+-tree with Latch-Free Update 引用了 A large scale analysis of hundreds of in-memory cache clusters at Twitter
  • Kirin: Efficient In-Storage Learned Compaction for LSM-Trees via System-Algorithm Co-Design 引用了 ALEX: An Updatable Adaptive Learned Index
  • 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
  • A New Paradigm in Tuning Learned Indexes: A Reinforcement Learning Enhanced Approach 引用了 ALEX: An Updatable Adaptive Learned Index
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. FB+-tree: A Memory-Optimized B+-tree with Latch-Free UpdateYuan Chen, Ao Li, Wenhai Li, Lingfeng DengVLDB 2025 · 2 次引用
  2. A New Paradigm in Tuning Learned Indexes: A Reinforcement Learning Enhanced ApproachTaiyi Wang, Liang Liang, Guang Yang, Thomas Heinis 等SIGMOD 2025 · 2 次引用
  3. LiBox: A Learned Index as an Array to Minimize Last-Mile SearchJian Zhou, Luna Wang, Shuaihua Zhao, Chen Zhong 等VLDB 2026
  4. Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution FunctionsAtsuki Sato, Martin Aumüller, Yusuke MatsuiSIGMOD 2026
  5. Kirin: Efficient In-Storage Learned Compaction for LSM-Trees via System-Algorithm Co-DesignGuifeng Wang, Shengan Zheng, Penghao Sun, Jin Pu 等VLDB 2026

它引用的 Paper29

  1. ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang 等SIGMOD 2020 · 274 次引用
  2. A large scale analysis of hundreds of in-memory cache clusters at TwitterJuncheng Yang, Yao Yue, K. V. RashmiOSDI 2020 · 245 次引用
  3. Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian 等VLDB 2021 · 185 次引用
  4. Learning Multi-Dimensional IndexesVikram Nathan, Jialin Ding, Mohammad Alizadeh, Tim KraskaSIGMOD 2020 · 180 次引用
  5. Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed WorkloadsJialin Ding, Vikram Nathan, Mohammad Alizadeh, Tim KraskaVLDB 2021 · 178 次引用

相关 Paper

  1. Learned Index: A Comprehensive Experimental EvaluationZhaoyan Sun, Xuanhe Zhou, Guoliang LiVLDB 2023 · 87 次引用
  2. FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory SystemsPengfei Li, Yu Hua, Jingnan Jia, Pengfei ZuoVLDB 2022 · 97 次引用
  3. Learned Index with Dynamic ϵ\epsilonDaoyuan Chen, Wuchao Li, Yaliang Li, Bolin Ding 等ICLR 2023
  4. LOFT: A Lock-free and Adaptive Learned Index with High Scalability for Dynamic WorkloadsYuxuan Mo, Yu HuaEuroSys 2025 · 1 次引用
  5. Updatable Learned Index with Precise PositionsJiacheng Wu, Yong Zhang, Shimin Chen, Yu Chen 等VLDB 2021 · 160 次引用
黄昏的海面,两侧是细线勾勒的悬崖