Lune

KDD2022Top-tier venue

Causal Attention for Interpretable and Generalizable Graph Classification

Yongduo Sui, Xiang Wang, Jiancan Wu, Min Lin, Xiangnan He, Tat-Seng Chua

Abstract

In graph classification, attention-and pooling-based graph neural networks (GNNs) prevail to extract the critical features from the input graph and support the prediction. They mostly follow the paradigm of "learning to attend", which maximizes the mutual information between the attended graph and the ground-truth label. However, this paradigm makes GNN classifiers recklessly absorb all the statistical correlations between input features and labels in the training data, without distinguishing the causal and noncausal effects of features. Instead of underscoring the causal features, the attended graphs are prone to visit the noncausal features as the shortcut to predictions. Such shortcut features might easily change outside the training distribution, thereby making the GNN classifiers suffer from poor generalization. In this work, we take a causal look at the GNN modeling for graph classification. With our causal assumption, the shortcut feature serves as a confounder between the causal feature and prediction. It tricks the classifier to learn spurious correlations that facilitate the prediction in in-distribution (ID) test evaluation, while causing the performance drop in out-of-distribution (OOD) test data. To endow the classifier with better interpretation and generalization, we propose the Causal Attention Learning (CAL) strategy, which discovers the causal patterns and mitigates the confounding effect of shortcuts. Specifically, we employ attention modules to estimate the causal and shortcut features of the input graph. We then parameterize the backdoor adjustment of causal theory -combine each causal feature with various shortcut features. It encourages the stable relationships between the causal estimation and the prediction, regardless of the changes in shortcut parts and distributions. Extensive experiments on synthetic and real-world datasets demonstrate the effectiveness of CAL.

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.

24 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

  • Does Invariant Graph Learning via Environment Augmentation Learn Invariance? cites Discovering Invariant Rationales for Graph Neural Networks
  • Graph Invariant Learning with Subgraph Co-mixup for Out-of-Distribution Generalization cites Discovering Invariant Rationales for Graph Neural Networks
  • Boosting Graph Contrastive Learning via Graph Contrastive Saliency cites The Risks of Invariant Risk Minimization
  • Boosting Graph Contrastive Learning via Graph Contrastive Saliency cites Discovering Invariant Rationales for Graph Neural Networks
  • Discovering Invariant Rationales for Graph Neural Networks cites The Risks of Invariant Risk Minimization
  • Empowering Graph Invariance Learning with Deep Spurious Infomax cites Does Invariant Graph Learning via Environment Augmentation Learn Invariance?
  • Empowering Graph Invariance Learning with Deep Spurious Infomax cites Discovering Invariant Rationales for Graph Neural Networks
  • How Attentive are Graph Attention Networks? cites How to Find Your Friendly Neighborhood: Graph Attention Design with Self-Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers24

  1. Does Invariant Graph Learning via Environment Augmentation Learn Invariance?Yongqiang Chen, Yatao Bian, Kaiwen Zhou, Binghui Xie et al.NeurIPS 2023 · 71 citations
  2. Graph Invariant Learning with Subgraph Co-mixup for Out-of-Distribution GeneralizationTianrui Jia, Haoyang Li, Cheng Yang, Tao Tao et al.AAAI 2024 · 38 citations
  3. Boosting Graph Contrastive Learning via Graph Contrastive SaliencyChunyu Wei, Yu Wang, Bing Bai, Kai Ni et al.ICML 2023 · 31 citations
  4. G^2SAM: Graph-Based Global Semantic Awareness Method for Multimodal Sarcasm DetectionYiwei Wei, Shaozu Yuan, Hengyang Zhou, Longbiao Wang et al.AAAI 2024 · 30 citations
  5. Empowering Graph Invariance Learning with Deep Spurious InfomaxTianjun Yao, Yongqiang Chen, Zhenhao Chen, Kai Hu et al.ICML 2024 · 20 citations

Builds on11

  1. How Attentive are Graph Attention Networks?Shaked Brody, Uri Alon, Eran YahavICLR 2022 · 1,717 citations
  2. Long-Tailed Classification by Keeping the Good and Removing the Bad Momentum Causal EffectKaihua Tang, Jianqiang Huang, Hanwang ZhangNeurIPS 2020 · 533 citations
  3. The Risks of Invariant Risk MinimizationElan Rosenfeld, Pradeep Kumar Ravikumar, Andrej RisteskiICLR 2021 · 356 citations
  4. Discovering Invariant Rationales for Graph Neural NetworksYingxin Wu, Xiang Wang, An Zhang, Xiangnan He et al.ICLR 2022 · 313 citations
  5. How to Find Your Friendly Neighborhood: Graph Attention Design with Self-SupervisionDongkwan Kim, Alice OhICLR 2021 · 309 citations

Related papers

  1. Inductive Subgraphs as Shortcuts: Causal Disentanglement for Heterophilic Graph LearningXiangmeng Wang, Qian Li, Haiyang Xia, Hao Miao et al.SIGIR 2026
  2. De-biased Attention Supervision for Text Classification with CausalityYiquan Wu, Yifei Liu, Ziyu Zhao, Weiming Lu et al.AAAI 2024 · 10 citations
  3. A Recipe for Causal Graph Regression: Confounding Effects RevisitedYujia Yin, Tianyi Qu, Zihao Wang, Yifan ChenICML 2025
  4. Graph Out-of-Distribution Generalization via Causal InterventionQitian Wu, Fan Nie, Chenxiao Yang, Tianyi Bao et al.WWW 2024 · 58 citations
  5. Debiasing Graph Neural Networks via Learning Disentangled Causal SubstructureShaohua Fan, Xiao Wang, Yanhu Mo, Chuan Shi et al.NeurIPS 2022 · 168 citations
Dusk over the sea between two cliffs drawn in fine vertical lines