Cross-View Graph Consistency Learning for Invariant Graph Representations

Jie Chen, Zhiming Li, Hua Mao, Wai Lok Woo, Xi Peng · OpenReview

Abstract

Graph representation learning is fundamental for analyzing graph-structured data. Exploring invariant graph representations remains a challenge for most existing graph representation learning methods. In this paper, we propose a cross-view graph consistency learning (CGCL) method that learns invariant graph representations for link prediction. First, two complementary augmented views are derived from an incomplete graph structure through a bidirectional graph structure augmentation scheme. This augmentation scheme mitigates the potential information loss that is commonly associated with various data augmentation techniques involving raw graph data, such as edge perturbation, node removal, and attribute masking. Second, we propose a CGCL model that can learn invariant graph representations. A cross-view training scheme is proposed to train the proposed CGCL model. This scheme attempts to maximize the consistency information between one augmented view and the graph structure reconstructed from the other augmented view. Furthermore, we offer a comprehensive theoretical CGCL analysis. This paper empirically and experimentally demonstrates the effectiveness of the proposed CGCL method, achieving competitive results on graph datasets in comparisons with several state-of-the-art algorithms.

Introduction

Graph Representation Learning (GRL) aims to transform complex network structures into low-dimensional vector representations suitable for downstream machine learning tasks. A persistent challenge in GRL is achieving invariance—the ability of a model to capture the fundamental structural properties of a graph despite noise or missing information.

Traditional data augmentation techniques, such as random edge deletion or node masking, are often used to improve robustness. However, these methods can inadvertently destroy critical structural signals, leading to "sampling information loss." Moreover, many existing models are task-agnostic and do not specifically optimize for link prediction. To address these issues, we introduce Cross-View Graph Consistency Learning (CGCL).

Methodology: The CGCL Framework

The CGCL framework introduces a novel approach to learning invariant representations through two primary mechanisms:

  1. Bidirectional Graph Structure Augmentation: Instead of stochastic edge removal, CGCL partitions the graph's edges into two complementary subsets. This ensures that information missing in one view is preserved in the other, providing a complete path back to the original structure.
  2. Cross-View Training Scheme: The model employs shared GCN encoders to generate embeddings for each view. The core innovation is the cross-reconstruction task: the model must use the embedding from View 1 to reconstruct the structure of View 2, and vice versa.
The architecture of the proposed Cross-View Graph Consistency Learning (CGCL) framework.

By maximizing the consistency between these cross-reconstructions, the model is forced to learn "view-invariant" features—representations so fundamental to the graph's topology that they can explain missing components regardless of which specific subset of edges is observed.

Experimental Evaluation

The performance of CGCL was evaluated on five standard graph benchmarks:

  • Citation Networks: Cora, Citeseer, and PubMed (nodes are papers, edges are citations).
  • Amazon Co-purchase Graphs: Photo and Computers (nodes are products, edges represent items frequently bought together).

The experiments focused on link prediction under two testing ratios: 10% and 20% masked edges, testing the model's ability to predict these missing connections.

Results and Discussion

CGCL demonstrates superior performance across all datasets and testing scenarios. As shown in the comparison table below, CGCL consistently achieves state-of-the-art or highly competitive results in terms of Area Under the Curve (AUC) and Average Precision (AP).

Performance comparison of CGCL against state-of-the-art methods on five benchmark datasets.

Key Findings:

  • Superior Accuracy: On the Cora dataset (10% testing ratio), CGCL achieved an AUC of 97.00%, significantly outperforming established models like VGAE (91.88%) and GraphSAGE (90.56%).
  • Robustness to Data Scarcity: Performance remained remarkably stable even as the testing ratio increased to 20%. On the Amazon Photo dataset, CGCL's AUC only decreased slightly from 98.88% to 98.77%, showcasing its resilience.
  • The Power of Complementarity: Ablation studies confirmed that the cross-view consistency mechanism is the "secret sauce"; removing it led to a substantial drop in predictive performance.
  • Theoretical Stability: Theoretical analysis indicates that the consistency loss has well-defined bounds, ensuring stable training and convergence toward meaningful representations.

Conclusion and Future Directions

CGCL offers a robust framework for learning invariant graph representations by leveraging complementary structural views. By moving away from random augmentation toward a structured, cross-view consistency approach, the model effectively mitigates information loss and excels at link prediction. Future work will explore the scalability of CGCL to massive-scale networks and its applicability to dynamic, time-varying graphs where edges appear and disappear constantly.

Summary updated

BibTeX
@inproceedings{chen2025cross,
  author = {Jie Chen and Zhiming Li and Hua Mao and Wai Lok Woo and Xi Peng},
  title = {{Cross-View Graph Consistency Learning for Invariant Graph Representations}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i15.33734},
}
Figure