Abstract
Graph Contrastive Learning (GCL) has traditionally relied on manual data augmentations to generate multiple views of a graph. However, these augmentations often act as low-pass filters, preserving global structure at the expense of high-frequency information crucial for heterophilic graphs. This paper introduces AF-GCL, an augmentation-free approach that identifies positive pairs through neighborhood feature similarity. AF-GCL achieves state-of-the-art performance on heterophilic datasets while remaining competitive on homophilic ones, all with significantly reduced computational overhead.
Introduction: The Spectral Bias of Graph Augmentations
Contrastive learning has emerged as a dominant paradigm for self-supervised representation learning on graphs. The standard approach involves creating two augmented views of a graph—via edge dropping or feature masking—and maximizing the agreement between their representations.
The authors identify a critical flaw in this methodology: standard augmentations are inherently biased. Through spectral analysis, they demonstrate that these techniques preserve low-frequency components (global structure) but corrupt middle- and high-frequency components (local variations). While this "low-pass filter" effect is beneficial for homophilic graphs (where neighbors share labels), it is detrimental for heterophilic graphs (where neighbors are often different). In heterophilic settings, the high-frequency signals contain the essential information for classification, which standard GCL inadvertently treats as noise.
Methodology: AF-GCL
To address these limitations, the authors propose AF-GCL (Augmentation-Free Graph Contrastive Learning). Unlike traditional dual-branch architectures, AF-GCL utilizes a single-branch design that operates directly on the original graph.
The process follows four key steps:
- Encoding: A Graph Neural Network (GNN) $f_\theta$ maps the original graph into an embedding space $\mathbf{H}$.
- Similarity Selection: For each node, the model identifies the top-$K$ most similar nodes within its $T$-hop neighborhood to serve as positive pairs.
- Contrastive Objective: The model minimizes the distance between these positive pairs while maintaining a uniform distribution of embeddings to prevent representation collapse.
- Theoretical Foundation: The authors prove that minimizing this loss is equivalent to matrix factorization on a "transformed graph" defined by the selected positive pairs, providing a mathematical guarantee for downstream performance.
Key Insights and Results
The core insight of the paper lies in the spectral analysis of graph augmentations. By measuring the Frobenius norm distance between the original and augmented graph Laplacians, the authors show that augmentations significantly alter the graph's high-frequency spectrum. Furthermore, the authors leverage the concentration property of GNNs: even without explicit supervision, GNNs tend to map nodes of the same class to similar regions in the embedding space. AF-GCL exploits this property to find meaningful positive pairs without distorting the underlying graph structure.
Experimental Performance
AF-GCL was evaluated across 14 benchmark datasets, including 8 homophilic and 6 heterophilic graphs.
- State-of-the-Art on Heterophilic Graphs: AF-GCL set new benchmarks for contrastive methods on heterophilic datasets like Chameleon and Squirrel, where high-frequency information is vital.
- Efficiency and Scalability: By removing the need for multiple augmented views and dual-branch processing, AF-GCL is remarkably efficient. On the Coauthor-Phy dataset, it reduced GPU memory consumption from ~30.1 GB (required by GRACE) to just ~3.2 GB—a nearly 10x improvement. This efficiency allows AF-GCL to scale to large graphs that cause "Out of Memory" errors for other methods.
Conclusion
AF-GCL represents a shift away from the "augmentation-heavy" paradigm of graph contrastive learning. By recognizing the spectral bias of common augmentations and utilizing the inherent concentration properties of GNNs, it provides a more robust and efficient framework for learning representations across diverse graph types. Future work may extend this augmentation-free philosophy to other domains where defining valid data augmentations remains a challenge.
Summary updated