Lune

ICDE2024Top-tier venue

Chameleon: Towards Update-Efficient Learned Indexing for Locally Skewed Data

Na Guo, Yaqi Wang, Wenli Sun, Yu Gu, Jianzhong Qi, Zhenghao Liu, Xiufeng Xia, Ge Yu

Abstract

Recently, learned indexes are assisting and are being adopted to replace traditional indexes for their low memory usage and high query performance. However, existing learned indexes suffer in query efficiency when dealing with locally skewed data distributions which may be caused or exacerbated by ubiquitous updates. Frequent model retraining and reconstruction is required under this circumstance. To address this issue, we present Chameleon, an adaptive learned index for locally skewed data especially in the context of frequent updates. We propose a metric for measuring local skewness, based on which we employ Multi-Agent Reinforcement Learning to assist in locating locally skewed regions and optimizing index structures. Additionally, to reduce the blocking time caused by index model retraining, we propose a lightweight lock named the Interval Lock to achieve a non-blocking retraining. Extensive experiments demonstrate that, without costing more memory, Chameleon outperforms the state-of-the-art learned indexes by up to 3.75 x and 4.37 x in lookup times for read-only and mixed workloads, respectively, and it accelerates update processing by up to 2.92 x.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Updatable Learned Index with Precise Positions cites ALEX: An Updatable Adaptive Learned Index
  • Updatable Learned Index with Precise Positions cites XIndex: a scalable learned index for multicore data storage
  • Updatable Learned Index with Precise Positions cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
  • Benchmarking Learned Indexes cites ALEX: An Updatable Adaptive Learned Index
  • Benchmarking Learned Indexes cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
  • XIndex: a scalable learned index for multicore data storage cites ALEX: An Updatable Adaptive Learned Index
  • XIndex: a scalable learned index for multicore data storage cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on18

  1. ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
  2. Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian et al.VLDB 2021 · 185 citations
  3. The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 citations
  4. Updatable Learned Index with Precise PositionsJiacheng Wu, Yong Zhang, Shimin Chen, Yu Chen et al.VLDB 2021 · 160 citations
  5. XIndex: a scalable learned index for multicore data storageChuzhe Tang, Youyun Wang, Zhiyuan Dong, Gansen Hu et al.PPoPP 2020 · 109 citations

Related papers

  1. LOFT: A Lock-free and Adaptive Learned Index with High Scalability for Dynamic WorkloadsYuxuan Mo, Yu HuaEuroSys 2025 · 1 citation
  2. ShapeShifter: Workload-Aware Adaptive Evolving Index Structures Based on Learned ModelsHui Wang, Xin Wang, Jiake Ge, Lei Liang et al.WWW 2025 · 1 citation
  3. On Self-Designing Learned IndexesBaofu Han, Guoyu Hu, Bing Li, Xiaokui Xiao et al.SIGMOD 2026
  4. Rethinking Learned Index and LSM-tree IntegrationGuangxun Zhao, Yongjie Zhu, Charles Jaranilla, Seehwan Yoo et al.VLDB 2026
  5. Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network CompilationByung Hoon Ahn, Prannoy Pilligundla, Amir Yazdanbakhsh, Hadi EsmaeilzadehICLR 2020 · 90 citations
Dusk over the sea between two cliffs drawn in fine vertical lines