Multi-scale Explainer for Graph Neural Networks

Lutong Wu, Shiying Cheng, Zhiqiang Wang, Jianqing Liang, Peng Song, Xizhao Luo, Jiye LiangICML 2026

Graph Neural Networks (GNNs) have proven highly effective for modeling complex relational data, but their "black-box" nature remains a significant hurdle for deployment in high-stakes domains. To trust a GNN's prediction—such as determining the toxicity of a molecule—practitioners need to identify the specific subgraph (e.g., atoms and bonds) that drove the model's decision.

The Flaws of Single-Scale Explanations

Existing post-hoc explainers typically search for a single, sparse subgraph that mimics the original model's behavior. However, this single-scale approach suffers from two major flaws:

  1. Semantic Blindness: A single scale often misses multi-level patterns. Graph features can be highly localized (like a specific functional group in a molecule) or global (the overall topology of the graph). A single-scale view cannot capture both simultaneously.
  2. Optimization Instability: Searching for an optimal sparse subgraph within a massive combinatorial space is mathematically challenging. Single-scale models frequently fall into local optima, fixating on noise or spurious correlations rather than the true underlying logic.

Introducing MSExplainer

To address these limitations, researchers have introduced MSExplainer, a multi-scale explainer for GNNs. MSExplainer moves beyond the "one-size-fits-all" paradigm by extracting a hierarchical decomposition of subgraphs across multiple scales, using global structures to guide local ones. Its architecture is built on four core pillars:

  • Multi-scale Subgraph Extraction: Instead of generating a single subgraph, the model generates a hierarchy of subgraphs based on varying edge retention ratios (e.g., retaining anywhere from 10% to 90% of the original edges).
  • Consistency Guidance: MSExplainer employs a "top-down" approach where high-scale subgraphs (which contain more global information) act as a prior to guide the weight updates for lower-scale, granular subgraphs. This prevents the optimization process from getting lost in local noise.
  • Single-scale Adaptive Learning: At each scale, the model utilizes a contrastive loss function. It trains the explainer to maximize the similarity between the "key" subgraph and the original prediction, while simultaneously pushing the prediction of the "complementary" (non-key) subgraph away.
  • Parameter Sharing: To maintain computational efficiency, MSExplainer uses a shared Graph Convolutional Network (GCN) encoder and an edge-scoring Multi-Layer Perceptron (MLP) across all scales.

Theoretical Guarantees and Efficiency

The authors provide a theoretical proof demonstrating the "Power of $M$" (the number of scales). As $M$ increases, the deviation in representation consistency decreases following an $O(1/\ln M)$ bound, meaning more scales lead to a more faithful explanation. Furthermore, thanks to the parameter-sharing mechanism, MSExplainer achieves the same asymptotic computational complexity as traditional single-scale explainers. You get a multi-layered, highly stable explanation for the computational "price" of one.

Experimental Validation

MSExplainer was evaluated on six diverse benchmark datasets, including molecular graphs (Mutagenicity, NCI1, BBBP), synthetic motif-based graphs (BA-2Motif, BA-3Motif), and image-to-graph datasets (MNIST-7K).

  • Accuracy and Fidelity: MSExplainer consistently outperformed state-of-the-art methods (such as GNNExplainer, OrphicX, and GSCExplainer). It achieved significantly higher accuracy (ACC@p) in recovering the original model's predicted label using only the extracted subgraph, reaching near 100% accuracy at higher edge ratios on several datasets. Additionally, when the identified "key" edges were removed, the original model's confidence dropped more sharply than with competing methods, proving MSExplainer successfully isolated the truly influential structures.
  • Visual Clarity: In motif datasets, MSExplainer produced much cleaner visualizations. It accurately highlighted ground-truth shapes (like a "house" or "cycle" motif) while ignoring the redundant edges that often confuse single-scale models.

Limitations and Future Directions

While MSExplainer represents a significant advancement in GNN transparency, the current iteration is optimized primarily for undirected graphs. Future research will explore extensions to directed and heterogeneous graphs (graphs with multiple types of nodes and edges). Additionally, the authors suggest investigating "dynamic scale adaptation"—allowing the model to automatically determine the optimal number of scales ($M$) for a specific graph—and improving per-instance optimization efficiency to better handle very large-scale graphs.

Summary updated

BibTeX
@inproceedings{wu2026multi,
  author = {Lutong Wu and Shiying Cheng and Zhiqiang Wang and Jianqing Liang and Peng Song and Xizhao Luo and Jiye Liang},
  title = {{Multi-scale Explainer for Graph Neural Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=eiAhEarzHf},
}
Figure