OrphicX: A Causality-Inspired Latent Variable Model for Interpreting Graph Neural Networks

Wanyu Lin, Hao Lan, Hao Wang, Baochun Li
3/29/2022
cs.LGstat.ML
gnn

Official code: WanyuGroup/CVPR2022-OrphicX (37 stars, Python, MIT, last commit 2022-04-02).

Abstract

This paper proposes a new eXplanation framework, called OrphicX, for generating causal explanations for any graph neural networks (GNNs) based on learned latent causal factors. Specifically, we construct a distinct generative model and design an objective function that encourages the generative model to produce causal, compact, and faithful explanations.

Show full abstract

This is achieved by isolating the causal factors in the latent space of graphs by maximizing the information flow measurements. We theoretically analyze the cause-effect relationships in the proposed causal graph, identify node attributes as confounders between graphs and GNN predictions, and circumvent such confounder effect by leveraging the backdoor adjustment formula. Our framework is compatible with any GNNs, and it does not require access to the process by which the target GNN produces its predictions. In addition, it does not rely on the linear-independence assumption of the explained features, nor require prior knowledge on the graph learning tasks. We show a proof-of-concept of OrphicX on canonical classification problems on graph data. In particular, we analyze the explanatory subgraphs obtained from explanations for molecular graphs (i.e., Mutag) and quantitatively evaluate the explanation performance with frequently occurring subgraph patterns. Empirically, we show that OrphicX can effectively identify the causal semantics for generating causal explanations, significantly outperforming its alternatives.

View on arXivView PDF

Code Implementations(1)

MIT

Official code for the CVPR 2022 (oral) paper "OrphicX: A Causality-Inspired Latent Variable Model for Interpreting Graph Neural Networks."

3712Python, Jupyter NotebookMar 22, 20224 years agoMIT
causalitygraph-neural-networksinterpretability-and-explainability

Similar Papers

Cite this paper

@article{lin2022orphicx,
  title  = {OrphicX: A Causality-Inspired Latent Variable Model for Interpreting Graph Neural Networks},
  author = {Wanyu Lin and Hao Lan and Hao Wang and Baochun Li},
  year   = {2022},
  eprint = {2203.15209},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.15209}
}

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

Discussion