Fragment-Wise Interpretability in Graph Neural Networks via Molecule Decomposition and Contribution Analysis

Sebastian Musiał, Bartosz Zieliński, Tomasz Danel
8/20/2025
cs.LG

No official code found. Best implementation: gmum/SEAL (8 stars, MIT, last commit 2025-08-17).

Abstract

Graph neural networks have demonstrated remarkable success in predicting molecular properties by leveraging the rich structural information encoded in molecular graphs. However, their black-box nature reduces interpretability, which limits trust in their predictions for important applications such as drug discovery and materials design. Furthermore, existing explanation techniques often fail to reliably quantify the contribution of individual atoms or substructures due to the entangled message-passing dynamics. We introduce SEAL (Substructure Explanation via Attribution Learning), a new interpretable graph neural network that attributes model predictions to meaningful molecular subgraphs. SEAL decomposes input graphs into chemically relevant fragments and estimates their causal influence on the output. The strong alignment between fragment contributions and model predictions is achieved by explicitly reducing inter-fragment message passing in our proposed model architecture. Extensive evaluations on synthetic benchmarks and real-world molecular datasets demonstrate that SEAL outperforms other explainability methods in both quantitative attribution metrics and human-aligned interpretability. A user study further confirms that SEAL provides more intuitive and trustworthy explanations to domain experts. By bridging the gap between predictive performance and interpretability, SEAL offers a promising direction for more transparent and actionable molecular modeling.

View on arXivView PDF

Code Implementations(1)

gmum/SEALCommunity62%
MIT

The official repository of "Fragment-Wise Interpretability in Graph Neural Networks via Molecule Decomposition and Contribution Analysis"

82PythonAug 10, 20251 years agoMIT

Similar Papers

Cite this paper

@article{musia2025fragmentwise,
  title  = {Fragment-Wise Interpretability in Graph Neural Networks via Molecule Decomposition and Contribution Analysis},
  author = {Sebastian Musiał and Bartosz Zieliński and Tomasz Danel},
  year   = {2025},
  eprint = {2508.15015},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.15015v1}
}

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/2508.15015.svg)](https://codeofpaper.com/paper/2508.15015)

Discussion