Towards Causal Classification: A Comprehensive Study on Graph Neural Networks

Simi Job, Xiaohui Tao, Taotao Cai, Lin Li, Haoran Xie, Jianming YongarXiv 2024

Abstract

The exploration of Graph Neural Networks (GNNs) for processing graph-structured data has expanded, particularly their potential for causal analysis due to their universal approximation capabilities. Anticipated to significantly enhance common graph-based tasks such as classification and prediction, the development of a causally enhanced GNN framework is yet to be thoroughly investigated. Addressing this shortfall, our study delves into nine benchmark graph classification models, testing their strength and versatility across seven datasets spanning three varied domains to discern the impact of causality on the predictive prowess of GNNs. This research offers a detailed assessment of these models, shedding light on their efficiency, and flexibility in different data environments, and highlighting areas needing advancement. Our findings are instrumental in furthering the understanding and practical application of GNNs in diverse datacentric fields.

Introduction

Graph Neural Networks (GNNs) have emerged as the standard for modeling data with complex relational structures, ranging from social networks to molecular biology. Despite their success, traditional GNNs often struggle with the "correlation vs. causation" dilemma. They excel at identifying patterns but frequently fall victim to over-smoothing—where node features become indistinguishable—and lack robustness when graph structures are perturbed.

The central hypothesis of this study is that "causal knowledge"—understanding the underlying mechanisms that link structure to outcome—is essential for the next generation of GNNs. While several causally-enhanced architectures have been proposed, a comprehensive, head-to-head comparison against established baselines has been lacking. This paper provides a rigorous benchmark of nine GNN models to evaluate the real-world impact of causal learning on classification performance.

Methods and Experimental Design

The study evaluates nine representative models, divided into two primary categories:

  1. Baselines: Standard architectures including Graph Convolutional Networks (GCN), Graph Attention Networks (GAT), Graph Isomorphism Networks (GIN), and GraphSAGE.
  2. Causally-Inspired Models:
    • CAL Framework (GCN-CAL, GAT-CAL, GIN-CAL): These utilize "Causal Attention Learning" to disentangle causal features from spurious correlations or "shortcuts."
    • UHGR (UHGR-GAT, UHGR-GCN): These leverage Mutual Information (MI) maximization to learn structural representations that theoretically mirror the data generation process.
The experimental pipeline used for the comprehensive study, from data preparation to model evaluation.

The experimental pipeline involved 5-fold cross-validation and a rigorous sensitivity analysis of hyperparameters such as learning rates and weight decay. The models were tested across seven benchmark datasets in three domains: Bio-Chemical (NCI1, Proteins, Mutag), Citation Networks (Cora, Citeseer), and Social Networks (IMDB-Binary, Reddit-Binary).

Key Results and Insights

The empirical results reveal that incorporating causal mechanisms generally enhances model performance, though the benefits vary by domain and architecture.

Comparative F-scores of baseline and causally-enhanced GNN models across seven benchmark datasets.

The Efficacy of Causal Attention

The GAT-CAL model consistently emerged as a top performer. By employing attention mechanisms to prioritize causal links, it effectively mitigated over-smoothing and captured long-range dependencies better than the standard GAT. For instance, on the Mutag and Citeseer datasets, GAT-CAL achieved a 3% accuracy improvement over other models. Similarly, on the NCI1 dataset, GCN-CAL showed a 1% improvement over its standard counterpart, demonstrating that even simpler convolutional bases benefit from causal layers.

Limitations of Mutual Information

Interestingly, the UHGR models, which rely on Mutual Information (MI), performed poorly on social network datasets and NCI1. This suggests that MI may not always be a reliable proxy for causality in graph-structured data, highlighting a gap between theoretical MI maximization and practical classification accuracy.

The "Shortcut" Trap and Training Complexity

Standard GNNs often achieve high accuracy by exploiting "shortcuts" in the data. While causally-aware models like CAL attempt to filter these out to improve robustness, this process makes them significantly harder to train, requiring more precise hyperparameter tuning.

Discussion and Future Directions

While the study demonstrates the potential of causally-enhanced GNNs, several challenges remain:

  1. Approximated Causality: Current models rely on attention weights or MI, which are approximations rather than true causal discovery.
  2. Hyperparameter Sensitivity: The models exhibit high sensitivity to training configurations, making them less "plug-and-play" than traditional baselines.
  3. Computational Overhead: The added complexity of causal layers increases training time and memory requirements.

Future research should focus on integrating formal causal inference, such as structural causal models (SCMs), directly into GNN architectures to move beyond simple attention-based approximations.

Conclusion

This comprehensive study confirms that while causal learning—particularly through the CAL framework—offers significant gains in accuracy and generalization, the field is still in its early stages. The findings underscore the importance of domain-specific model selection and the need for more robust, computationally efficient causal GNN frameworks.

Summary updated

BibTeX
@misc{job2024towards,
  author = {Simi Job and Xiaohui Tao and Taotao Cai and Lin Li and Haoran Xie and Jianming Yong},
  title = {{Towards Causal Classification: A Comprehensive Study on Graph Neural Networks}},
  year = {2024},
  eprint = {2401.15444},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.15444},
}
Figure