arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.17748cs.DBcs.LG
收藏

不确定性量化能否提升学习型索引收益估计?

Can Uncertainty Quantification Improve Learned Index Benefit Estimation?

School of Computer Science and Technology, Harbin Institute of Technology(计算机科学与技术学院,哈尔滨工业大学)

Tao Yu, Zhaonian Zou, Hao Xiong

AI总结:

针对学习型索引收益估计模型存在的稳定性、可解释性及管理问题,提出结合自编码器与蒙特卡洛dropout的不确定性量化框架Beauty,辅以what-if工具,实验证明其性能优于现有方法,可消除调优最坏情况、提升最优情况出现频次。

摘要:

索引调优通过基于工作负载选择最优索引,对优化数据库性能至关重要,其核心在于准确高效的收益估计器。依赖what-if工具的传统方法往往存在效率低、准确性差的问题,而基于学习的模型虽提供了有前景的替代方案,却面临稳定性不足、可解释性缺失以及管理复杂等挑战。为克服这些局限,我们采用了一种新方法:量化基于学习的模型结果的不确定性,从而结合传统方法与学习方法的优势,实现可靠的索引调优。\n 我们提出Beauty——首个感知不确定性的框架,该框架通过不确定性量化增强基于学习的模型,并以what-if工具作为补充机制,提升可靠性同时降低管理复杂度。具体而言,我们提出了一种结合AutoEncoder(自编码器)和Monte Carlo Dropout(蒙特卡洛 dropout)的新方法来联合量化不确定性,该方法适配收益估计任务的特性。\n 在涉及16个模型的实验中,我们的方法在大多数情况下优于现有的不确定性量化方法。我们还在6个数据集上开展了索引调优测试,应用Beauty框架后,我们消除了最坏情况,且最优情况的出现频次提升了两倍以上。

英文摘要:

Index tuning is crucial for optimizing database performance by selecting optimal indexes based on workload. The key to this process lies in an accurate and efficient benefit estimator. Traditional methods relying on what-if tools often suffer from inefficiency and inaccuracy. In contrast, learning-based models provide a promising alternative but face challenges such as instability, lack of interpretability, and complex management. To overcome these limitations, we adopt a novel approach: quantifying the uncertainty in learning-based models' results, thereby combining the strengths of both traditional and learning-based methods for reliable index tuning. We propose Beauty, the first uncertainty-aware framework that enhances learning-based models with uncertainty quantification and uses what-if tools as a complementary mechanism to improve reliability and reduce management complexity. Specifically, we introduce a novel method that combines AutoEncoder and Monte Carlo Dropout to jointly quantify uncertainty, tailored to the characteristics of benefit estimation tasks. In experiments involving sixteen models, our approach outperformed existing uncertainty quantification methods in the majority of cases. We also conducted index tuning tests on six datasets. By applying the Beauty framework, we eliminated worst-case scenarios and more than tripled the occurrence of best-case scenarios.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑