Global Concept Explanations for Graphs by Contrastive Learning

Jonas Teufel, Pascal Friederich
4/25/2024
cs.LGcs.AI

No official code found. Best implementation: aimat-lab/megan_global_explanations (3 stars, MIT, last commit 2026-04-27).

Abstract

Beyond improving trust and validating model fairness, xAI practices also have the potential to recover valuable scientific insights in application domains where little to no prior human intuition exists. To that end, we propose a method to extract global concept explanations from the predictions of graph neural networks to develop a deeper understanding of the tasks underlying structure-property relationships. We identify concept explanations as dense clusters in the self-explaining Megan models subgraph latent space. For each concept, we optimize a representative prototype graph and optionally use GPT-4 to provide hypotheses about why each structure has a certain effect on the prediction. We conduct computational experiments on synthetic and real-world graph property prediction tasks. For the synthetic tasks we find that our method correctly reproduces the structural rules by which they were created. For real-world molecular property regression and classification tasks, we find that our method rediscovers established rules of thumb. More specifically, our results for molecular mutagenicity prediction indicate more fine-grained resolution of structural details than existing explainability methods, consistent with previous results from chemistry literature. Overall, our results show promising capability to extract the underlying structure-property relationships for complex graph property prediction tasks.

View on arXivView PDF

Code Implementations(1)

MIT

Extracting global concept explanations from the self-explaining MEGAN model

31CSS, JinjaSep 25, 20235 months agoMIT

Similar Papers

Cite this paper

@article{teufel2024global,
  title  = {Global Concept Explanations for Graphs by Contrastive Learning},
  author = {Jonas Teufel and Pascal Friederich},
  year   = {2024},
  eprint = {2404.16532},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.16532v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.16532.svg)](https://codeofpaper.com/paper/2404.16532)

Discussion