Skip to main content
QUICK REVIEW

[Paper Review] SCL-GNN: Towards Generalizable Graph Neural Networks via Spurious Correlation Learning

Yuxiang Zhang, Enyan Dai|arXiv (Cornell University)|Mar 9, 2026
Advanced Graph Neural NetworksComputer Science0 citations
TL;DR

SCL-GNN introduces a spurious correlation learning module that uses HSIC and Grad-CAM to detect and mitigate spurious feature–label correlations, jointly optimizing with a GNN via bi-level optimization to improve IID and OOD generalization.

ABSTRACT

Graph Neural Networks (GNNs) have demonstrated remarkable success across diverse tasks. However, their generalization capability is often hindered by spurious correlations between node features and labels in the graph. Our analysis reveals that GNNs tend to exploit imperceptible statistical correlations in training data, even when such correlations are unreliable for prediction. To address this challenge, we propose the Spurious Correlation Learning Graph Neural Network (SCL-GNN), a novel framework designed to enhance generalization on both Independent and Identically Distributed (IID) and Out-of-Distribution (OOD) graphs. SCL-GNN incorporates a principled spurious correlation learning mechanism, leveraging the Hilbert-Schmidt Independence Criterion (HSIC) to quantify correlations between node representations and class scores. This enables the model to identify and mitigate irrelevant but influential spurious correlations effectively. Additionally, we introduce an efficient bi-level optimization strategy to jointly optimize modules and GNN parameters, preventing overfitting. Extensive experiments on real-world and synthetic datasets demonstrate that SCL-GNN consistently outperforms state-of-the-art baselines under various distribution shifts, highlighting its robustness and generalization capabilities.

Motivation & Objective

  • Motivate the need to mitigate spurious correlations that hurt GNN generalization under both IID and OOD distribution shifts.
  • Propose a principled spurious correlation learning mechanism that quantifies and reduces irrelevantly correlated node features.
  • Develop a bi-level optimization strategy to jointly train a spurious-correlation learner and a surrogate GNN while avoiding overfitting.
  • Provide a self-supervised auxiliary task to leverage unlabeled data and stabilize learning.
  • Empirically validate the framework across diverse real-world and synthetic datasets showing improved robustness.

Proposed method

  • Define spurious correlation between node features and labels via a spurious feature set and stable correlations.
  • Quantify irrelevance with Hilbert-Schmidt Independence Criterion (HSIC) between model scores and node representations.
  • Assess feature importance with Grad-CAM to guide correlation mitigation.
  • Introduce a spurious-correlation learning loss that combines HSIC and Grad-CAM signals to steer weight updates.
  • Implement a self-supervised spurious correlation learner that fine-tunes the GNN weights to reduce reliance on spurious features.
  • Apply a bi-level optimization scheme to train the GNN with the spurious-correlation learner while controlling for overfitting.
Figure 1: An illustration of node classification task on an academic network for GNNs. (a) The task aims to classify the label $y$ of target node $v$ based on the compact graph $\mathcal{G}_{v}=\{\mathbf{A}_{v},\mathbf{X}_{v}$ } consisting of its neighbors. (b) Four existing relations and the notion
Figure 1: An illustration of node classification task on an academic network for GNNs. (a) The task aims to classify the label $y$ of target node $v$ based on the compact graph $\mathcal{G}_{v}=\{\mathbf{A}_{v},\mathbf{X}_{v}$ } consisting of its neighbors. (b) Four existing relations and the notion

Experimental results

Research questions

  • RQ1RQ1: How does SCL-GNN perform relative to state-of-the-art methods in addressing spurious correlations?
  • RQ2RQ2: How sensitive is SCL-GNN to the weighting of the spurious-correlation loss (beta) and the learned correlations?
  • RQ3RQ3: Does the proposed bi-level optimization effectively alleviate spurious correlation issues and improve generalization?
  • RQ4RQ4: Do the mechanisms provide meaningful insights into spurious-correlation mitigation across datasets?

Key findings

  • SCL-GNN consistently outperforms baselines on OOD data across multiple datasets and backbones.
  • Increasing the spurious-correlation loss weight beta generally improves performance up to a point, after which overfitting may occur.
  • Ablation studies show that each learned correlation contributes to robustness and that removing certain correlations degrades performance.
  • Bi-level optimization aligns test accuracy closely with training accuracy and is more effective than non-two-layer variants.
  • Visual analyses indicate SCL-GNN reduces reliance on spurious features by lowering median weights for spurious features and increasing weight variance for spurious versus clean features.
Figure 2: Illustration of SCL-GNN framework for generalizing GNN via spurious correlation learning. (a) and (b) illustrates the details of spurious correlation(abbreviated as SC) learner $f_{a}$ and backbone GNN model $f_{s}$ , respectively, (c) represent an overview of the framework, (d) and (e) re
Figure 2: Illustration of SCL-GNN framework for generalizing GNN via spurious correlation learning. (a) and (b) illustrates the details of spurious correlation(abbreviated as SC) learner $f_{a}$ and backbone GNN model $f_{s}$ , respectively, (c) represent an overview of the framework, (d) and (e) re

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.