Lower Bounds for the Algorithmic Complexity of Learned Indexes

Luis Alberto Croquevielle, Roman Sokolovskii, Thomas Heinis
1/10/2026
cs.DScs.LG

No confident code implementation found for this paper.

Abstract

Learned index structures aim to accelerate queries by training machine learning models to approximate the rank function associated with a database attribute. While effective in practice, their theoretical limitations are not fully understood. We present a general framework for proving lower bounds on query time for learned indexes, expressed in terms of their space overhead and parameterized by the model class used for approximation. Our formulation captures a broad family of learned indexes, including most existing designs, as piecewise model-based predictors. We solve the problem of lower bounding query time in two steps: first, we use probabilistic tools to control the effect of sampling when the database attribute is drawn from a probability distribution. Then, we analyze the approximation-theoretic problem of how to optimally represent a cumulative distribution function with approximators from a given model class. Within this framework, we derive lower bounds under a range of modeling and distributional assumptions, paying particular attention to the case of piecewise linear and piecewise constant model classes, which are common in practical implementations. Our analysis shows how tools from approximation theory, such as quantization and Kolmogorov widths, can be leveraged to formalize the space-time tradeoffs inherent to learned index structures. The resulting bounds illuminate core limitations of these methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{croquevielle2026lower,
  title  = {Lower Bounds for the Algorithmic Complexity of Learned Indexes},
  author = {Luis Alberto Croquevielle and Roman Sokolovskii and Thomas Heinis},
  year   = {2026},
  eprint = {2601.06629},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.06629v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.06629.svg)](https://codeofpaper.com/paper/2601.06629)

Discussion