Abstract
Graph Neural Networks (GNNs) have demonstrated exceptional performance in complex graph-based tasks, yet their "black-box" nature remains a significant barrier to adoption in sensitive domains. We present PAGE (Parametric Generative Explainer), a high-speed, generative framework designed to provide faithful and efficient explanations for GNN predictions. By utilizing a Variational Graph Auto-encoder (VGAE) architecture and a novel latent feature splitting technique, PAGE isolates causal features responsible for model decisions. Our two-stage training strategy, involving a parameterized discriminator, allows PAGE to generate accurate explanation subgraphs in a single forward pass. Experimental results on synthetic and real-world datasets demonstrate that PAGE significantly outperforms existing methods in both faithfulness and computational efficiency, achieving up to 91.1% accuracy on benchmark tasks while operating with $O(1)$ inference complexity.
Introduction
As Graph Neural Networks (GNNs) are increasingly deployed in critical applications like drug discovery and fraud detection, the need for interpretability has become paramount. Understanding why a model predicts a specific molecular property or identifies a suspicious transaction is essential for trust and safety. However, existing explanation methods often face a trade-off between computational efficiency and the ability to capture complex graph dependencies.
Problem Statement
Existing GNN explainers generally fall into two categories, both with distinct drawbacks:
- Optimization-based methods: Tools like GNNExplainer require a separate, time-consuming optimization process for every individual graph, making them impractical for large-scale real-time use.
- Generative methods: While faster, many current generative models rely on oversimplified assumptions (e.g., edge independence) or computationally expensive "information flow" measurements that do not scale well.
PAGE addresses these issues by providing a model-agnostic, parametric framework that is fast enough for real-world deployment while maintaining high fidelity to the underlying GNN.
Methodology
PAGE is built upon a Variational Graph Auto-encoder (VGAE) architecture, enhanced by a specialized training regime designed to extract causal insights from the latent space.
Latent Feature Splitting and the Discriminator
The core innovation of PAGE lies in how it handles the latent space ($Z$) generated by the encoder. This space is partitioned into:
- Causal features ($Z_c$): Features directly responsible for the GNN's prediction.
- Non-causal features ($Z_s$): Auxiliary features that are discarded during the explanation phase.
To bridge the gap between these latent features and the GNN's output, PAGE introduces a parameterized discriminator (an MLP). This component is trained to mimic the target GNN's behavior using only the causal features $Z_c$.
Two-Stage Training Strategy
- Stage 1 (Joint Training): The autoencoder and discriminator are trained simultaneously. The autoencoder focuses on graph reconstruction, while the discriminator learns the mapping between $Z_c$ and the GNN's labels.
- Stage 2 (Refinement): The discriminator's parameters are frozen. The encoder is then refined to maximize the Mutual Information between the causal features and the GNN's predictions, forcing the model to isolate the most influential structural components.
Key Insights and Ideas
PAGE represents a conceptual shift from previous generative explainers like Gem or OrphicX. Instead of relying on complex distillation processes or heavy information flow measurements, PAGE uses the discriminator to efficiently guide the latent space search.
By performing its search in a compressed latent space rather than perturbing thousands of edges in the input space, PAGE avoids the noise and computational overhead associated with high-dimensional optimization. Furthermore, as a parametric model, PAGE learns global rules for explanations across an entire dataset, rather than treating each graph as an isolated instance.
Experimental Results
PAGE was evaluated on both synthetic (BA-Shapes, Tree-Cycles) and real-world (Mutagenicity, NCI1) benchmarks.
- Superior Accuracy: On the BA-Shapes dataset, PAGE achieved an explanation accuracy of 91.1%, vastly outperforming GNNExplainer (~67%) and OrphicX (~61%).
- Efficiency: PAGE operates with $O(1)$ inference complexity. In Mutagenicity tests, PAGE's total time (training + inference) was approximately 78 seconds, compared to over 533 seconds for GNNExplainer's inference alone.
- Qualitative Performance: In chemical datasets, PAGE consistently identified critical functional groups (e.g., $-NO_2$ groups in mutagenic molecules) that baseline models frequently overlooked.
Conclusion and Future Work
PAGE offers a significant advancement in GNN interpretability, combining high-fidelity explanations with industry-leading speed. While the current implementation uses a VGAE base, future work may explore more sophisticated generative architectures, such as Diffusion models or Graph Transformers, to further enhance explanation quality. Additionally, addressing the memory requirements of adjacency matrix reconstruction remains a key area for scaling to massive, industrial-scale graphs.
Summary updated