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

数据库视图作为关系深度学习的解释

Database Views as Explanations for Relational Deep Learning

Northeastern University(东北大学)

Agapi Rissaki, Ilias Fountalis, Wolfgang Gatterbauer, Benny Kimelfeld

AI总结:

本文提出了一种基于视图定义的关系深度学习解释框架,通过可学习掩码实现模型特定的解释方法,提升了解释效率和质量。

摘要:

近年来,关系数据库上的深度学习模型发展取得了显著进展,包括基于异构图神经网络(异构图神经网络)和异构图变换器的架构。实际上,这些架构说明了数据库记录和链接(例如外键引用)如何转化为一个大型、复杂的数值表达式,涉及大量的可学习参数。这种复杂性使得难以用人类可理解的方式解释模型如何利用可用数据得出给定预测。我们提出了一种新的框架,用于解释关系数据库上的机器学习模型,其中解释是视图定义,突出数据库中对模型预测起主要作用的部分。我们通过适应Nash、Segoufin和Vianu(2010)的经典确定性概念,建立了这种全局反向解释。除了调节确定性和简洁性之间的权衡外,该框架还允许通过采用不同的视图定义片段来控制粒度级别,例如突出整个列、表之间的外键、相关元组组等。我们研究了该框架在异构图神经网络中的实现,并通过可学习掩码的概念开发了模型特定的方法。为了比较,我们提出了模型无关的启发式基线,并展示了我们的方法在大多数情况下既更高效,又能获得更好的解释质量。我们在RelBench集合上对不同领域和记录级任务进行了广泛的实证评估,证明了我们解释的有用性和生成效率。

英文摘要:

In recent years, there has been significant progress in the development of deep learning models over relational databases, including architectures based on heterogeneous graph neural networks (hetero-GNNs) and heterogeneous graph transformers. In effect, such architectures state how the database records and links (e.g., foreign-key references) translate into a large, complex numerical expression, involving numerous learnable parameters. This complexity makes it hard to explain, in human-understandable terms, how a model uses the available data to arrive at a given prediction. We present a novel framework for explaining machine-learning models over relational databases, where explanations are view definitions that highlight focused parts of the database that mostly contribute to the model's prediction. We establish such global abductive explanations by adapting the classic notion of determinacy by Nash, Segoufin, and Vianu (2010). In addition to tuning the tradeoff between determinacy and conciseness, the framework allows controlling the level of granularity by adopting different fragments of view definitions, such as ones highlighting whole columns, foreign keys between tables, relevant groups of tuples, and so on. We investigate the realization of the framework in the case of hetero-GNNs, and develop a model-specific approach via the notion of learnable masks. For comparison, we propose model-agnostic heuristic baselines and show that our approach is both more efficient and achieves better explanation quality in most cases. Our extensive empirical evaluation on the RelBench collection across diverse domains and record-level tasks demonstrates both the usefulness of our explanations and the efficiency of their generation.

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

↑