Debiasing Graph Neural Networks via Learning Disentangled Causal Substructure
Shaohua FanXiao WangYanhu MoChuan ShiJian Tang
Proposes a debiasing framework that separates causal from spurious graph substructures using an edge mask generator and counterfactual synthesis, significantly improving graph neural network generalization on biased datasets.
Graph Neural Networks (GNNs) are widely used for complex graph-classification tasks, such as predicting molecular properties and classifying social or image network data. However, real-world training datasets frequently contain severe biases where irrelevant, spurious background patterns strongly correlate with target labels. When exposed to such data, standard GNNs tend to rely on these superficial bias shortcuts rather than learning true causal substructures, leading to catastrophic performance failures when deployed in unbiased or shifting environments.
To address this vulnerability, the article investigates the impact of severe bias on GNNs and proposes DisC, a general debiasing framework designed to separate causal substructures from bias substructures and eliminate spurious correlations. The approach employs a shared edge mask generator to divide input graphs into causal and bias subgraphs from a global dataset perspective. It then trains two dedicated GNN modules using specialized loss functions—a generalized cross-entropy loss that forces the bias module to capture easy-to-learn spurious features, and a weighted loss that focuses the causal module on true predictive patterns. Finally, the framework generates counterfactual unbiased samples in the latent embedding space by randomly shuffling bias representations across graphs, breaking the dependency between causal and bias features.
The framework was evaluated across three newly constructed benchmark graph datasets (CMNIST-75sp, CFashion-75sp, and CKuzushiji-75sp) with controllable bias degrees ranging from 80% to 95%. The experimental results demonstrated that standard GNNs experienced severe performance drops as bias increased, whereas DisC significantly improved out-of-distribution generalization. Across the tested datasets, DisC achieved average performance improvements between 4.47% and 40.02% in moderate bias scenarios (80%) and dramatic average improvements between 14.67% and 169.17% in severe bias scenarios (90% to 95%) compared to base architectures. Additionally, DisC maintained stable predictive accuracy when exposed to entirely unseen biases in testing sets, while competing debiasing baselines struggled.
These findings indicate that relying on unmitigated GNNs in biased environments creates major operational and accuracy risks. By isolating causal substructures, DisC not only enhances reliability and robustness against distribution shifts but also improves model interpretability by generating identifiable causal subgraphs. Furthermore, the learned edge masks proved transferable, allowing organizations to purify biased datasets to boost the accuracy of other standard GNN models without retraining the full framework.
Organizations deploying GNNs in high-stakes domains should adopt causal debiasing frameworks to audit and mitigate shortcut learning before production release. While the framework demonstrates high empirical confidence and consistency across multiple architectures, evaluation was conducted on controlled visual graph benchmarks. Stakeholders should conduct pilot validation on complex real-world domain graphs, such as chemical molecules or financial networks, to confirm performance boundaries across varied graph topologies.
- Paper: GNNExplainer: Generating Explanations for Graph Neural Networks, Rex Ying et al. (2019). Introduces parameterized edge and feature masking optimization to isolate critical explanatory subgraphs in GNNs, providing the foundational substructure extraction technique adapted for causal and bias subgraph separation.
- Paper: Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representations, Francesco Locatello et al. (2018). Establishes essential theoretical foundations and necessary inductive biases for disentangling latent variables, underpinning the methodology for separating causal factors from spurious bias.
- Paper: Isolating Sources of Disentanglement in Variational Autoencoders, Ricky T. Q. Chen et al. (2018). Provides key techniques for isolating sources of variation and penalizing total correlation across latent variables to achieve effective statistical decorrelation.
- Paper: Equivalence and Synthesis of Causal Models, Tom S. Verma et al. (1990). Presents core causal modeling principles for distinguishing genuine causal mechanisms from spurious statistical associations in graphical structures.
- Paper: How Powerful are Graph Neural Networks?, Keyulu Xu et al. (2019). Characterizes the expressive capacity of message-passing graph neural networks for whole-graph representation and classification tasks.
- Paper: Semi-Supervised Classification with Graph Convolutional Networks, Thomas N. Kipf et al. (2017). Introduces the standard graph convolutional network architecture that serves as the baseline encoder module for graph representation learning.
No sufficiently relevant recommendations were found.
