[Paper Review] Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism
GSAT introduces Graph Stochastic Attention based on the information bottleneck to produce inherently interpretable and generalizable GNNs by stochastic masking of edges, enabling reliable subgraph explanations and improved prediction.
Interpretable graph learning is in need as many scientific applications depend on learning models to collect insights from graph-structured data. Previous works mostly focused on using post-hoc approaches to interpret pre-trained models (graph neural networks in particular). They argue against inherently interpretable models because the good interpretability of these models is often at the cost of their prediction accuracy. However, those post-hoc methods often fail to provide stable interpretation and may extract features that are spuriously correlated with the task. In this work, we address these issues by proposing Graph Stochastic Attention (GSAT). Derived from the information bottleneck principle, GSAT injects stochasticity to the attention weights to block the information from task-irrelevant graph components while learning stochasticity-reduced attention to select task-relevant subgraphs for interpretation. The selected subgraphs provably do not contain patterns that are spuriously correlated with the task under some assumptions. Extensive experiments on eight datasets show that GSAT outperforms the state-of-the-art methods by up to 20%$\uparrow$ in interpretation AUC and 5%$\uparrow$ in prediction accuracy. Our code is available at https://github.com/Graph-COM/GSAT.
Motivation & Objective
- Motivate the need for inherently interpretable graph learning beyond post-hoc explanations.
- Propose Graph Stochastic Attention (GSAT) to simultaneously optimize interpretability and predictive performance.
- Leverage the information bottleneck principle to constrain information flow and remove spurious correlations.
- Show that stochastic attention yields interpretable subgraphs with theoretical guarantees under certain assumptions.
- Demonstrate empirical gains in interpretation and prediction across eight datasets.
Proposed method
- Formulate GSAT as a GIB-based objective promoting high mutual information between the selected subgraph and the label while constraining mutual information with the original graph.
- Introduce a variational bound with a predictor P_theta(Y|G_S) and a stochastic extractor g_phi(G) producing a subgraph G_S.
- Encode edges probabilities p_uv via a Bernoulli(p_uv) and sample attention masks with Gumbel-softmax to obtain G_S.
- Define a marginal distribution Q(G_S) to bound I(G_S;G) and include a KL-divergence term to regularize information flow.
- Train a unified GNN where g_phi and f_theta share encoder and differ in the last layers, optimizing the bound equivalent to cross-entropy plus regularization.
- Interpretation arises from edges with high p_uv (p_uv -> 1) forming the task-relevant subgraphs, ranked by attention.
Experimental results
Research questions
- RQ1Can an intrinsically interpretable GNN be trained without sacrificing predictive performance?
- RQ2Does injecting stochastic attention guided by the information bottleneck remove spurious correlations and yield stable interpretations?
- RQ3How does GSAT compare to post-hoc and invariant-learning methods in interpretation and prediction on diverse graph datasets?
- RQ4Can GSAT effectively fine-tune pre-trained GNNs to improve both interpretation and accuracy?
Key findings
- GSAT outperforms state-of-the-art methods in interpretation AUC by up to 20% on eight datasets.
- GSAT improves prediction accuracy by up to 5% over baselines.
- The approach provides guaranteed interpretability under certain conditions and can remove spurious correlations.
- GSAT performs well when starting from pre-trained predictors, often improving both interpretation and accuracy.
- It achieves strong results on molecules (MolHiv) among non-expert-feature models in OGB benchmarks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.