Introduction
Self-supervised learning (SSL) is a critical paradigm for graph machine learning, as real-world graph data—such as social networks or molecular structures—is rarely labeled. Non-contrastive SSL methods like VICReg or Barlow Twins have gained popularity because they avoid the need for computationally expensive negative sampling. However, these methods face a significant scalability hurdle: the calculation of a covariance matrix to prevent dimensional collapse.
The Scalability Bottleneck
In non-contrastive SSL, the model must ensure that node embeddings do not collapse into a single point. This is typically achieved by whitening the covariance matrix of the embeddings. For $N$ nodes and an embedding dimension $D$, computing this matrix costs $O(ND^2)$. As $N$ reaches millions and $D$ increases for better representation, the memory and time requirements become prohibitive for standard hardware.
Proposed Methods: Node and Dimension Sampling
The authors propose a dual-pronged approach to mitigate the $O(ND^2)$ complexity:
1. Node Sampling
Instead of utilizing every node in the graph for loss calculation at each step, the authors sample a subset. Two strategies were evaluated:
- Uniform Sampling: Randomly selecting nodes.
- Ricci Sampling: Using "Ricci curvature" to identify informative nodes likely to change significantly under data augmentation.
Surprisingly, training on a subset of data often yields better performance than using the full graph. As shown in the figure above, performance peaks at sampling rates well below 1.0. This suggests that graphs contain significant redundancy, and sampling acts as a regularizer that prevents overfitting to noise.
2. Dimension Sampling
To address the $D^2$ complexity, the authors employ the Nystrom approximation. By selecting a small subset of "landmark" dimensions to whiten, they can effectively regularize the entire embedding space without the full $D \times D$ cost.
Experimental results show that performance is stable across a range of dimensions, and increasing the expander dimension generally improves accuracy until a plateau is reached, justifying the use of high-dimensional spaces that are then made efficient via sampling.
Key Results
The experimental results across six standard benchmarks reveal several key findings:
- Performance Gains: On the Coauthor Physics dataset, node sampling improved accuracy from 92.23% (baseline) to 95.78%.
- Efficiency: The complexity is reduced to $O(pND^2)$ for node sampling (ratio $p$) or $O(NM^2)$ for dimension sampling (landmarks $M \ll D$), enabling high-dimensional SSL on consumer-grade GPUs.
- Information Density: The "sweet spot" for sampling varies by dataset (e.g., 10% for Amazon Computers vs. 50% for Pubmed), suggesting varying levels of feature redundancy across domains.
Conclusion
This work demonstrates that "less is more" in graph SSL. By intelligently sampling nodes and dimensions, researchers can achieve better performance with significantly lower computational overhead. This paves the way for applying sophisticated SSL techniques to massive, real-world graphs.
Summary updated