Accelerating String-key Learned Index Structures via Memoization-based Incremental Training
Minsu Kim, Jinwoo Hwang, Guseul Heo, Seiyeon Cho, Divya Mahajan, Jongse Park
Abstract
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.
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.
5 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
- ALEX: An Updatable Adaptive Learned Index cites Learning Multi-Dimensional Indexes
- Learning Multi-Dimensional Indexes cites ALEX: An Updatable Adaptive Learned Index
- Benchmarking Learned Indexes cites ALEX: An Updatable Adaptive Learned Index
- LiBox: A Learned Index as an Array to Minimize Last-Mile Search cites ALEX: An Updatable Adaptive Learned Index
- LiBox: A Learned Index as an Array to Minimize Last-Mile Search cites Benchmarking Learned Indexes
- Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution Functions cites ALEX: An Updatable Adaptive Learned Index
- Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution Functions cites Learning Multi-Dimensional Indexes
- Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution Functions cites Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
- Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution Functions cites A New Paradigm in Tuning Learned Indexes: A Reinforcement Learning Enhanced Approach
- FB+-tree: A Memory-Optimized B+-tree with Latch-Free Update cites ALEX: An Updatable Adaptive Learned Index
- FB+-tree: A Memory-Optimized B+-tree with Latch-Free Update cites 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 cites ALEX: An Updatable Adaptive Learned Index
- 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
- A New Paradigm in Tuning Learned Indexes: A Reinforcement Learning Enhanced Approach cites ALEX: An Updatable Adaptive Learned Index
Cited by top-tier papers5
- FB+-tree: A Memory-Optimized B+-tree with Latch-Free UpdateYuan Chen, Ao Li, Wenhai Li, Lingfeng DengVLDB 2025 · 2 citations
- A New Paradigm in Tuning Learned Indexes: A Reinforcement Learning Enhanced ApproachTaiyi Wang, Liang Liang, Guang Yang, Thomas Heinis et al.SIGMOD 2025 · 2 citations
- LiBox: A Learned Index as an Array to Minimize Last-Mile SearchJian Zhou, Luna Wang, Shuaihua Zhao, Chen Zhong et al.VLDB 2026
- Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution FunctionsAtsuki Sato, Martin Aumüller, Yusuke MatsuiSIGMOD 2026
- Kirin: Efficient In-Storage Learned Compaction for LSM-Trees via System-Algorithm Co-DesignGuifeng Wang, Shengan Zheng, Penghao Sun, Jin Pu et al.VLDB 2026
Builds on29
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
- A large scale analysis of hundreds of in-memory cache clusters at TwitterJuncheng Yang, Yao Yue, K. V. RashmiOSDI 2020 · 245 citations
- Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian et al.VLDB 2021 · 185 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
Related papers
- Learned Index: A Comprehensive Experimental EvaluationZhaoyan Sun, Xuanhe Zhou, Guoliang LiVLDB 2023 · 87 citations
- FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory SystemsPengfei Li, Yu Hua, Jingnan Jia, Pengfei ZuoVLDB 2022 · 97 citations
- Learned Index with Dynamic Daoyuan Chen, Wuchao Li, Yaliang Li, Bolin Ding et al.ICLR 2023
- LOFT: A Lock-free and Adaptive Learned Index with High Scalability for Dynamic WorkloadsYuxuan Mo, Yu HuaEuroSys 2025 · 1 citation
- Updatable Learned Index with Precise PositionsJiacheng Wu, Yong Zhang, Shimin Chen, Yu Chen et al.VLDB 2021 · 160 citations
