Relational Graph Convolutional Networks Do Not Learn Sound Rules
<|reference_start|>Relational Graph Convolutional Networks Do Not Learn Sound Rules: 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.<|reference_end|>
@article{morris2024relational,
    title={Relational Graph Convolutional Networks Do Not Learn Sound Rules},
    author={Matthew Morris, David J. Tena Cucala, Bernardo Cuenca Grau, Ian
  Horrocks},
    journal={arXiv preprint arXiv:2408.10261},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.10261},
    primaryClass={cs.LG cs.AI cs.LO}
}