arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.14495cs.DB
收藏

打开黑箱:解释用于数据库的学习型成本模型

Opening The Black-Box: Explaining Learned Cost Models For Databases

Roman Heinrich, Oleksandr Havrylov, Manisha Luthra, Johannes Wehrstein, Carsten Binnig

AI总结:

本文首次将 AI 可解释性方法引入学习型成本模型(LCMs),开发了适用于 LCMs 的新解释技术,并通过交互式演示工具展示其可解释性,为 LCMs 的可调试性和系统性修复问题奠定基础。

摘要:

学习型成本模型(LCMs)相较于传统数据库成本模型已展现出更优的结果,因为它们能够显著提高成本预测的准确性。然而,LCMs 对某些查询计划仍然失效,因为预测误差在尾部可能很大。遗憾的是,近期的 LCMs 基于复杂的深度神经模型,因此没有简单的方法来理解这种准确性下降的根源,这严重阻碍了系统性的故障排查。在这篇演示论文中,我们提出了首个通过将 AI 可解释性方法引入 LCMs 来打开黑箱的方法。作为核心贡献,我们开发了新的解释技术,这些技术扩展了现有的可用于 AI 模型通用可解释性的方法,并对其进行了显著改造,使其能够用于 LCMs。在我们的演示中,我们提供了一个交互式工具来展示 LCMs 的可解释性如何工作。我们相信这是使 LCMs 可调试的第一步,从而为系统性修复 LCMs 中问题的新方法铺平道路。

英文摘要:

Learned Cost Models (LCMs) have shown superior results over traditional database cost models as they can significantly improve the accuracy of cost predictions. However, LCMs still fail for some query plans, as prediction errors can be large in the tail. Unfortunately, recent LCMs are based on complex deep neural models, and thus, there is no easy way to understand where this accuracy drop is rooted, which critically prevents systematic troubleshooting. In this demo paper, we present the very first approach for opening the black box by bringing AI explainability approaches to LCMs. As a core contribution, we developed new explanation techniques that extend existing methods that are available for the general explainability of AI models and adapt them significantly to be usable for LCMs. In our demo, we provide an interactive tool to showcase how explainability for LCMs works. We believe this is a first step for making LCMs debuggable and thus paving the road for new approaches for systematically fixing problems in LCMs.

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

↑