Database Views as Explanations for Relational Deep Learning
Agapi Rissaki, Ilias Fountalis, Wolfgang Gatterbauer, Benny Kimelfeld
Abstract
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.
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 b91edc68-a34e-4bcb-a84e-83d072828c8eCited by top-tier papers1
Ask how each one uses itBuilds on29
- On Explainability of Graph Neural Networks via Subgraph ExplorationsHao Yuan, Haiyang Yu, Jie Wang, Kang Li et al.ICML 2021 · 498 citations
- PGM-Explainer: Probabilistic Graphical Model Explanations for Graph Neural NetworksMinh N. Vu, My T. ThaiNeurIPS 2020 · 437 citations
- Heterogeneous Graph Structure Learning for Graph Neural NetworksJianan Zhao, Xiao Wang, Chuan Shi, Binbin Hu et al.AAAI 2021 · 306 citations
- Interpreting Graph Neural Networks for NLP With Differentiable Edge MaskingMichael Sejr Schlichtkrull, Nicola De Cao, Ivan TitovICLR 2021 · 287 citations
- XGNN: Towards Model-Level Explanations of Graph Neural NetworksHao Yuan, Jiliang Tang, Xia Hu, Shuiwang JiKDD 2020 · 261 citations
Related papers
- Towards Robust Heterogeneous Graph Explanations under Structural PerturbationsYifan Lu, Pengfei Jiao, Xuan Guo, Ziyun Zou et al.WWW 2026
- HENCE-X: Toward Heterogeneity-agnostic Multi-level Explainability for Deep Graph NetworksGe Lv, Chen Jason Zhang, Lei ChenVLDB 2023 · 5 citations
- SEHG: Bridging Interpretability and Prediction in Self-Explainable Heterogeneous Graph Neural NetworksZhenhua Huang, Wenhao Zhou, Yufeng Li, Xiuyang Wu et al.WWW 2025 · 6 citations
- Global Explainability of GNNs via Logic Combination of Learned ConceptsSteve Azzolin, Antonio Longa, Pietro Barbiero, Pietro Liò et al.ICLR 2023 · 11 citations
- View-based Explanations for Graph Neural NetworksTingyang Chen, Dazhuo Qiu, Yinghui Wu, Arijit Khan et al.SIGMOD 2024 · 17 citations
