Abstract
Unsupervised graph representation learning is a non-trivial topic for graph data. The success of contrastive learning and self-supervised learning in the unsupervised representation learning of structured data inspires similar attempts on the graph. The current unsupervised graph representation learning and pre-training using the contrastive loss are mainly based on the contrast between handcrafted augmented graph data. However, the graph data augmentation is still not well-explored due to the unpredictable invariance. In this paper, we propose a novel collaborative graph neural networks contrastive learning framework (CGCL), which uses multiple graph encoders to observe the graph. Features observed from different views act as the graph augmentation for contrastive learning between graph encoders, avoiding any perturbation to guarantee the invariance. CGCL is capable of handling both graph-level and node-level representation learning. Extensive experiments demonstrate the advantages of CGCL in unsupervised graph representation learning and the non-necessity of handcrafted data augmentation composition for graph representation learning.
Introduction: The Fragility of Graph Augmentation
In the domain of unsupervised learning, Contrastive Learning (CL) has established itself as a dominant paradigm. The standard approach involves generating multiple "augmented" views of a single data point—such as rotating or cropping an image—and training a model to maximize the similarity between these views.
However, applying this logic to graph data is inherently problematic. Unlike images, where semantic meaning is often robust to local perturbations, graphs are structurally fragile. As illustrated in Figure 1, common handcrafted augmentations like node dropping or edge perturbation can lead to "unpredictable invariance." Removing a single critical edge or node can fundamentally alter the graph's topology and semantic identity, making it difficult for models to learn stable representations.
Methods: Collaborative Graph Contrastive Learning (CGCL)
To address the instability of data-level perturbations, the authors propose CGCL, a framework that shifts the generation of contrastive views from the data level to the encoder level. Instead of corrupting the input graph, CGCL employs an "assembly" of diverse Graph Neural Network (GNN) encoders (e.g., GIN, GCN, GAT) to observe the same original, unperturbed graph.
The Assembly Mechanism
Because different GNN architectures utilize distinct message-passing schemes, they naturally produce diverse feature representations of the same data. In CGCL, these different mathematical "lenses" serve as the augmentations. For any given encoder in the assembly, its output serves as the "query," while the outputs from all other encoders in the assembly act as the "keys" for the contrastive loss (InfoNCE).
Key Metrics for Encoder Selection
To ensure the effectiveness of the assembly and prevent "model collapse" (where all encoders learn identical, trivial features), the paper introduces two quantitative metrics:
- Asymmetry Coefficient (AC): Measures the representational diversity between encoders using Representational Dissimilarity Matrices (RDM).
- Complementarity Coefficient (CC): Evaluates the collective information-fitting ability of the encoder group based on training loss.
Key Results and Insights
CGCL was evaluated across 9 benchmark datasets from the TUDataset collection, including bioinformatics (NCI1, PROTEINS) and social networks (COLLAB, IMDB).
- State-of-the-Art Performance: CGCL outperformed existing methods like GraphCL and AD-GCL on 7 out of 9 datasets.
- Robustness on Sparse Graphs: The framework showed significant advantages on datasets with low average node degrees. In these scenarios, traditional methods often "break" the graph's connectivity through augmentation, whereas CGCL maintains structural integrity.
- The Observer is the Augmentation: The core insight is that data corruption is not a prerequisite for contrastive learning. By using an assembly of stable observers, the model learns a more reliable form of invariance.
Conclusion and Future Work
CGCL demonstrates that handcrafted data augmentation composition is not strictly necessary for high-quality graph representation learning. By leveraging the inherent diversity of GNN architectures, the framework achieves superior stability and performance. Future research will focus on reducing the computational overhead of training multiple encoders simultaneously and automating the selection of optimal encoder assemblies for specific tasks.
Summary updated