Lune

NeurIPS2024Top-tier venue

GraphTrail: Translating GNN Predictions into Human-Interpretable Logical Rules

Burouj Armgaan, Manthan Dalmia, Sourav Medya, Sayan Ranu

Abstract

Instance-level explanation of graph neural networks (GNNs) is a well-studied area. These explainers, however, only explain an instance (e.g., a graph) and fail to uncover the combinatorial reasoning learned by a GNN from the training data towards making its predictions. In this work, we introduce GRAPHTRAIL, the first end-to-end, post-hoc, global GNN explainer that translates the functioning of a black-box GNN model to a boolean formula over the (sub)graph-level concepts without relying on local explainers. GRAPHTRAIL is unique in automatically mining the discriminative subgraph-level concepts using Shapley values. Subsequently, the GNN predictions are mapped to a human-interpretable boolean formula over these concepts through symbolic regression. Extensive experiments across diverse datasets and GNN architectures demonstrate significant improvement over existing global explainers in mapping GNN predictions to faithful logical formulae. The robust and accurate performance of GRAPHTRAIL makes it invaluable for improving GNNs and facilitates adoption in domains with strict transparency requirements. global explainer that (1) mines the subgraph concepts used by a black-box GNN model, and then (2) uncovers the boolean logic used by the GNN over these concepts to make its predictions. Works on global GNN explainers are limited [56, 16, 54, 2] . XGNN [56] and GNNInterpreter [50] are generative-modeling based global explainers. Both generate a graph that maximally aligns with a specified class label. While this generated graph likely contains important features used by the GNN in making its predictions, it may not actually be present in the dataset, limiting its utility for analyzing specific predictions. Additionally, it does not produce a human-interpretable rule explaining the class attributions made by the GNN. Finally, XGNN [56] requires domain-specific validity-rules as input, which affects its generalizability and results in inferior performance [2] . Another work [54] evaluates which base concepts are detected by the neurons of a GNN model during predictions and their relative importance. These concepts can be subgraphs or node-level properties, such as degrees. However, this method lacks the ability to automatically mine the concepts. More importantly, this method also does not generate a human-interpretable rule for the decision-making process of the GNN. The closest work to ours is GLGEXPLAINER [2] , which shares the objective of providing a global explanation of the GNN through a boolean formula over subgraph-level concepts. However, there are significant limitations that need to be addressed: • Dependency on instance-level explainers: GLGEXPLAINER does not mine the subgraph concepts in an end-to-end manner. Instead, it relies on an instance-level explainer (e.g. PGEXPLAINER [29]) to provide these concepts, over which it searches for the combinatorial formula mapping to the GNN predictions. This dependency creates a disconnect with the objective, as instance-level explainers lack a global understanding of the model. Our proposed approach develops an end-to-end pipeline that mines concepts based on global trends. • Lack of interpretability due to vector-level concepts: In GLGEXPLAINER, each concept in the formula corresponds to a feature vector and not a subgraph. These vectors represent the embedding of a cluster of subgraphs generated by the instance explainer. Hence, in its original form, the formula is not human-interpretable. To convert into a human-interpretable formula, GLGEXPLAINER randomly selects a subgraph from the cluster, assuming all subgraphs in a cluster are similar. Our investigation ( § 4) reveals that this assumption is rarely true in practice, compromising both interpretability and efficacy. • Lack of robustness: GLGEXPLAINER shows significant variation in the formula based on the training split used. As our analysis in § 4 reveals, due to the reliance on instance-level explanations, even when data are drawn from the same distribution, the base concept candidates vary, and consequently so does the eventual formula. At this juncture, we note that our work is distinct from the line of research on explainable GNNs [61, 10, 34] . Explainable GNNs are designed to make explainable predictions rather than explaining the predictions of a black-box GNN.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • LogicXGNN: Grounded Logical Rules for Explaining Graph Neural Networks cites PGM-Explainer: Probabilistic Graphical Model Explanations for Graph Neural Networks
  • LogicXGNN: Grounded Logical Rules for Explaining Graph Neural Networks cites XGNN: Towards Model-Level Explanations of Graph Neural Networks
  • LogicXGNN: Grounded Logical Rules for Explaining Graph Neural Networks cites Parameterized Explainer for Graph Neural Network
  • GNN Explanations that do not Explain and How to find Them cites On Explainability of Graph Neural Networks via Subgraph Explorations
  • GNN Explanations that do not Explain and How to find Them cites Parameterized Explainer for Graph Neural Network
  • On Logic-based Self-Explainable Graph Neural Networks cites On Explainability of Graph Neural Networks via Subgraph Explorations
  • On Logic-based Self-Explainable Graph Neural Networks cites Parameterized Explainer for Graph Neural Network
  • GnnXemplar: Exemplars to Explanations - Natural Language Rules for Global GNN Interpretability cites PGM-Explainer: Probabilistic Graphical Model Explanations for Graph Neural Networks
  • GnnXemplar: Exemplars to Explanations - Natural Language Rules for Global GNN Interpretability cites XGNN: Towards Model-Level Explanations of Graph Neural Networks
  • GnnXemplar: Exemplars to Explanations - Natural Language Rules for Global GNN Interpretability cites On Explainability of Graph Neural Networks via Subgraph Explorations
  • GnnXemplar: Exemplars to Explanations - Natural Language Rules for Global GNN Interpretability cites Parameterized Explainer for Graph Neural Network
  • GnnXemplar: Exemplars to Explanations - Natural Language Rules for Global GNN Interpretability cites Generative Causal Explanations for Graph Neural Networks
  • On Explainability of Graph Neural Networks via Subgraph Explorations cites PGM-Explainer: Probabilistic Graphical Model Explanations for Graph Neural Networks
  • On Explainability of Graph Neural Networks via Subgraph Explorations cites XGNN: Towards Model-Level Explanations of Graph Neural Networks
  • On Explainability of Graph Neural Networks via Subgraph Explorations cites Parameterized Explainer for Graph Neural Network
  • Parameterized Explainer for Graph Neural Network cites XGNN: Towards Model-Level Explanations of Graph Neural Networks
  • Generative Causal Explanations for Graph Neural Networks cites Parameterized Explainer for Graph Neural Network
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. GnnXemplar: Exemplars to Explanations - Natural Language Rules for Global GNN InterpretabilityBurouj Armgaan, Eshan Jain, Harsh Pandey, Mahesh Chandran et al.NeurIPS 2025 · 5 citations
  2. GNN Explanations that do not Explain and How to find ThemSteve Azzolin, Stefano Teso, Bruno Lepri, Andrea Passerini et al.ICLR 2026 · 4 citations
  3. Sound Logical Explanations for Mean Aggregation Graph Neural NetworksMatthew Morris, Ian HorrocksNeurIPS 2025 · 3 citations
  4. LogicXGNN: Grounded Logical Rules for Explaining Graph Neural NetworksChuqin Geng, Ziyu Zhao, Zhaoyue Wang, Haolin Ye et al.ICLR 2026 · 2 citations
  5. On Logic-based Self-Explainable Graph Neural NetworksAlessio Ragno, Marc Plantevit, Céline RobardetNeurIPS 2025 · 2 citations

Builds on26

  1. Parameterized Explainer for Graph Neural NetworkDongsheng Luo, Wei Cheng, Dongkuan Xu, Wenchao Yu et al.NeurIPS 2020 · 888 citations
  2. On Explainability of Graph Neural Networks via Subgraph ExplorationsHao Yuan, Haiyang Yu, Jie Wang, Kang Li et al.ICML 2021 · 498 citations
  3. PGM-Explainer: Probabilistic Graphical Model Explanations for Graph Neural NetworksMinh N. Vu, My T. ThaiNeurIPS 2020 · 437 citations
  4. XGNN: Towards Model-Level Explanations of Graph Neural NetworksHao Yuan, Jiliang Tang, Xia Hu, Shuiwang JiKDD 2020 · 261 citations
  5. Generative Causal Explanations for Graph Neural NetworksWanyu Lin, Hao Lan, Baochun LiICML 2021 · 217 citations

Related papers

  1. Global Explainability of GNNs via Logic Combination of Learned ConceptsSteve Azzolin, Antonio Longa, Pietro Barbiero, Pietro Liò et al.ICLR 2023 · 11 citations
  2. Global Concept-Based Interpretability for Graph Neural Networks via Neuron AnalysisHan Xuanyuan, Pietro Barbiero, Dobrik Georgiev, Lucie Charlotte Magister et al.AAAI 2023 · 62 citations
  3. GNNShap: Scalable and Accurate GNN Explanation using Shapley ValuesSelahattin Akkas, Ariful AzadWWW 2024 · 31 citations
  4. GNNInterpreter: A Probabilistic Generative Model-Level Explanation for Graph Neural NetworksXiaoqi Wang, Han-Wei ShenICLR 2023 · 10 citations
  5. DEGREE: Decomposition Based Explanation for Graph Neural NetworksQizhang Feng, Ninghao Liu, Fan Yang, Ruixiang Tang et al.ICLR 2022 · 33 citations
Dusk over the sea between two cliffs drawn in fine vertical lines