Querying in Constant Expected Time with Learned Indexes
<|reference_start|>Querying in Constant Expected Time with Learned Indexes: Learned indexes leverage machine learning models to accelerate query answering in databases, showing impressive practical performance. However, theoretical understanding of these methods remains incomplete. Existing research suggests that learned indexes have superior asymptotic complexity compared to their non-learned counterparts, but these findings have been established under restrictive probabilistic assumptions. Specifically, for a sorted array with $n$ elements, it has been shown that learned indexes can find a key in $O(\log(\log n))$ expected time using at most linear space, compared with $O(\log n)$ for non-learned methods.   In this work, we prove $O(1)$ expected time can be achieved with at most linear space, thereby establishing the tightest upper bound so far for the time complexity of an asymptotically optimal learned index. Notably, we use weaker probabilistic assumptions than prior research, meaning our work generalizes previous results. Furthermore, we introduce a new measure of statistical complexity for data. This metric exhibits an information-theoretical interpretation and can be estimated in practice. This characterization provides further theoretical understanding of learned indexes, by helping to explain why some datasets seem to be particularly challenging for these methods.<|reference_end|>
@article{croquevielle2024querying,
    title={Querying in Constant Expected Time with Learned Indexes},
    author={Luis Croquevielle, Guang Yang, Liang Liang, Ali Hadian and Thomas
  Heinis},
    journal={arXiv preprint arXiv:2405.03851},
    year={2024},
    archivePrefix={arXiv},
    eprint={2405.03851},
    primaryClass={cs.DB cs.DS}
}