[Paper Review] XAI for Graphs: Explaining Graph Neural Network Predictions by Identifying Relevant Walks
This paper proposes GNN-LRP, a novel XAI method for Graph Neural Networks that uses high-order Taylor expansions and multiple backpropagation passes to decompose predictions into relevant walks on the input graph. By replacing standard gradient propagation with layer-wise relevance propagation, GNN-LRP delivers stable, accurate, and interpretable explanations across diverse graph types, including molecular graphs and image lattices.
Graph Neural Networks (GNNs) are a popular approach for predicting graph structured data. As GNNs tightly entangle the input graph into the neural network structure, common explainable AI (XAI) approaches are not applicable. To a large extent, GNNs have remained black-boxes for the user so far. In this paper, we contribute by proposing a new XAI approach for GNNs. Our approach is derived from high-order Taylor expansions and is able to generate a decomposition of the GNN prediction as a collection of relevant walks on the input graph. We find that these high-order Taylor expansions can be equivalently (and more simply) computed using multiple backpropagation passes from the top layer of the GNN to the first layer. The explanation can then be further robustified and generalized by using layer-wise-relevance propagation (LRP) in place of the standard equations for gradient propagation. Our novel method which we denote as 'GNN-LRP' is tested on scale-free graphs, sentence parsing trees, molecular graphs, and pixel lattices representing images. In each case, it performs stably and accurately, and delivers interesting and novel application insights.
Motivation & Objective
- To address the black-box nature of Graph Neural Networks (GNNs), which limits user trust and interpretability in graph-structured data applications.
- To develop an explainable AI (XAI) approach tailored specifically for GNNs, overcoming the limitations of standard XAI methods that do not account for the structural entanglement in GNNs.
- To enable the decomposition of GNN predictions into meaningful, human-interpretable components—specifically, relevant walks on the input graph.
- To improve the robustness and generalization of explanations by integrating layer-wise relevance propagation (LRP) into the gradient computation process.
Proposed method
- The method is based on high-order Taylor expansions of the GNN output with respect to the input graph, enabling a decomposition of the prediction into contributions from individual walks.
- These high-order expansions are efficiently computed using multiple backpropagation passes from the final GNN layer back to the input layer.
- Layer-wise relevance propagation (LRP) is applied in place of standard gradient-based relevance allocation to enhance explanation stability and robustness.
- The resulting relevance scores are assigned to walks in the graph, highlighting those most influential in the GNN’s final prediction.
- The approach is designed to be generalizable across different graph types, including scale-free networks, sentence parsing trees, molecular graphs, and pixel lattices.
- Explanations are generated by identifying and ranking the most relevant walks based on their contribution to the prediction.
Experimental results
Research questions
- RQ1Can high-order Taylor expansions be effectively used to decompose GNN predictions into interpretable walk-based components on graph-structured data?
- RQ2How can multiple backpropagation passes be leveraged to compute these expansions efficiently and accurately?
- RQ3To what extent does replacing standard gradient propagation with layer-wise relevance propagation (LRP) improve the stability and reliability of GNN explanations?
- RQ4How do the explanations generated by GNN-LRP perform across diverse graph types such as molecular graphs, sentence parsing trees, and image lattices?
- RQ5Can the method uncover novel, meaningful insights into GNN behavior that are not apparent through standard interpretability techniques?
Key findings
- GNN-LRP successfully decomposes GNN predictions into a collection of relevant walks on the input graph, providing interpretable and human-readable explanations.
- The method achieves stable and accurate explanations across multiple graph types, including scale-free graphs, molecular graphs, and pixel lattices representing images.
- The integration of layer-wise relevance propagation (LRP) significantly improves the robustness and generalization of the explanations compared to standard gradient-based methods.
- The approach uncovers novel and meaningful application insights, particularly in molecular graph analysis and natural language parsing tasks.
- The use of high-order Taylor expansions enables a more nuanced understanding of GNN behavior by capturing higher-order interactions in the graph structure.
- The method demonstrates consistent performance across diverse benchmarks, indicating its generalizability to real-world graph-structured prediction tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.