Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Explainable Graph Representation Learning via Graph Pattern Analysis

About

Explainable artificial intelligence (XAI) is an important area in the AI community, and interpretability is crucial for building robust and trustworthy AI models. While previous work has explored model-level and instance-level explainable graph learning, there has been limited investigation into explainable graph representation learning. In this paper, we focus on representation-level explainable graph learning and ask a fundamental question: What specific information about a graph is captured in graph representations? Our approach is inspired by graph kernels, which evaluate graph similarities by counting substructures within specific graph patterns. Although the pattern counting vector can serve as an explainable representation, it has limitations such as ignoring node features and being high-dimensional. To address these limitations, we introduce a framework (PXGL-GNN) for learning and explaining graph representations through graph pattern analysis. We start by sampling graph substructures of various patterns. Then, we learn the representations of these patterns and combine them using a weighted sum, where the weights indicate the importance of each graph pattern's contribution. We also provide theoretical analyses of our methods, including robustness and generalization. In our experiments, we show how to learn and explain graph representations for real-world data using pattern analysis. Additionally, we compare our method against multiple baselines in both supervised and unsupervised learning tasks to demonstrate its effectiveness.

Xudong Wang, Ziheng Sun, Chris Ding, Jicong Fan• 2025

Related benchmarks

TaskDatasetResultRank
Graph ClassificationPROTEINS
Accuracy78.23
742
Graph ClassificationMUTAG
Accuracy94.87
697
Graph ClassificationNCI1
Accuracy85.78
460
Graph ClassificationCOLLAB
Accuracy83.96
329
Graph ClassificationIMDB-B
Accuracy77.35
322
Graph ClassificationMutag (test)
Accuracy94.87
217
Graph ClassificationPROTEINS (test)
Accuracy78.23
180
Graph ClassificationDD
Accuracy86.54
175
Graph ClassificationNCI1 (test)
Accuracy85.78
174
Graph ClassificationIMDB-B (test)
Accuracy77.35
134
Showing 10 of 24 rows

Other info

Follow for update