Abstract
SpeGCL is a novel self-supervised graph contrastive learning (GCL) framework that eliminates the need for positive sample pairs. By operating in the frequency domain via Fourier transforms, SpeGCL captures discriminative high-frequency information often smoothed over by traditional spatial methods. The framework introduces a negative-only contrastive loss, theoretically and empirically demonstrating that optimizing for uniformity among negative samples is sufficient for learning robust graph representations. SpeGCL achieves state-of-the-art performance across multiple benchmarks while significantly reducing computational complexity and memory overhead.
Introduction
Graph Contrastive Learning (GCL) has emerged as a powerful paradigm for unsupervised graph representation learning. Traditionally, GCL relies on a "pull-push" mechanism: pulling positive pairs (augmented views of the same graph) together in the embedding space while pushing negative pairs (different graphs) apart. However, this approach faces two critical bottlenecks. First, most spatial-domain methods primarily capture low-frequency information, ignoring high-frequency components that often contain highly discriminative signals. Second, the construction of positive pairs is computationally expensive and requires sensitive hyperparameter tuning.
SpeGCL addresses these issues by shifting the learning process to the graph spectrum. By leveraging the Fourier transform, the model efficiently captures the entire spectrum of graph data and proves that positive samples are not strictly necessary for model convergence or high performance.
Architecture and Methodology
The SpeGCL architecture is designed to process graph data in the frequency domain, utilizing the convolution theorem to aggregate information more efficiently than standard spatial Graph Neural Networks (GNNs).
The framework consists of three primary components:
- Fourier Graph Convolutional Network (FourierGCN): Instead of spatial convolutions, SpeGCL uses the Fourier transform to project node features into the frequency domain. This allows for efficient information aggregation with a reduced computational complexity of $O(n \log n)$ via Fast Fourier Transforms (FFT).
- Spectrum Augmentation: The model generates multiple "views" of the graph by applying spectral filters. Low-Pass Augmentation (LPA) preserves smooth, global signals, while High-Pass Augmentation (HPA) captures rapidly changing, local features.
- Self-Negative Sampling: This module implements a radical departure from standard GCL by utilizing a contrastive loss function that relies entirely on negative samples.
Spectral Augmentation and Views
A key insight of SpeGCL is that high-frequency components undergo the most significant changes during data augmentation, making them highly expressive for representation learning. Spatial GNNs tend to act as low-pass filters, effectively smoothing out this valuable information.
As shown in the spectral visualizations, the high-pass and low-pass filters extract distinct structural patterns from the original input. By learning to distinguish these spectral views against negative samples, the model develops a more comprehensive understanding of the graph's underlying topology.
Theoretical Innovation: Learning Without Positives
The authors provide a rigorous theoretical foundation (Theorem 2) showing that a "negative-only" loss function converges to the same limit as the standard InfoNCE loss. The core argument rests on the concept of "uniformity." In contrastive learning, the primary task is to ensure that different samples are spread out uniformly in the embedding space. SpeGCL demonstrates that as long as dissimilar nodes are pushed sufficiently far apart, similar nodes will naturally cluster together even without an explicit "pull" force. This discovery simplifies the GCL pipeline and removes the need for complex positive pair construction.
Experimental Evaluation
SpeGCL was evaluated across diverse benchmarks, including the TUDataset, MoleculeNet, and large-scale pre-training on the ChEMBL dataset.
Accuracy and Performance
The model consistently outperformed state-of-the-art (SOTA) methods such as GraphCL, JOAO, and AD-GCL. Notable results include:
- MUTAG: 91.86% accuracy (surpassing the previous best of 90.89%).
- PROTEINS: 78.05% accuracy.
- NCI1: 82.14% accuracy.
Efficiency and Scalability
By operating in the frequency domain, SpeGCL achieves dramatic gains in speed and memory efficiency. On the COLLAB dataset, SpeGCL completed training in just 378 seconds, whereas the SOTA JOAOv2 required 10,742 seconds. Furthermore, SpeGCL required significantly less video memory (6547M vs. GraphCL's 10199M on COLLAB), making it highly suitable for resource-constrained environments.
Conclusion
SpeGCL represents a significant shift in graph contrastive learning. By proving that high-frequency spectral information is a vital signal—not just noise—and demonstrating that positive samples are optional for effective learning, the authors have created a framework that is both more powerful and more efficient than its spatial predecessors. Future work will explore more sophisticated spectral filters and the application of this "negative-only" approach to other domains like computer vision and natural language processing.
Summary updated