Rethinking Dimensional Rationale in Graph Contrastive Learning from Causal Perspective

Qirui Ji, Jiangmeng Li, Jie Hu, Rui Wang, Changwen Zheng, Fanjiang Xu

Introduction

Graph Contrastive Learning (GCL) has revolutionized unsupervised graph representation learning by maximizing agreement between differently augmented views of the same graph. A central theme in recent GCL research is the identification of "rationales"—the specific components of a graph that are most influential for a given task. Traditionally, these rationales have been viewed through a structural lens, focusing on identifying critical nodes, edges, or subgraphs.

However, this structural focus may be incomplete. Even within "important" structural components, the resulting high-dimensional embeddings often contain significant task-agnostic noise. Through exploratory experiments, the authors observed a compelling phenomenon: randomly preserving only a subset of dimensions in a graph representation frequently outperforms the full, original representation. This suggests the existence of Dimensional Rationales (DRs)—intrinsic subsets of feature dimensions that drive predictive performance.

Exploratory experiments on PROTEINS and RDT-B datasets showing that preserving specific random subsets of dimensions can lead to higher inference accuracy than the full representation (baseline).

A Causal Perspective on Rationales

To address the challenge of isolating these dimensional rationales, the DRGCL framework adopts a causal perspective. The relationship between the graph embedding ($E$), the acquired dimensional rationale ($R$), and the contrastive learning label ($Y$) is modeled using a Structural Causal Model (SCM).

In this model, the rationale $R$ is identified as a causal confounder. It creates spurious correlations between the embedding $E$ and the label $Y$ because it influences both the generation of the embedding and the final prediction. Standard GCL methods, by failing to account for this confounding effect, often learn representations that are entangled with task-irrelevant noise. To mitigate this, DRGCL applies backdoor adjustment, a causal intervention technique that allows the model to learn the direct causal effect of the embedding on the prediction, effectively "de-noising" the representation.

The DRGCL Framework

Building on this causal foundation, the Dimensional Rationale-aware Graph Contrastive Learning (DRGCL) framework introduces several key components designed to identify and leverage task-relevant dimensions.

DR Acquiring Network and Meta-Learning

At the heart of DRGCL is a learnable weight vector $\mathcal{R}$ that scales the dimensions of the graph embedding. To ensure that $\mathcal{R}$ captures truly beneficial dimensions, the framework employs a bi-level meta-learning strategy. In the inner loop, the model simulates a gradient update on the contrastive loss. In the outer loop, it evaluates how this update affects the performance and adjusts $\mathcal{R}$ accordingly. This "look-ahead" mechanism encourages the network to favor dimensions that contribute to more discriminative representations.

Redundancy Reduction

Identifying important dimensions is insufficient if those dimensions are highly redundant. To ensure the learned features are efficient and information-rich, DRGCL incorporates a redundancy reduction constraint. This constraint, inspired by multivariate analysis, penalizes correlations between different dimensions of the rationale-weighted embedding. This forces the model to learn "information-decoupled" features, where each dimension captures a distinct aspect of the graph's properties.

The DRGCL framework architecture. It illustrates the dual-path training process involving rationale acquisition via meta-learning and a redundancy reduction objective to ensure feature independence.

Experimental Results

The model was evaluated across a diverse set of benchmarks, including unsupervised learning on TU datasets, transfer learning on molecular datasets (ZINC-2M to MoleculeNet), and biological function prediction (PPI-306K).

  • Unsupervised Learning: DRGCL consistently outperformed state-of-the-art GCL methods. Across eight TU datasets, it achieved the lowest average rank (2.8), demonstrating its robustness across different graph types.
  • Transferability: In the transfer learning setting, pre-training with DRGCL on the ZINC-2M dataset led to superior performance on downstream MoleculeNet tasks, achieving an average accuracy of 72.5%. This suggests that dimensional rationales are more transferable across tasks than purely structural ones.
  • Feature Quality: Visualizations using T-SNE confirmed that DRGCL produces more compact and well-separated clusters compared to baseline methods, indicating a higher degree of semantic clarity in the learned embeddings.

Conclusion

DRGCL shifts the focus of graph rationale research from structural importance to dimensional relevance. By treating dimensional rationales as causal confounders and applying backdoor adjustment, the framework provides a principled way to filter out task-agnostic noise. While the bi-level optimization introduces additional computational complexity, the gains in representation quality and transferability make it a powerful tool for self-supervised graph learning.

Summary updated

BibTeX
@inproceedings{ji2024rethinking,
  author = {Qirui Ji and Jiangmeng Li and Jie Hu and Rui Wang and Changwen Zheng and Fanjiang Xu},
  title = {{Rethinking Dimensional Rationale in Graph Contrastive Learning from Causal Perspective}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i11.29177},
}
Figure