X-Node: Self-Explanation is All We Need
Not on the map. Why?
Abstract (arXiv)
Graph neural networks (GNNs) have achieved state-of-the-art results in computer vision and medical image classification tasks by capturing structural dependencies across data instances. However, their decision-making remains largely opaque, limiting their trustworthiness in high-stakes clinical applications where interpretability is essential. Existing explainability techniques for GNNs are typically post-hoc and global, offering limited insight into individual node decisions or local reasoning. We introduce X-Node, a self-explaining GNN framework in which each node generates its own explanation as part of the prediction process. For every node, we construct a structured context vector encoding interpretable cues such as degree, centrality, clustering, feature saliency, and label agreement within its local topology. A lightweight Reasoner module maps this context into a compact explanation vector, which serves three purposes: (1) reconstructing the node's latent embedding via a decoder to enforce faithfulness, (2) generating a natural language explanation using a pre-trained LLM (e.g., Grok or Gemini), and (3) guiding the GNN itself via a "text-injection" mechanism that feeds explanations back into the message-passing pipeline. We evaluate X-Node on two graph datasets derived from MedMNIST and MorphoMNIST, integrating it with GCN, GAT, and GIN backbones. Our results show that X-Node maintains competitive classification accuracy while producing faithful, per-node explanations. Repository: https://github.com/basiralab/X-Node.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 23 of its 24 references that are in the map. First posted on arXiv 14 Aug 2025.
Builds on
23 of 24 references.
References · 23
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2016Geometric deep learning: going beyond Euclidean datacited by 1,048
- 2019GNNExplainer: Generating Explanations for Graph Neural Networkscited by 737
- 2021MedMNIST v2 -- A large-scale lightweight benchmark for 2D and 3D biomedical image classificationcited by 690
- 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 599
- 2018Towards Robust Interpretability with Self-Explaining Neural Networkscited by 505
- 2019Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methodscited by 443
- 2020Parameterized Explainer for Graph Neural Networkcited by 426
- 2020XGNN: Towards Model-Level Explanations of Graph Neural Networkscited by 211
11 more
- 2017Explainable Artificial Intelligence: Understanding, Visualizing and Interpreting Deep Learning Modelscited by 206
- 2017What do we need to build explainable AI systems for the medical domain?cited by 129
- 2018Disease Prediction using Graph Convolutional Networks: Application to Autism Spectrum Disorder and Alzheimer's Diseasecited by 99
- 2021Graph-Based Deep Learning for Medical Diagnosis and Analysis: Past, Present and Futurecited by 67
- 2019GFF: Gated Fully Fusion for Semantic Segmentationcited by 57
- 2018Morpho-MNIST: Quantitative Assessment and Diagnostics for Representation Learningcited by 56
- 2022Post-Hoc Explanations Fail to Achieve their Purpose in Adversarial Contextscited by 53
- 2024GraphXAIN: Narratives to Explain Graph Neural Networkscited by 11
- 2024LLMExplainer: Large Language Model based Bayesian Inference for Graph Explanation Generationcited by 8
- 2024Explainable Graph Neural Networks Under Firecited by 5
- 2025LLM4GNAS: A Large Language Model Based Toolkit for Graph Neural Architecture Searchcited by 4
Built on by
Not cited yet.