Smoothed Graph Contrastive Learning via Seamless Proximity Integration

Maysam Behmanesh, Maks Ovsjanikov
2/23/2024
cs.LGcs.AI

No official code found. Best implementation: maysambehmanesh/SGCL (1 star, last commit 2025-04-27).

Abstract

Graph contrastive learning (GCL) aligns node representations by classifying node pairs into positives and negatives using a selection process that typically relies on establishing correspondences within two augmented graphs. The conventional GCL approaches incorporate negative samples uniformly in the contrastive loss, resulting in the equal treatment of negative nodes, regardless of their proximity to the true positive. In this paper, we present a Smoothed Graph Contrastive Learning model (SGCL), which leverages the geometric structure of augmented graphs to inject proximity information associated with positive/negative pairs in the contrastive loss, thus significantly regularizing the learning process. The proposed SGCL adjusts the penalties associated with node pairs in contrastive loss by incorporating three distinct smoothing techniques that result in proximity-aware positives and negatives. To enhance scalability for large-scale graphs, the proposed framework incorporates a graph batch-generating strategy that partitions the given graphs into multiple subgraphs, facilitating efficient training in separate batches. Through extensive experimentation in the unsupervised setting on various benchmarks, particularly those of large scale, we demonstrate the superiority of our proposed framework against recent baselines.

View on arXivView PDF

Code Implementations(1)

Smoothed Graph Contrastive Learning

10PythonNov 20, 20241 years ago

Similar Papers

Cite this paper

@article{behmanesh2024smoothed,
  title  = {Smoothed Graph Contrastive Learning via Seamless Proximity Integration},
  author = {Maysam Behmanesh and Maks Ovsjanikov},
  year   = {2024},
  eprint = {2402.15270},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.15270v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.15270.svg)](https://codeofpaper.com/paper/2402.15270)

Discussion