,
Mattia Odorisio
,
Peter Sanders
,
Stefan Walzer
Creative Commons Attribution 4.0 International license
Data structures that maintain a sorted sequence are crucial for many applications. There is a zoo of variants with recent particular interest in "learned" indexes that accelerate operations by learning the distribution of the data. This paper helps to bring some order to this complex situation. We identify important building blocks and model the input using smoothed analysis where an adversary can control the dynamically changing input except for a small amount of noise. Within a resulting design space of data structures, we prove that already a simple 2-level data structure with minimal learning can achieve constant operation times in many situations: PARROT partitions the input into equal size parts, within which keys are approximately uniformly distributed. In many of our experiments, PARROT performs very well compared to state-of-the-art learned indexes, being 2× faster than the well known ALEX and LIPP indexes on large datasets, and 10× faster than a well engineered standard B-Tree.
@InProceedings{hermann_et_al:LIPIcs.ESA.2026.15,
author = {Hermann, Stefan and Odorisio, Mattia and Sanders, Peter and Walzer, Stefan},
title = {{Deconstructed "Learned" Indexes and Their Smoothed Analysis}},
booktitle = {34th Annual European Symposium on Algorithms (ESA 2026)},
pages = {15:1--15:24},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-445-1},
ISSN = {1868-8969},
year = {2026},
volume = {388},
editor = {Bille, Philip and Pettie, Seth and Storandt, Sabine},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ESA.2026.15},
URN = {urn:nbn:de:0030-drops-271518},
doi = {10.4230/LIPIcs.ESA.2026.15},
annote = {Keywords: Learned data structure, sorted sequence, index data structure, smoothed analysis}
}
archived version
archived version