Theoretical Analysis of Learned Database Operations under Distribution Shift through Distribution Learnability
Sepanta Zeighami, Cyrus Shahabi
Abstract
Use of machine learning to perform database operations, such as indexing, cardinality estimation, and sorting, is shown to provide substantial performance benefits. However, when datasets change and data distribution shifts, empirical results also show performance degradation for learned models, possibly to worse than non-learned alternatives. This, together with a lack of theoretical understanding of learned methods undermines their practical applicability, since there are no guarantees on how well the models will perform after deployment. In this paper, we present the first known theoretical characterization of the performance of learned models in dynamic datasets, for the aforementioned operations. Our results show novel theoretical characteristics achievable by learned models and provide bounds on the performance of the models that characterize their advantages over non-learned methods, showing why and when learned models can outperform the alternatives. Our analysis develops the distribution learnability framework and novel theoretical tools which build the foundation for the analysis of learned database operations in the future.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 44467ca5-22ab-4541-8215-60422b263f8cCited by top-tier papers3
- In-Context Adaptation to Concept Drift for Learned Database OperationsJiaqi Zhu, Shaofeng Cai, Yanyan Shen, Gang Chen et al.ICML 2025
- Mathematical Foundations of Poisoning Attacks on Linear Regression over Cumulative Distribution FunctionsAtsuki Sato, Martin Aumüller, Yusuke MatsuiSIGMOD 2026
- NeurBench: A Benchmark Suite for Learned Database Components with Drift Modeling: [Experiments & Analysis]Zhanhao Zhao, Haotian Gao, Naili Xing, Lingze Zeng et al.SIGMOD 2026
Builds on17
- The Intrinsic Dimension of Images and Its Impact on LearningPhillip Pope, Chen Zhu, Ahmed Abdelkader, Micah Goldblum et al.ICLR 2021 · 381 citations
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
- Deep Unsupervised Cardinality EstimationZongheng Yang, Eric Liang, Amog Kamsetty, Chenggang Wu et al.VLDB 2020 · 206 citations
- The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 citations
- Are We Ready For Learned Cardinality Estimation?Xiaoying Wang, Changbo Qu, Weiyuan Wu, Jiannan Wang et al.VLDB 2021 · 156 citations
Related papers
- Towards Establishing Guaranteed Error for Learned Database OperationsSepanta Zeighami, Cyrus ShahabiICLR 2024 · 4 citations
- Learned Index with Dynamic Daoyuan Chen, Wuchao Li, Yaliang Li, Bolin Ding et al.ICLR 2023
- Prediction Intervals for Learned Cardinality Estimation: An Experimental EvaluationSaravanan Thirumuruganathan, Suraj Shetiya, Nick Koudas, Gautam DasICDE 2022 · 7 citations
- DeepDB: Learn from Data, not from Queries!Benjamin Hilprecht, Andreas Schmidt, Moritz Kulessa, Alejandro Molina et al.VLDB 2020 · 154 citations
- The Case for a Learned Sorting AlgorithmAni Kristo, Kapil Vaidya, Ugur Çetintemel, Sanchit Misra et al.SIGMOD 2020 · 47 citations
