NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Unveiling Global Interactive Patterns across Graphs: Towards Interpretable Graph Neural Networks

Yuwen Wang, Shunyu Liu, Tongya Zheng, Kaixuan Chen, Mingli Song · DOI

TL;DR

This paper introduces Global Interactive Pattern (GIP) learning, a new method for making Graph Neural Networks (GNNs) interpretable by focusing on global patterns rather than just local subgraphs. GIP achieves this by first clustering nodes and then learning "interactive patterns" that represent how these clusters interact, leading to more accurate predictions and understandable explanations.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) are powerful tools for analyzing graph-structured data, but their "black box" nature makes it hard to understand why they make certain predictions. Existing methods for explaining GNNs often focus on identifying small, local subgraphs that are important for a decision. However, many real-world graph tasks, like understanding protein structures or social networks, rely on complex, long-range interactions and global patterns that these local explanations miss. This gap limits trust and application in critical domains. The paper aims to bridge this gap by developing a method that can uncover and explain these global interactive patterns.

Methods

The proposed framework, Global Interactive Pattern (GIP) learning, operates in two main stages:

  1. Clustering Assignment Module: This module first compresses the input graph through several "compression blocks." Each block uses a GCN encoder to generate node embeddings and then a trainable cluster assignment matrix (S) to group nodes into clusters. This process is guided by two loss functions:
  2. L_clu (Clu Loss): Based on the normalized cut objective, encouraging sparse connections between clusters and cohesive internal structures.
  3. L_bal (Balance Loss): Promotes more balanced and discrete cluster assignments. The output of this stage is a coarsened graph representation where nodes represent clusters.

  4. Interactive Patterns Matching Module: This module learns "interactive patterns" for each class. These patterns are essentially learnable graph structures that capture the global interactions between the clusters identified in the previous stage.

  5. Pattern Generation: Interactive patterns are defined by learnable feature matrices and topologies.
  6. Similarity Measurement: The similarity between the coarsened graph and these interactive patterns is calculated using a Random Walk Graph Kernel.
  7. Learning Objective: A multi-similarity loss (L_mul) encourages the coarsened graph to match patterns of its own class while repelling patterns from other classes. A diversity loss (L_div) is also used to ensure the learned patterns are distinct.

Finally, the similarity scores are fed into a fully connected layer with softmax for prediction, and a cross-entropy loss (L_CE) is used for training.

Datasets

The paper evaluates its framework on a combination of real-world and synthetic datasets:

  • Real-world Datasets:
    • ENZYMES (protein classification)
    • PROTEINS (protein classification)
    • D&D (protein classification)
    • MUTAG (molecular property prediction)
    • COLLAB (scientific collaboration network)
  • Synthetic Datasets:
    • GraphCycle (two classes: Cycle and Non-Cycle)
    • GraphFive (five classes: Wheel, Grid, Tree, Ladder, and Star) These synthetic datasets were specifically designed to highlight the ability to capture global interactive patterns.

Key Insights and Ideas

  • Shifting Focus from Local to Global: The core idea is that for many graph tasks, understanding the interplay between groups of nodes (clusters) is more informative than just looking at individual nodes or small subgraphs.
  • Learnable Global Patterns: Instead of relying on predefined graph structures or post-hoc explanations, GIP learns "interactive patterns" that are directly interpretable and tied to specific classes.
  • Two-Stage Compression and Matching: The framework effectively combines graph compression (clustering) with pattern matching, allowing it to handle large graphs and complex interactions efficiently.
  • Intrinsic Interpretability: The learned patterns are an integral part of the model's decision-making process, offering intrinsic explanations rather than relying on separate post-hoc analysis.

Key Results

  • Prediction Performance: GIP achieves superior or competitive classification accuracy and F1 scores compared to most widely used GNNs and interpretable GNNs across seven datasets. For example, it significantly outperforms existing methods on MUTAG.
  • Explanation Performance: The framework demonstrates high explanation accuracy, consistency, and silhouette scores, outperforming several state-of-the-art interpretable and post-hoc methods. Qualitative analysis on synthetic datasets shows that GIP learns patterns that align well with ground truth, unlike some baselines that produce less distinct explanations.
  • Efficiency: While not the absolute fastest, GIP's training time is comparable to other interpretable methods, and the authors argue the slight overhead is justified by the improved performance and interpretability.
  • Ablation Studies: Experiments show that both the clustering and pattern matching modules are crucial for optimal performance, and the number of compression blocks and interactive patterns needs careful tuning for best results.

Limitations and Future Work

  • Hyperparameter Tuning: The performance of GIP is sensitive to hyperparameter choices, such as the number of compression blocks, compression ratio, and the number of interactive patterns. The paper provides guidance on tuning these parameters but acknowledges that optimal settings may vary across datasets.
  • Computational Cost: While efficient, the framework still requires significant computational resources for training, especially on very large graphs.
  • Future Work: The authors suggest extending the GIP framework to more practical scenarios and further exploring its capabilities in graph mining and analysis. They also mention the potential for collaborating with domain experts for more comprehensive analysis of the learned patterns.

Summary updated

BibTeX
@inproceedings{wang2024unveiling,
  author = {Yuwen Wang and Shunyu Liu and Tongya Zheng and Kaixuan Chen and Mingli Song},
  title = {{Unveiling Global Interactive Patterns across Graphs: Towards Interpretable Graph Neural Networks}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
  doi = {10.1145/3637528.3671838},
}
Figure