Higher-Order Explanations of Graph Neural Networks via Relevant Walks
About
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 approaches are not applicable. To a large extent, GNNs have remained black-boxes for the user so far. In this paper, we show that GNNs can in fact be naturally explained using higher-order expansions, i.e. by identifying groups of edges that jointly contribute to the prediction. Practically, we find that such explanations can be extracted using a nested attribution scheme, where existing techniques such as layer-wise relevance propagation (LRP) can be applied at each step. The output is a collection of walks into the input graph that are relevant for the prediction. Our novel explanation method, which we denote by GNN-LRP, is applicable to a broad range of graph neural networks and lets us extract practically relevant insights on sentiment analysis of text data, structure-property relationships in quantum chemistry, and image classification.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Subgraph Attribution | BA-2MOTIF | Computation Time (msec)1.42 | 6 | |
| GNN Explanation | BA-2MOTIF | Computation Time (s)15.879 | 6 | |
| GNN Explanation | Infection | Computation Time (s)1.01e+3 | 6 | |
| Subgraph Attribution | MUTAG | Computation Time (ms)4.23 | 2 | |
| Subgraph Attribution | Mutagenicity | Computation Time (ms)4.28 | 2 | |
| Subgraph Attribution | GRAPH-SST2 | Computation Time (ms)3.16 | 2 |