Skip to main content
QUICK REVIEW

[Paper Review] Discovering Invariant Rationales for Graph Neural Networks

Yingxin Wu, Xiang Wang|arXiv (Cornell University)|Jan 30, 2022
Explainable Artificial Intelligence (XAI)Computer Science59 citations
TL;DR

DIR discovers invariant causal rationales for GNNs by intervening on non-causal features to learn robust, interpretable graph classifications with improved generalization across distributions.

ABSTRACT

Intrinsic interpretability of graph neural networks (GNNs) is to find a small subset of the input graph's features -- rationale -- which guides the model prediction. Unfortunately, the leading rationalization models often rely on data biases, especially shortcut features, to compose rationales and make predictions without probing the critical and causal patterns. Moreover, such data biases easily change outside the training distribution. As a result, these models suffer from a huge drop in interpretability and predictive performance on out-of-distribution data. In this work, we propose a new strategy of discovering invariant rationale (DIR) to construct intrinsically interpretable GNNs. It conducts interventions on the training distribution to create multiple interventional distributions. Then it approaches the causal rationales that are invariant across different distributions while filtering out the spurious patterns that are unstable. Experiments on both synthetic and real-world datasets validate the superiority of our DIR in terms of interpretability and generalization ability on graph classification over the leading baselines. Code and datasets are available at https://github.com/Wuyxin/DIR-GNN.

Motivation & Objective

  • Motivate intrinsic interpretability in GNNs by avoiding reliance on shortcut features that fail under distribution shift.
  • Propose a causal, invariant rationalization framework to identify environment-invariant causal patterns guiding predictions.
  • Develop the DIR objective and a four-module GNN architecture to extract and validate invariant rationales.
  • Provide theoretical justification and empirical evidence of improved generalization and interpretability across synthetic and real datasets.

Proposed method

  • Formalize the data-generating process with a Structure Causal Model separating causal (C) and non-causal (S) parts.
  • Define invariant rationalization as minimizing risk across interventional distributions while penalizing variance across environments (DIR objective).
  • Introduce a rationale generator to split graphs into causal and non-causal subgraphs; a distribution intervener to create interventional distributions; a graph encoder; and two classifiers for causal/non-causal parts.
  • Construct interventional distributions by do(S=s) interventions on S and train to identify C that yields invariant Y across these distributions.
  • Infer predictions under interventions and use a joint prediction with masked non-causal contributions to emphasize causal rationales.
  • Provide optimization: DIR objective combines expected interventional risk and variance regularization (R_DIR).
  • Provide an auxiliary loss on the non-causal branch to promote learning of spurious features separately (R_S).

Experimental results

Research questions

  • RQ1RQ1: How effective is DIR at discovering causal features and improving GNN generalization?
  • RQ2RQ2: What training dynamics and patterns emerge when learning invariant rationales?
  • RQ3RQ3: Do DIR-discovered rationales improve interpretability and robustness on OOD data?

Key findings

  • DIR consistently outperforms ERM and several invariant learning baselines across synthetic and real datasets in terms of generalization.
  • In ablations, the variance-regularized DIR (DIR) improves over DIR-Var (λ>0) by leveraging invariant distributions.
  • DIR achieves better intrinsic interpretability, with higher Precision@5 on Spurious-Motif as bias increases.
  • Two-stage training dynamics reveal an adaption phase where the rationale extractor learns salient features, followed by a fitting phase stabilizing the causal rationale and refining the predictor.
  • Visualizations show DIR focusing on salient causal tokens/edges that align with ground-truth rationales and remain informative under distribution shifts.

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.