Abstract
Graph Contrastive Learning (GCL) has emerged as the dominant paradigm for self-supervised graph representation learning. However, this study provides a critical evaluation of GCL performance, demonstrating that on many standard benchmarks, GCL methods often fail to outperform simple, untrained baselines. By comparing popular GCL algorithms against random Graph Neural Networks (GNNs) and handcrafted graph statistics, we show that GCL’s advantages only become apparent as dataset sizes scale beyond a few thousand examples. We identify a distinct "crossover point" and observe that performance gains eventually plateau, suggesting that current benchmarks may be insufficient for measuring genuine algorithmic progress.
Introduction
In the field of Graph Neural Networks (GNNs), Graph Contrastive Learning (GCL) is frequently cited as a breakthrough for learning without labels. The core idea involves creating multiple "views" of a graph—through node dropping or edge perturbation—and training a model to recognize these views as the same underlying entity. Despite the popularity of this approach, much of the research relies on the "TU datasets," which are often small, containing fewer than 200 graphs in some cases.
This paper addresses a fundamental concern: is GCL truly capturing deep structural patterns, or are the reported successes merely a reflection of the inherent power of GNN architectures and basic graph features? To investigate, the authors conduct a rigorous "reality check" comparing state-of-the-art GCL methods against "dumb" baselines.
Methodology
The study evaluates four prominent GCL methods—GraphCL, JOAO, SimGRACE, and InfoGraph—against three primary baselines:
- Untrained GNN: A standard 3-layer Graph Isomorphism Network (GIN) with frozen, random weights.
- Handcrafted Statistics: A vector of basic properties (e.g., node count, mean degree, degree histogram).
- MolFingerprint: A simple MLP trained on standard molecular fingerprints for chemical datasets.
The researchers employed an embedding-probe protocol, where the encoder (whether GCL-trained or random) remains frozen, and a linear classifier is trained on the resulting embeddings. This methodology ensures that performance differences are attributable to representation quality rather than classifier complexity.
Results
The Small Data Illusion
On the widely used TU datasets, the results are sobering. Simple baselines frequently match or exceed the performance of GCL methods. Every GCL method tested was outperformed on at least one dataset by either a random GNN or basic statistics. For instance, on the PROTEINS dataset, an untrained GNN achieved 74.61% accuracy, surpassing most GCL-trained models.
These findings suggest that GCL's perceived success on small-scale benchmarks may be an artifact of the datasets' simplicity rather than the sophistication of the learning algorithm.
Scaling and the Crossover Point
To understand when GCL becomes beneficial, the authors analyzed the large-scale OGBG-MOLHIV dataset (over 41,000 graphs). By subsampling this dataset, they identified a "crossover point" at approximately 4,000 to 4,500 graphs.
Below this threshold, random GNNs remain highly competitive. Above it, GCL begins to pull ahead, maintaining a modest ~2% ROC-AUC advantage at the full dataset size.
Logarithmic Scaling and Plateaus
Further experiments on synthetic datasets revealed that GCL accuracy scales roughly with the logarithm of the number of training graphs. However, this advantage is not infinite; the performance gap over baselines eventually plateaus. While GCL excels on structurally complex ("hard") tasks, its marginal utility diminishes as more data is added beyond a certain point.
Discussion and Conclusion
The study highlights that untrained GNNs are non-trivial baselines. A random GNN acts as a high-capacity random feature map; given enough labeled examples, a linear probe can effectively identify useful features within that map.
The authors conclude that the GCL community must move beyond tiny benchmarks and focus on scaling laws. They propose two major recommendations for future research:
- Mandatory Baselines: Future graph self-supervised learning research should include untrained GNNs as a standard baseline to ensure reported progress is genuine.
- Focus on Scaling: Research should prioritize designing algorithms that avoid performance plateaus and sustain improvements as datasets grow to hundreds of thousands or millions of graphs.
While GCL shows promise on large, complex datasets, its current dominance on small-scale benchmarks appears to be largely illusory.
Summary updated