English

GraphXAIN: Narratives to Explain Graph Neural Networks

Machine Learning 2025-04-09 v3 Artificial Intelligence

Abstract

Graph Neural Networks (GNNs) are a powerful technique for machine learning on graph-structured data, yet they pose challenges in interpretability. Existing GNN explanation methods usually yield technical outputs, such as subgraphs and feature importance scores, that are difficult for non-data scientists to understand and thereby violate the purpose of explanations. Motivated by recent Explainable AI (XAI) research, we propose GraphXAIN, a method that generates natural language narratives explaining GNN predictions. GraphXAIN is a model- and explainer-agnostic method that uses Large Language Models (LLMs) to translate explanatory subgraphs and feature importance scores into coherent, story-like explanations of GNN decision-making processes. Evaluations on real-world datasets demonstrate GraphXAIN's ability to improve graph explanations. A survey of machine learning researchers and practitioners reveals that GraphXAIN enhances four explainability dimensions: understandability, satisfaction, convincingness, and suitability for communicating model predictions. When combined with another graph explainer method, GraphXAIN further improves trustworthiness, insightfulness, confidence, and usability. Notably, 95% of participants found GraphXAIN to be a valuable addition to the GNN explanation method. By incorporating natural language narratives, our approach serves both graph practitioners and non-expert users by providing clearer and more effective explanations.

Keywords

Cite

@article{arxiv.2411.02540,
  title  = {GraphXAIN: Narratives to Explain Graph Neural Networks},
  author = {Mateusz Cedro and David Martens},
  journal= {arXiv preprint arXiv:2411.02540},
  year   = {2025}
}

Comments

19 pages, 9 figures, 2 tables

R2 v1 2026-06-28T19:48:04.157Z