Introducing diminutive causal structure into graph representation learning

Hang Gao, Peng Qiao, Yifan Jin, Fengge Wu, Jiangmeng Li, Changwen Zheng · DOI

Introduction

Graph Neural Networks (GNNs) have demonstrated remarkable success in learning representations from complex relational data. However, their performance often degrades when faced with out-of-distribution (OOD) data or datasets containing strong spurious correlations. These models frequently act as "lazy learners," capturing statistical shortcuts—confounders that correlate with labels but lack a causal basis—rather than the underlying invariant mechanisms.

While global causal discovery for entire graph datasets is often intractable due to data complexity, this paper proposes focusing on Diminutive Causal Structures (DCS). These are localized, specific causal rules derived from domain knowledge that apply to subsets of the data. The authors introduce DCSGL (Diminutive Causal Structure guided Graph Representation Learning), a framework designed to inject these priors into GNNs to enhance robustness and interpretability.

The DCSGL Framework

The core objective of DCSGL is to force the GNN to respect known causal mechanisms. The framework operates through three primary components:

  1. Logic Learning Loss ($L_c$): To ensure the GNN's internal representations align with the DCS, an auxiliary Multi-layer Perceptron (MLP) is trained to predict a specific causal factor ($S$) from intermediate node features. This encourages the model to encode the necessary causal logic within its latent space.
  2. Interchange Intervention ($L_d$): Drawing from causal inference theory, the model undergoes counterfactual testing. By intervening on identified causal anchors (e.g., removing a specific keyword in a sentiment task), the framework mandates that the GNN updates its representations to match the expected output of a perfect causal model. This process effectively "shields" the model from confounding factors.
  3. Joint Optimization: The final objective function combines standard task-specific loss (such as cross-entropy for classification) with the logic learning and intervention losses, ensuring the model balances predictive power with causal consistency.

Experimental Evaluation

The researchers evaluated DCSGL against state-of-the-art robust learning baselines, including IRM, Group DRO, and specialized causal GNNs like DIR and RCGRL. Testing spanned both topological benchmarks (Spurious-Motif, Motif-Variant) and linguistic datasets (Graph-SST5, Graph-Twitter).

Performance and Robustness

DCSGL consistently outperformed baselines, particularly in high-bias scenarios. For instance, on the Spurious-Motif dataset with a bias factor of 0.9, DCSGL achieved an accuracy of 41.68%, a significant improvement over the backbone GNN's 33.61%. In linguistic OOD tasks, such as Graph-Twitter, the method maintained a lead of approximately 1.5 percentage points over standard architectures.

As shown in the experimental results, the proposed method significantly reduces the KL divergence loss compared to the backbone GNN, indicating a much tighter alignment with the intended causal logic. Furthermore, the cosine similarity plot illustrates that while standard GNNs may initially capture causal features, they often diverge as training progresses; DCSGL acts as a stabilizer, keeping the model's internal logic consistent with the DCS.

Conclusion

DCSGL represents a shift from seeking universal causal graphs to leveraging localized, "diminutive" causal priors. By integrating logic learning and interchange interventions, the framework effectively mitigates the influence of confounders. While currently dependent on manual DCS identification, future work aims to automate the discovery of these structures, potentially providing a scalable path toward truly robust graph representation learning.

Summary updated

BibTeX
@article{gao2024introducing,
  author = {Hang Gao and Peng Qiao and Yifan Jin and Fengge Wu and Jiangmeng Li and Changwen Zheng},
  title = {{Introducing diminutive causal structure into graph representation learning}},
  journal = {Knowledge-Based Systems},
  year = {2024},
  doi = {10.1016/j.knosys.2024.111592},
}
Figure