Relational Graph Convolutional Networks Do Not Learn Sound Rules

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Morris, Matthew, Cucala, David J. Tena, Grau, Bernardo Cuenca, Horrocks, Ian
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913473128038400
author Morris, Matthew
Cucala, David J. Tena
Grau, Bernardo Cuenca
Horrocks, Ian
author_facet Morris, Matthew
Cucala, David J. Tena
Grau, Bernardo Cuenca
Horrocks, Ian
contents Graph neural networks (GNNs) are frequently used to predict missing facts in knowledge graphs (KGs). Motivated by the lack of explainability for the outputs of these models, recent work has aimed to explain their predictions using Datalog, a widely used logic-based formalism. However, such work has been restricted to certain subclasses of GNNs. In this paper, we consider one of the most popular GNN architectures for KGs, R-GCN, and we provide two methods to extract rules that explain its predictions and are sound, in the sense that each fact derived by the rules is also predicted by the GNN, for any input dataset. Furthermore, we provide a method that can verify that certain classes of Datalog rules are not sound for the R-GCN. In our experiments, we train R-GCNs on KG completion benchmarks, and we are able to verify that no Datalog rule is sound for these models, even though the models often obtain high to near-perfect accuracy. This raises some concerns about the ability of R-GCN models to generalise and about the explainability of their predictions. We further provide two variations to the training paradigm of R-GCN that encourage it to learn sound rules and find a trade-off between model accuracy and the number of learned sound rules.
format Preprint
id arxiv_https___arxiv_org_abs_2408_10261
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Relational Graph Convolutional Networks Do Not Learn Sound Rules
Morris, Matthew
Cucala, David J. Tena
Grau, Bernardo Cuenca
Horrocks, Ian
Machine Learning
Artificial Intelligence
Logic in Computer Science
03B70
I.2.6; G.2.2; I.2.4; I.2.3
Graph neural networks (GNNs) are frequently used to predict missing facts in knowledge graphs (KGs). Motivated by the lack of explainability for the outputs of these models, recent work has aimed to explain their predictions using Datalog, a widely used logic-based formalism. However, such work has been restricted to certain subclasses of GNNs. In this paper, we consider one of the most popular GNN architectures for KGs, R-GCN, and we provide two methods to extract rules that explain its predictions and are sound, in the sense that each fact derived by the rules is also predicted by the GNN, for any input dataset. Furthermore, we provide a method that can verify that certain classes of Datalog rules are not sound for the R-GCN. In our experiments, we train R-GCNs on KG completion benchmarks, and we are able to verify that no Datalog rule is sound for these models, even though the models often obtain high to near-perfect accuracy. This raises some concerns about the ability of R-GCN models to generalise and about the explainability of their predictions. We further provide two variations to the training paradigm of R-GCN that encourage it to learn sound rules and find a trade-off between model accuracy and the number of learned sound rules.
title Relational Graph Convolutional Networks Do Not Learn Sound Rules
topic Machine Learning
Artificial Intelligence
Logic in Computer Science
03B70
I.2.6; G.2.2; I.2.4; I.2.3
url https://arxiv.org/abs/2408.10261