Skip to main content
QUICK REVIEW

[Paper Review] RelEx: A Model-Agnostic Relational Model Explainer

Yue Zhang, David DeFazio|arXiv (Cornell University)|May 30, 2020
Explainable Artificial Intelligence (XAI)Computer Science16 references7 citations
TL;DR

RelEx is a model-agnostic relational explainer that generates local, interpretable explanations for black-box relational models—such as GNNs and SRL models—using only model predictions, not gradients. It constructs explanations via local differentiable approximation and learns interpretable masks over relational structures, achieving performance comparable to or better than GNN-Explainer while supporting diverse, domain-relevant explanations without requiring model differentiability.

ABSTRACT

In recent years, considerable progress has been made on improving the interpretability of machine learning models. This is essential, as complex deep learning models with millions of parameters produce state of the art results, but it can be nearly impossible to explain their predictions. While various explainability techniques have achieved impressive results, nearly all of them assume each data instance to be independent and identically distributed (iid). This excludes relational models, such as Statistical Relational Learning (SRL), and the recently popular Graph Neural Networks (GNNs), resulting in few options to explain them. While there does exist one work on explaining GNNs, GNN-Explainer, they assume access to the gradients of the model to learn explanations, which is restrictive in terms of its applicability across non-differentiable relational models and practicality. In this work, we develop RelEx, a model-agnostic relational explainer to explain black-box relational models with only access to the outputs of the black-box. RelEx is able to explain any relational model, including SRL models and GNNs. We compare RelEx to the state-of-the-art relational explainer, GNN-Explainer, and relational extensions of iid explanation models and show that RelEx achieves comparable or better performance, while remaining model-agnostic.

Motivation & Objective

  • To address the lack of model-agnostic explainers for relational models like GNNs and SRL, which are often non-differentiable and exclude gradient-based methods.
  • To enable explanation of any black-box relational model with only access to input-output behavior, not internal gradients or architecture.
  • To provide users with multiple diverse explanations per instance, enhancing interpretability from a domain perspective.
  • To evaluate RelEx on synthetic and real-world graph datasets, demonstrating both quantitative and qualitative superiority over existing methods.

Proposed method

  • RelEx constructs a local differentiable approximation of the black-box relational model around a node of interest using perturbed input samples.
  • It learns an interpretable mask over the relational structure (edges and features) by optimizing for fidelity to the black-box predictions.
  • The method uses either Sigmoid or Gumbel-Softmax relaxation to enable differentiable sampling and mask learning without relying on gradients of the black-box.
  • To promote explanation diversity, it maximizes cross-entropy between two independently learned explanations for the same instance.
  • Explanations are generated by identifying the most influential subgraphs (neighborhoods) that contribute to the prediction, using a surrogate model trained on perturbations.
  • The approach is applied to both GNNs and HL-MRFs, demonstrating broad applicability across relational learning models.

Experimental results

Research questions

  • RQ1Can a model-agnostic relational explainer achieve performance comparable to gradient-based methods like GNN-Explainer without requiring access to model gradients?
  • RQ2Can RelEx generate diverse, meaningful explanations for the same prediction that reflect different aspects of the underlying relational structure?
  • RQ3Does RelEx outperform or match state-of-the-art explainers in explaining both synthetic and real-world graph-structured data?
  • RQ4Can RelEx effectively identify the correct 'right reasons' (ground-truth relational structures) in node classification tasks?

Key findings

  • RelEx achieved comparable or better infidelity scores than GNN-Explainer and other baselines on the MUTAG dataset, with RelEx_Gumbel achieving 0.05573 and GNN-Explainer 0.05557.
  • On synthetic datasets (tree, grid, BA), RelEx successfully captured core topological structures such as hexagonal rings and -NO₂ groups, matching or exceeding ground-truth relational patterns.
  • The diverse explanation capability of RelEx allowed it to generate multiple valid explanations for the same node, including one that captured both pentagonal and hexagonal rings in a molecule, while another excluded noisy edges.
  • Qualitative results showed that RelEx_Gumbel correctly identified the hexagonal ring structure in carbon atoms and the -NO₂ structure in nitrogen atoms, aligning with domain knowledge.
  • RelEx demonstrated robustness across model types, successfully explaining both GNNs and HL-MRFs, proving its model-agnostic nature.

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.