Skip to main content
QUICK REVIEW

[Paper Review] GraphFramEx: Towards Systematic Evaluation of Explainability Methods for Graph Neural Networks

Kenza Amara, Rex Ying|arXiv (Cornell University)|Jun 20, 2022
Explainable Artificial Intelligence (XAI)Computer Science25 citations
TL;DR

GraphFramEx proposes a systematic framework to evaluate GNN explainability across user needs, introducing fidelity-based characterization and a top-k masking protocol for real- and synthetic-dataset assessments.

ABSTRACT

As one of the most popular machine learning models today, graph neural networks (GNNs) have attracted intense interest recently, and so does their explainability. Users are increasingly interested in a better understanding of GNN models and their outcomes. Unfortunately, today's evaluation frameworks for GNN explainability often rely on few inadequate synthetic datasets, leading to conclusions of limited scope due to a lack of complexity in the problem instances. As GNN models are deployed to more mission-critical applications, we are in dire need for a common evaluation protocol of explainability methods of GNNs. In this paper, we propose, to our best knowledge, the first systematic evaluation framework for GNN explainability, considering explainability on three different "user needs". We propose a unique metric that combines the fidelity measures and classifies explanations based on their quality of being sufficient or necessary. We scope ourselves to node classification tasks and compare the most representative techniques in the field of input-level explainability for GNNs. For the inadequate but widely used synthetic benchmarks, surprisingly shallow techniques such as personalized PageRank have the best performance for a minimum computation time. But when the graph structure is more complex and nodes have meaningful features, gradient-based methods are the best according to our evaluation criteria. However, none dominates the others on all evaluation dimensions and there is always a trade-off. We further apply our evaluation protocol in a case study for frauds explanation on eBay transaction graphs to reflect the production environment.

Motivation & Objective

  • Motivate the need for a common evaluation protocol for GNN explainability due to varied and limited benchmarks.
  • Define multiple user-focused objectives (phenomenon vs. model explanations) and explainability mask types (hard vs. soft).
  • Introduce a ground-truth-free evaluation via fidelity measures that distinguish necessary and sufficient explanations.
  • Propose the characterization score to jointly evaluate necessary and sufficient explanations.
  • Apply the framework to real and synthetic datasets and demonstrate production relevance with an eBay fraud case study.

Proposed method

  • Model-agnostic and model-aware, post-hoc explanations evaluated on node classification tasks.
  • Define edge and node feature masks that produce explanatory subgraphs via elementwise masking (A_S = M_E ⊙ A, X_S = M_NF ⊙ X).
  • Classify explanations as necessary, sufficient, or both based on two fidelity measures (Fid+ and Fid−).
  • Combine fidelities into a single characterization score (charact) as a weighted harmonic mean of Fid+ and (1 − Fid−).
  • Adopt a top-k masking strategy to fix explanation size (k edges) for fair comparisons across methods.
  • Present a decision-tree style guidance (GraphFramEx) for selecting explainers based on user goals and model accuracy.

Experimental results

Research questions

  • RQ1How do existing GNN explainability methods compare under a unified, ground-truth-free evaluation framework?
  • RQ2What is the impact of explanation focus (phenomenon vs. model) and mask type (hard vs. soft) on evaluation outcomes?
  • RQ3Can a single characterization score meaningfully balance necessary and sufficient explanations across datasets?
  • RQ4How do explainability methods perform in real-world production-like settings (eBay fraud graph) compared to synthetic benchmarks?
  • RQ5What are the trade-offs between explanation quality and computation time across methods?

Key findings

  • No single explainability method dominates across all evaluation dimensions; trade-offs exist.
  • Shallow methods like PageRank perform best on inadequate type-1 synthetic benchmarks for minimum computation time, while gradient-based methods excel on more complex graphs with meaningful features.
  • Saliency offers the strongest overall characterization on real datasets, particularly for necessary explanations, whereas Occlusion, Grad-CAM, and PageRank better serve sufficient explanations.
  • Most methods yield good sufficient explanations, but few provide strong necessary explanations; Saliency, Distance, and Occlusion offer notable performance in this aspect.
  • GNNExplainer excels in explaining fraud nodes in the production eBay graph, with perturbation-based methods often outperforming others in that setting.
  • There is observed inconsistency between synthetic benchmarks and real data in method rankings, highlighting limitations of type-1 synthetic datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.