HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism

Siqi Miao Miaoyuan Liu Pan Li

Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism

Abstract

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.

Code Repositories

Graph-COM/GSAT
Official
pytorch
Mentioned in GitHub
divelab/good
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
graph-property-prediction-on-ogbg-molhivGSAT
Ext. data: No
Number of params: 249602
Test ROC-AUC: 0.8067 ± 0.0950
Validation ROC-AUC: 0.8347 ± 0.0031

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism | Papers | HyperAI