Simple and Asymmetric Graph Contrastive Learning without Augmentations

Teng Xiao, Huaisheng Zhu, Zhengyu Chen, Suhang Wang

Abstract

Traditional Graph Contrastive Learning (GCL) frameworks often rely on stochastic augmentations and the assumption of homophily—that connected nodes share similar features. However, these assumptions frequently fail in heterophilic graphs and can lead to the loss of vital structural signals. This paper introduces GraphACL, an asymmetric, augmentation-free framework that predicts neighborhood context to capture structural relationships. By leveraging an online-target encoder architecture and a uniformity regularization term, GraphACL achieves state-of-the-art performance across 15 diverse benchmarks, demonstrating particular strength in heterophilic environments.

Introduction

Graph Contrastive Learning (GCL) has emerged as a dominant paradigm for unsupervised representation learning on graphs. Despite its success, current methodologies are often constrained by two significant "blind spots": the homophily trap and a heavy dependency on data augmentation.

The homophily trap refers to the underlying assumption that connected nodes are inherently similar. While true for citation networks, this assumption fails in heterophilic graphs, such as chemical interaction or transaction networks, where connected nodes are intentionally distinct. Furthermore, the common practice of using stochastic augmentations (e.g., edge dropping or feature masking) often acts as a low-pass filter, inadvertently smoothing out the high-frequency signals necessary to understand complex graph structures. GraphACL addresses these issues by rethinking the contrastive objective through an asymmetric lens that does not require manual augmentations.

Methodology

GraphACL (Asymmetric Contrastive Learning for Graphs) moves away from the standard "two augmented views" paradigm in favor of a simpler, more robust architecture.

Asymmetric Architecture

Instead of comparing a node to an augmented version of itself, GraphACL treats each node as having two distinct roles: an identity (the node's intrinsic features) and a context (the node's role as a neighbor). The model employs two encoders:

  1. Online Encoder: Generates a representation for a target node $v$, which is then passed through a predictor.
  2. Target Encoder: Generates representations for the node's one-hop neighbors. This encoder is a slowly moving average (EMA) of the online encoder, ensuring stable target representations.

The Prediction Task and Implicit Alignment

The core objective is for the online encoder to "reconstruct" the context of a node's neighbors. This design choice leads to Implicit Two-Hop Alignment. If nodes $A$ and $C$ both share a common neighbor $B$, they both attempt to predict $B$’s context. This naturally pulls the representations of $A$ and $C$ closer together in the latent space, capturing "two-hop" similarities without forcing $A$ and $C$ to be identical to $B$.

Uniformity Regularization

To prevent representation collapse—a common failure mode where the model assigns the same vector to every node—GraphACL incorporates a uniformity term. This term pushes the representations of different nodes apart, ensuring the latent space remains informative and well-distributed.

Experimental Evaluation

The authors evaluated GraphACL across 15 benchmark datasets, spanning a wide range of homophily levels and scales:

  • Heterophilic Graphs: Wisconsin, Cornell, Texas, Actor, Squirrel, Chameleon, Crocodile, Roman-empire, and Arxiv-year.
  • Homophilic Graphs: Cora, Citeseer, Pubmed, Computer, Photo, and Ogbn-Arxiv.

Performance Highlights

GraphACL achieved state-of-the-art (SOTA) results on 14 out of the 15 datasets. The performance gains were particularly pronounced in heterophilic settings:

  • Texas: +14.4% improvement over the second-best method.
  • Cornell: +11.6% improvement.
  • Roman-empire: +4.3% improvement.

Even on traditional homophilic datasets like Cora and Pubmed, GraphACL remained highly competitive, proving that an asymmetric approach does not sacrifice performance on standard tasks to gain an advantage in heterophilic ones.

Discussion and Key Insights

Monophily over Homophily

A central insight of this work is the shift toward "monophily"—the principle that "my friend's friend is like me," even if my friend is not. This signal is significantly more robust for heterophilic graphs than simple edge-based similarity. By predicting context rather than identity, GraphACL allows a node to remain distinct from its immediate neighbors while still capturing the underlying structural pattern.

The Role of Augmentations

The success of GraphACL suggests that the complexity of designing and tuning graph augmentations may be unnecessary. A well-designed asymmetric objective can capture structural information more effectively and with fewer hyperparameters, avoiding the "smoothing" effect that often degrades performance on complex data.

Theoretical Grounding

Beyond empirical success, the authors provide mathematical evidence that GraphACL maximizes the mutual information between a node and its neighborhood context. Furthermore, they demonstrate that the GraphACL loss function provides a theoretical upper bound on downstream classification error, providing a rigorous foundation for the framework's efficacy.

Conclusion

GraphACL represents a significant simplification of the graph contrastive learning pipeline. By removing the need for augmentations and adopting an asymmetric prediction task, the framework effectively bridges the gap between homophilic and heterophilic graph learning. Future work may explore more sophisticated predictor architectures and methods to eliminate negative sampling entirely, further scaling the approach for billion-node web-scale graphs.

Summary updated

BibTeX
@inproceedings{xiao2023simple,
  author = {Teng Xiao and Huaisheng Zhu and Zhengyu Chen and Suhang Wang},
  title = {{Simple and Asymmetric Graph Contrastive Learning without Augmentations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=UK8mA3DRnb},
}
Figure