[Paper Review] Towards Prototype-Based Self-Explainable Graph Neural Network
This paper proposes PxGNN, a prototype-based self-explainable graph neural network that learns representative prototype graphs for each class to enable both accurate predictions and interpretable, prototype-driven explanations. By jointly optimizing graph reconstruction and classification via a prototype generator with self-supervision and embedding regularization, PxGNN achieves state-of-the-art performance in both accuracy and explanation quality on real-world and synthetic datasets.
Graph Neural Networks (GNNs) have shown great ability in modeling graph-structured data for various domains. However, GNNs are known as black-box models that lack interpretability. Without understanding their inner working, we cannot fully trust them, which largely limits their adoption in high-stake scenarios. Though some initial efforts have been taken to interpret the predictions of GNNs, they mainly focus on providing post-hoc explanations using an additional explainer, which could misrepresent the true inner working mechanism of the target GNN. The works on self-explainable GNNs are rather limited. Therefore, we study a novel problem of learning prototype-based self-explainable GNNs that can simultaneously give accurate predictions and prototype-based explanations on predictions. We design a framework which can learn prototype graphs that capture representative patterns of each class as class-level explanations. The learned prototypes are also used to simultaneously make prediction for for a test instance and provide instance-level explanation. Extensive experiments on real-world and synthetic datasets show the effectiveness of the proposed framework for both prediction accuracy and explanation quality.
Motivation & Objective
- To address the lack of interpretability in GNNs, which limits their use in high-stakes applications such as drug discovery and financial analysis.
- To develop a self-explainable GNN framework that provides both accurate predictions and faithful, prototype-based explanations without relying on post-hoc explainers.
- To learn high-quality, representative prototype graphs that capture the key structural and feature patterns of each class for class-level and instance-level explanations.
- To ensure that the prototype generation process is flexible, scalable, and robust by incorporating self-supervision and embedding regularization.
Proposed method
- A prototype generator network is introduced to learn and generate realistic prototype graphs for each class from a latent space.
- The framework uses self-supervision through graph reconstruction loss to train the prototype generator, improving the quality and realism of generated prototypes.
- A constraint term regularizes the prototype embeddings to stay within a desired latent space, ensuring structural and semantic fidelity of the prototypes.
- The model jointly optimizes for classification accuracy and prototype quality using a multi-task loss function combining cross-entropy and silhouette-based diversity supervision.
- Instance-level explanations are generated by matching a test graph to the most similar prototype graph, with the explanation stating which prototype the test instance most closely resembles.
- The framework is flexible and can be combined with various GNN backbones, such as GCN and GIN, demonstrating generalization across architectures.
Experimental results
Research questions
- RQ1How can prototype-based self-explainable GNNs be designed to simultaneously achieve high prediction accuracy and high-quality explanations?
- RQ2What components are essential for learning high-quality, representative prototype graphs that reflect true class patterns in graph-structured data?
- RQ3How do self-supervision and embedding regularization contribute to the quality of prototypes and overall model performance?
- RQ4What is the optimal number of prototypes per class, and how does it affect model accuracy and explanation diversity?
- RQ5How sensitive is the framework to hyperparameters such as the reconstruction loss weight (α) and the embedding regularization strength (β)?
Key findings
- PxGNN achieves state-of-the-art performance in both node and graph classification accuracy, outperforming existing baselines on real-world datasets such as Cora, PubMed, and Graph-SST2.
- The silhouette score of prototypes increases with more prototypes per class, indicating improved diversity and representativeness, while accuracy peaks at a moderate number of prototypes.
- Abllation studies show that removing self-supervision (α=0) or the embedding constraint (β=0) significantly degrades both accuracy and prototype quality, proving their necessity.
- Fixing the prototype graphs after initialization (PxGNN\P) leads to a large performance drop, demonstrating the importance of dynamic prototype updates via the generator.
- Hyperparameter sensitivity analysis reveals that optimal performance is achieved when α ∈ [1,10] and β ∈ [1,3], balancing reconstruction and classification objectives.
- PxGNN maintains strong performance when replacing the GCN backbone with GIN, confirming its architectural flexibility and robustness.
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.