GnnXemplar: Exemplars to Explanations -- Natural Language Rules for Global GNN Interpretability

Burouj Armgaan, Eshan Jain, Harsh Pandey, Mahesh Chandran, Sayan Ranu
9/22/2025
cs.LGcs.SI

No official code found. Best implementation: idea-iitd/GnnXemplar (10 stars, last commit 2025-12-20).

Abstract

Graph Neural Networks (GNNs) are widely used for node classification, yet their opaque decision-making limits trust and adoption. While local explanations offer insights into individual predictions, global explanation methods, those that characterize an entire class, remain underdeveloped. Existing global explainers rely on motif discovery in small graphs, an approach that breaks down in large, real-world settings where subgraph repetition is rare, node attributes are high-dimensional, and predictions arise from complex structure-attribute interactions. We propose GnnXemplar, a novel global explainer inspired from Exemplar Theory from cognitive science. GnnXemplar identifies representative nodes in the GNN embedding space, exemplars, and explains predictions using natural language rules derived from their neighborhoods. Exemplar selection is framed as a coverage maximization problem over reverse k-nearest neighbors, for which we provide an efficient greedy approximation. To derive interpretable rules, we employ a self-refining prompt strategy using large language models (LLMs). Experiments across diverse benchmarks show that GnnXemplar significantly outperforms existing methods in fidelity, scalability, and human interpretability, as validated by a user study with 60 participants.

View on arXivView PDF

Code Implementations(1)

GnnXemplar: Exemplars to Explanations - Natural Language Rules for Global GNN Interpretability

101PythonSep 22, 202510 months ago

Similar Papers

Cite this paper

@article{armgaan2025gnnxemplar,
  title  = {GnnXemplar: Exemplars to Explanations -- Natural Language Rules for Global GNN Interpretability},
  author = {Burouj Armgaan and Eshan Jain and Harsh Pandey and Mahesh Chandran and Sayan Ranu},
  year   = {2025},
  eprint = {2509.18376},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.18376v2}
}

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

Discussion