Abstract
Graph Neural Networks (GNNs) are powerful but lack interpretability. Existing explanation methods like GNNExplainer are computationally expensive and transductive. We present PGExplainer, a parameterized approach that trains an explanation network to identify important subgraphs. PGExplainer achieves up to a 100x speedup over previous methods and enables inductive explanations—meaning it can explain predictions on new, unseen data without needing to be retrained.
Introduction
While GNNs are effective at processing graph-structured data, they are often treated as "black boxes." Existing tools like GNNExplainer provide local explanations by identifying a small subgraph responsible for a specific prediction. However, these tools face challenges in efficiency, generalization to new data, and capturing global insights across a dataset.
Methodology
The authors propose PGExplainer (Parameterized GNN Explainer). Instead of optimizing a mask for a single instance, they train a deep neural network to learn the underlying process of explanation generation.
The Objective and Parameterization
PGExplainer seeks to maximize the Mutual Information between the GNN’s original prediction and the prediction made using only the "explanatory" subgraph. They use a Multi-Layer Perceptron (MLP) that takes node embeddings from the trained GNN as input and outputs the probability that a specific edge belongs in the explanation.
Reparameterization Trick
Since selecting edges is a discrete operation, the authors use the Binary Concrete distribution. This allows them to relax discrete choices into continuous ones, making the system end-to-end differentiable. Because the MLP’s weights are shared across all instances, the model learns global patterns, enabling inductive inference.
Experiments and Results
The authors evaluated PGExplainer on synthetic benchmarks (e.g., BA-Shapes, Tree-Grid) and real-world datasets like MUTAG and the Human Connectome Project (HCP).
- Accuracy: PGExplainer outperformed GNNExplainer in almost all scenarios, showing up to a 24.7% relative improvement in AUC for graph classification tasks.
- Efficiency: The shift from optimization to inference provides massive gains. In inductive settings, PGExplainer is 10x to 108x faster than GNNExplainer.
- Qualitative Success: In the MUTAG dataset, PGExplainer successfully identified $NO_2$ groups as the primary cause of mutagenicity, whereas baselines often focused on non-discriminative carbon rings.
- Self-Explainable Framework: When jointly trained with the GNN, the explanation network acts as a regularizer, improving the GNN's accuracy by forcing it to ignore topological noise.
Conclusion
PGExplainer addresses the fundamental limitations of previous GNN explanation methods by introducing a parameterized, inductive framework. By learning from a population of instances, it provides both local and global insights with unprecedented efficiency. Future work will explore more complex structural patterns and feature-level integration.
Summary updated