Explaining Graph Neural Networks for Node Similarity on Graphs
Abstract
Similarity search is a fundamental task for exploiting information in various applications dealing with graph data, such as citation networks or knowledge graphs. Prior work on the explainability of graph neural networks (GNNs) has focused on supervised tasks, such as node classification and link prediction. However, the challenge of explaining similarities between node embeddings has been left unaddressed. We take a step towards filling this gap by formulating the problem, identifying desirable properties of explanations of similarity, and proposing intervention-based metrics that qualitatively assess them. Using our framework, we evaluate the performance of representative methods for explaining GNNs, based on the concepts of mutual information (MI) and gradient-based (GB) explanations. We find that unlike MI explanations, GB explanations have three desirable properties. First, they are actionable: selecting particular inputs results in predictable changes in similarity scores of corresponding nodes. Second, they are consistent: the effect of selecting certain inputs hardly overlaps with the effect of discarding them. Third, they can be pruned significantly to obtain sparse explanations that retain the effect on similarity scores. These important findings highlight the utility of our metrics as a framework for evaluating the quality of explanations of node similarities in GNNs.
Cite
Text
Daza et al. "Explaining Graph Neural Networks for Node Similarity on Graphs." Transactions on Machine Learning Research, 2026.Markdown
[Daza et al. "Explaining Graph Neural Networks for Node Similarity on Graphs." Transactions on Machine Learning Research, 2026.](https://mlanthology.org/tmlr/2026/daza2026tmlr-explaining/)BibTeX
@article{daza2026tmlr-explaining,
title = {{Explaining Graph Neural Networks for Node Similarity on Graphs}},
author = {Daza, Daniel and Chu, Cuong Xuan and Tran, Trung-Kien and Stepanova, Daria and Cochez, Michael and Groth, Paul},
journal = {Transactions on Machine Learning Research},
year = {2026},
url = {https://mlanthology.org/tmlr/2026/daza2026tmlr-explaining/}
}