Introduction
Graph Neural Networks (GNNs) have become indispensable tools for analyzing complex relational data, finding applications in social networks, recommendation systems, and bioinformatics. However, most high-performing GNNs operate as "black boxes," offering little insight into their internal decision-making processes. This lack of transparency is a significant barrier in high-stakes domains like healthcare and finance. Existing interpretability methods are often "post-hoc," meaning they attempt to explain a pre-trained model's behavior after the fact. Such methods can be unreliable, as they may not accurately reflect the model's actual logic. This paper proposes SE-GNN, a self-explainable GNN that integrates explanation directly into the prediction process.
Methodology: Self-Explainable Similarity Modeling
The core philosophy of SE-GNN is to provide explanations via analogy. Instead of simply outputting a class label, the model identifies the $K$-nearest labeled nodes to a target node and explains its prediction by matching their local subgraphs.
The framework consists of several key components:
- Interpretable Similarity Modeling: Similarity is calculated based on both node-level features and local structural patterns. Node similarity is derived from learned embeddings, while local structure similarity is achieved through explicit edge matching between $n$-hop subgraphs.
- Self-Supervised Enhancement: To train the similarity module without ground-truth similarity labels, the authors employ contrastive learning. By perturbing graph structures and attributes, the model learns to identify consistent structural identities across different views.
- Weighted KNN Prediction: The final classification is a weighted average of the labels from the most similar known nodes, making the decision process inherently transparent.
Key Results and Performance
SE-GNN was evaluated on standard benchmarks (Cora, Citeseer, Pubmed) and synthetic datasets designed to test structural reasoning. The experimental results demonstrate that SE-GNN is not only more interpretable but also more accurate and robust than traditional GNNs.
- Accuracy: SE-GNN consistently outperformed standard GCN and GIN models. For instance, it achieved 73.8% accuracy on Citeseer, surpassing GCN's 71.9%.
- Explanation Quality: On the Syn-Cora dataset, SE-GNN reached an edge matching accuracy of 81.1%, significantly higher than the 25.1% achieved by GCN-K. This indicates that the model correctly identifies the structural motifs driving its predictions.
- Robustness: The model showed superior resilience to adversarial attacks. Under a 25% structural "Metattack," SE-GNN maintained a 10% performance lead over GCN.
- Human Interpretability: A user study with 30 annotators confirmed that SE-GNN's analogical explanations are much more intuitive and helpful than those provided by baseline methods.
Conclusion
SE-GNN represents a significant step toward trustworthy graph AI. By baking interpretability into the architecture through structural similarity and self-supervision, it provides accurate predictions alongside human-readable explanations. Future research will explore extending this framework to link prediction tasks and investigating more complex self-supervised pretext tasks to further enhance structural understanding.
Summary updated