AS-GCL: Asymmetric Spectral Augmentation on Graph Contrastive Learning

Ruyue Liu, Rong Yin, Yong Liu, Xiaoshuai Hao, Haichao Shi, Can Ma, Weiping Wang

Introduction

Graph Contrastive Learning (GCL) has emerged as a powerful paradigm for self-supervised representation learning on graphs. However, it faces a significant challenge known as "semantic drift." Unlike images, where simple transformations like rotation preserve identity, random perturbations in graphs—such as dropping edges or nodes—can inadvertently destroy critical topological structures, fundamentally altering the graph's underlying meaning and connectivity.

Methodology

To address these limitations, we present AS-GCL (Asymmetric Spectral Augmentation Graph Contrastive Learning). The framework introduces three primary innovations to the standard GCL pipeline to ensure structural integrity and feature diversity.

Overview of the AS-GCL framework, illustrating spectral augmentation, asymmetric encoders, and the dual loss function.

1. Spectral-based Augmentation

Rather than employing stochastic edge removal, AS-GCL optimizes a Bernoulli probability matrix to perturb edges while minimizing changes to the graph's Laplacian spectrum. Since the spectrum captures global structural properties like connectivity and clustering, this approach ensures that the augmented views remain semantically consistent with the original graph.

2. Asymmetric Encoders

To enhance feature diversity, the framework utilizes two Graph Convolutional Network (GCN) encoders that share weights but differ in their depth (number of diffusion layers). This asymmetry forces the model to reconcile local neighborhood features with broader, higher-order structural contexts, leading to more robust embeddings than identical dual-encoder setups.

3. Upper-Bound Contrastive Loss

Standard contrastive losses like InfoNCE focus on maximizing the distance between dissimilar pairs. AS-GCL supplements this with a triplet-based upper-bound loss that acts as a constraint, preventing the absolute distance between positive pairs (the same node in different views) from exceeding a specific threshold, thereby stabilizing training.

Key Insights

The core philosophy of AS-GCL is that the graph spectrum serves as a structural anchor. By preserving the Laplacian eigenvalues, the augmentation process adds necessary noise without breaking essential structural bottlenecks.

Comparison of spectral difference across various augmentation methods on CiteSeer, showing that AS-GCL maintains structural integrity significantly better than baselines.

As shown in the empirical analysis, AS-GCL maintains a much lower spectral difference compared to traditional methods like graph diffusion or random edge addition/discarding, even at high perturbation ratios. This confirms that the spectral optimization effectively shields the graph's core topology from destructive noise.

Experimental Results

AS-GCL was evaluated across eight benchmark datasets, including citation networks (Cora, CiteSeer, PubMed) and co-authorship networks.

  • State-of-the-Art Performance: The model achieved the highest accuracy across all benchmarks for node classification, outperforming the LSGCL baseline by an average of 1.7% and the VGAE baseline by 4.7%.
  • Clustering Excellence: Significant improvements were noted in clustering accuracy; for instance, achieving 0.728 on Cora compared to 0.688 for the next best method (GCIL).
  • Robustness: The framework demonstrated exceptional stability under adversarial conditions, maintaining high performance even when up to 80% of node features were masked or 80% of edges were deleted.

Conclusion and Future Work

AS-GCL effectively mitigates semantic drift through spectral guidance and asymmetric encoding. While the computational complexity of eigenvalue decomposition presents a challenge for massive graphs, future research into Chebyshev polynomial approximations and subgraph sampling offers a promising path toward industrial-scale application.

Summary updated

Abstract

Graph Contrastive Learning (GCL) has emerged as the foremost approach for self-supervised learning on graph-structured data. GCL reduces reliance on labeled data by learning robust representations from various augmented views. However, existing GCL methods typically depend on consistent stochastic augmentations, which overlook their impact on the intrinsic structure of the spectral domain, thereby limiting the model’s ability to generalize effectively. To address these limitations, we propose a novel paradigm called AS-GCL that incorporates asymmetric spectral augmentation for graph contrastive learning. A typical GCL framework consists of three key components: graph data augmentation, view encoding, and contrastive loss. Our method introduces significant enhancements to each of these components. Specifically, for data augmentation, we apply spectral-based augmentation to minimize spectral variations, strengthen structural invariance, and reduce noise. With respect to encoding, we employ parameter-sharing encoders with distinct diffusion operators to generate diverse, noise-resistant graph views. For contrastive loss, we introduce an upper-bound loss function that promotes generalization by maintaining a balanced distribution of intra- and inter-class distance. To our knowledge, we are the first to encode augmentation views of the spectral domain using asymmetric encoders. Extensive experiments on eight benchmark datasets across various node-level tasks demonstrate the advantages of the proposed method.
BibTeX
@article{liu2025as,
  author = {Ruyue Liu and Rong Yin and Yong Liu and Xiaoshuai Hao and Haichao Shi and Can Ma and Weiping Wang},
  title = {{AS-GCL: Asymmetric Spectral Augmentation on Graph Contrastive Learning}},
  journal = {IEEE Trans. Multimedia},
  year = {2025},
  url = {https://openreview.net/forum?id=Wxh3rBcP1m},
}
Figure