pith. sign in

arxiv: 1712.01208 · v3 · pith:GKT5FESSnew · submitted 2017-12-04 · 💻 cs.DB · cs.DS· cs.NE

The Case for Learned Index Structures

classification 💻 cs.DB cs.DScs.NE
keywords learnedindexmodelmodelsstructuresdataindexesposition
0
0 comments X
read the original abstract

Indexes are models: a B-Tree-Index can be seen as a model to map a key to the position of a record within a sorted array, a Hash-Index as a model to map a key to a position of a record within an unsorted array, and a BitMap-Index as a model to indicate if a data record exists or not. In this exploratory research paper, we start from this premise and posit that all existing index structures can be replaced with other types of models, including deep-learning models, which we term learned indexes. The key idea is that a model can learn the sort order or structure of lookup keys and use this signal to effectively predict the position or existence of records. We theoretically analyze under which conditions learned indexes outperform traditional index structures and describe the main challenges in designing learned index structures. Our initial results show, that by using neural nets we are able to outperform cache-optimized B-Trees by up to 70% in speed while saving an order-of-magnitude in memory over several real-world data sets. More importantly though, we believe that the idea of replacing core components of a data management system through learned models has far reaching implications for future systems designs and that this work just provides a glimpse of what might be possible.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Poisoning Learned Index Structures: Static and Dynamic Adversarial Attacks on ALEX

    cs.CR 2026-04 conditional novelty 7.0

    Dynamic ACA attacks on ALEX cause up to 2-2.8x lookup slowdown while static poisoning has minimal impact under bulk loading, with strong dependence on key distribution.