TL;DR
ReFine is a novel framework that brings "multi-grained" explainability to Graph Neural Networks (GNNs) by combining global class-level patterns with local instance-specific refinements. By utilizing a pre-training and fine-tuning paradigm, it bridges the gap between broad model understanding and precise local fidelity, significantly outperforming existing explainers in identifying influential subgraphs.
What Problem Does This Paper Address?
Graph Neural Networks are powerful but notoriously "black-box." When a GNN predicts that a molecule is mutagenic or a scene is a "farm," we want to know why. Current explainability methods usually fall into two camps:
- Local Explainers: These look at one graph at a time. While they can be precise, they often miss the "big picture"—the prototypical patterns shared across an entire class.
- Global Explainers: These find general patterns for a class but can fail on specific, unusual instances because they lack "local fidelity."
The authors argue that this dichotomy limits the effectiveness of explainers. A truly useful explanation should understand what a "farm" looks like in general (global) while also identifying the specific sheep and meadow that triggered the decision for this particular image (local).
Methods
The authors propose ReFine, which uses a two-stage approach inspired by the success of pre-training in NLP and Computer Vision:
- Pre-training (Global View): ReFine trains "Class-aware Attribution Modules." Unlike previous methods that use one model for everything, ReFine uses multiple generative models—one for each class. It employs contrastive learning to ensure that the explanation for "Class A" is distinct from "Class B," forcing the model to distill unique, discriminative class-wise features into a coarse saliency map.
- Fine-tuning (Local View): Once the global patterns are learned, a "Selection Module" adapts the explanation to the specific instance at hand. This stage is crucial because it accounts for edge coalitions—the idea that certain edges might not be important individually but become highly influential when they appear together (like specific chemical groups in a molecule).
Datasets
The model was evaluated on four diverse datasets:
- Mutagenicity: Molecule graphs classified by their mutagenic effect on bacteria.
- VG-5 (Visual Genome): Scene graphs from images labeled with classes like "stadium," "farm," and "forest."
- MNIST Superpixels: Handwriting digits converted into graph structures.
- BA-3motif: A synthetic dataset where specific motifs (house, cycle, grid) are attached to base graphs, providing a clear "ground truth" for evaluation.
Key Insights and Ideas
- The Power of Contrast: Using contrastive loss during pre-training is a "game-changer." It forces the explainer to ignore common background noise and focus on what actually differentiates one class from another.
- Coalition Matters: Most explainers rank edges independently. ReFine’s fine-tuning stage recognizes that edges "cooperate." For example, in a molecule, two disconnected nitrogen-oxygen bonds are less informative than when they are connected to form a nitro group ($NO_2$).
- Efficiency: While ReFine requires a two-stage process, it is computationally efficient. Explaining a new instance only requires about 20 fine-tuning steps, making it comparable in speed to leading generative explainers like PGExplainer.
Key Results
ReFine achieved state-of-the-art performance across all benchmarks:
- Quantitative: It outperformed the strongest baselines (like GNNExplainer and PGExplainer) by up to 7.5% in Predictive Accuracy (ACC-AUC).
- The Fine-tuning Boost: On the complex MNIST dataset, fine-tuning improved predictive accuracy from 41.4% to 71.4% (at a 0.4 selection ratio), proving that local refinement is essential for messy, real-world data.
- Qualitative: Visualizations show that ReFine produces much cleaner subgraphs that align better with human intuition, such as focusing on the actual strokes of a handwritten digit rather than random background edges.
Limitations and Future Work
The authors acknowledge that while ReFine encodes class-wise knowledge well, it doesn't yet map this knowledge back into human-readable "prototypes" as effectively as some specialized global-only models (like XGNN).
For future work, they suggest extending ReFine to counterfactual explanations—answering not just "Why did the model predict X?" but "What would have to change for the model to predict Y instead?" This would further enrich the multi-grained understanding of deep graph models.
Summary updated