Rethinking and Simplifying Bootstrapped Graph Latents

Wangbin Sun, Jintang Li, Liang Chen, Bingzhe Wu, Yatao Bian, Zibin Zheng

TL;DR

Researchers have developed SGCL (Simple Graph Contrastive Learning), a streamlined framework that achieves state-of-the-art results on graph tasks without the need for negative samples or complex architectures. By replacing learned predictors with a non-parametric "inferential" version and ditching redundant components like dual encoders, SGCL runs up to three times faster and uses significantly less memory than its predecessors.

What Problem Does This Paper Address?

Graph Contrastive Learning (GCL) is a powerful way to learn node representations without manual labels. Traditionally, these models rely on "negative samples"—comparing a node to many others to ensure its representation is unique. However, finding good negative samples is computationally expensive and memory-intensive, especially for massive graphs.

Recent "bootstrapping" methods like BGRL (Bootstrapped Graph Latents) managed to eliminate negative samples using complex asymmetric architectures (two encoders, a predictor network, and an exponential moving average (EMA) update). While effective, these models are "black boxes"—it wasn't clear which parts were actually doing the heavy lifting and which were just adding unnecessary complexity.

Methods

The authors first perform a "stress test" on the existing BGRL framework and discover something shocking: the model still works even if you try to make positive pairs dissimilar during training. This led them to investigate what truly prevents "model collapse" (where the model gives every node the same representation).

They introduce SGCL, which simplifies the architecture in three major ways:

  1. Single Everything: Instead of two encoders and two augmentations per step, SGCL uses one encoder and one augmentation. It treats the output from the previous iteration as the target for the current iteration.
  2. Inferential Predictor: Instead of a complex, multi-layer neural network (MLP) acting as a predictor, they use a closed-form mathematical solution. Based on their theory that the predictor's job is instance-level decorrelation, they calculate the predictor directly from the covariance matrix of the node representations.
  3. No EMA: They found that the Exponential Moving Average update—previously thought to be essential—is actually redundant.

Datasets

The authors evaluated SGCL on eight widely used benchmarks, ranging from medium-sized citation networks to massive industrial-scale graphs:

  • Medium-scale: WikiCS, Amazon-Computers, Amazon-Photos, Coauthor-CS, and Coauthor-Physics.
  • Large-scale (OGB): ogbn-Arxiv, ogbn-MAG, and ogbn-Products (the latter containing over 2.4 million nodes).

Key Insights and Ideas

  • The "Aha!" Moment on Decorrelation: The authors proved that the predictor network in these models isn't just "predicting" a target; it's implicitly performing node classification by aligning representations with the eigenvectors of a covariance matrix. This "decorrelation" is what keeps node representations distinct and prevents the model from collapsing into a useless, uniform state.
  • Redundancy Uncovered: Most of the "bells and whistles" in modern GCL—like dual encoders and EMA—contribute negligible gains. The "secret sauce" is simply the combination of graph augmentation and a mechanism for decorrelation (the predictor).
  • Pipeline Training: By using a "pipeline" approach (comparing iteration $t$ to iteration $t-1$), the model effectively bootstraps itself using its own history, cutting the required computation for augmentations in half.

Key Results

  • Performance: SGCL achieved the highest average ranking across all eight datasets, outperforming or matching SOTA models like BGRL and GraphMAE. It was particularly dominant on the largest dataset, ogbn-Products.
  • Efficiency: On the WikiCS dataset, SGCL used only 1/16th the parameters and 1/4th the memory of some competing models.
  • Speed: SGCL demonstrated a significant convergence speedup. On large-scale graphs, it ran roughly 3x faster than BGRL while maintaining better accuracy.
  • Simplicity: The model eliminates the need for hyperparameter tuning of the EMA decay rate, making it much easier to deploy in practice.

Limitations and Future Work

While the paper provides a robust linear theory for why the predictor works, the authors acknowledge that their current theoretical analysis assumes a linear predictor. In practice, many models use non-linear MLPs. Extending this "decorrelation" theory to non-linear architectures is a noted direction for future research. Additionally, the paper focuses on node classification; exploring how these simplifications translate to link prediction or graph-level tasks remains an open question.

Summary updated

BibTeX
@inproceedings{sun2024rethinking,
  author = {Wangbin Sun and Jintang Li and Liang Chen and Bingzhe Wu and Yatao Bian and Zibin Zheng},
  title = {{Rethinking and Simplifying Bootstrapped Graph Latents}},
  booktitle = {WSDM},
  year = {2024},
  doi = {10.1145/3616855.3635842},
}
Figure