mlsanityData to 7 Oct 2026

Micro-architectural Analysis of a Learned Index

arXiv 2109.08495 ↗First posted 17 Sep 2021cs.DS cs.DB cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Since the publication of The Case for Learned Index Structures in 2018, there has been a rise in research that focuses on learned indexes for different domains and with different functionalities. While the effectiveness of learned indexes as an alternative to traditional index structures such as B+Trees have already been demonstrated by several studies, previous work tend to focus on higher-level performance metrics such as throughput and index size. In this paper, our goal is to dig deeper and investigate how learned indexes behave at a micro-architectural level compared to traditional indexes. More specifically, we focus on previously proposed learned index structure ALEX, which is a tree-based in-memory index structure that consists of a hierarchy of machine learned models. Unlike the original proposal for learned indexes, ALEX is designed from the ground up to allow updates and inserts. Therefore, it enables more dynamic workloads using learned indexes. In this work, we perform a micro-architectural analysis of ALEX and compare its behavior to the tree-based index structures that are not based on learned models, i.e., ART and B+Tree. Our results show that ALEX is bound by memory stalls, mainly stalls due to data misses from the last-level cache. Compared to ART and B+Tree, ALEX exhibits fewer stalls and a lower cycles-per-instruction value across different workloads. On the other hand, the amount of instructions required to handle out-of-bound inserts in ALEX can increase the instructions needed per request significantly (10X) for write-heavy workloads. However, the micro-architectural behavior shows that this increase in the instruction footprint exhibit high instruction-level parallelism, and, therefore, does not negatively impact the overall execution time.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 10 of its 38 references that are in the map. First posted on arXiv 17 Sep 2021.

Builds on

10 of 38 references.

References · 10

  1. 2017The Case for Learned Index Structurescited by 188
  2. 2019ALEX: An Updatable Adaptive Learned Indexcited by 43
  3. 2020RadixSpline: A Single-Pass Learned Indexcited by 31
  4. 2018FITing-Tree: A Data-aware Index Structurecited by 30
  5. 2019Learning Multi-dimensional Indexescited by 30
  6. 2020Benchmarking Learned Indexescited by 27
  7. 2019SOSD: A Benchmark for Learned Indexescited by 21
  8. 2019The PGM-index: a multicriteria, compressed and learned approach to data indexingcited by 17
  9. 2021Shift-Table: A Low-latency Learned Index for Range Queries using Model Correctioncited by 5
  10. 2019Micro-architectural Analysis of OLAP: Limitations and Opportunitiescited by 1

Built on by

Cited by year

Citing papers per year: 2024: 2.

2 papers.