Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Revisiting Positive Samples in Graph Contrastive Learning: From the Perspective of Message Passing

About

Graph Contrastive Learning (GCL), which trains graph encoders by maximizing similarity between positive samples and minimizing it between negative ones, has emerged as a mainstream graph pre-training paradigm. It is widely recognized that positive samples are essential in GCLs. Ideally, maximizing the similarity of positive samples enables graph encoders to capture intrinsic semantic and patterns of graph data. However, we discover an interesting phenomenon: GCLs can achieve competitive performance even without positive samples. This motivates us to revisit the fundamental mechanism of positive samples in GCLs. From the perspective of Dirichlet energy, we theoretically finds that message passing, a key mechanism in graph encoders, trivializes the maximization of positive samples, preventing GCLs from effectively learning from positive samples. To address this, we propose SPGCL to mitigate the trivialization caused by message passing and restore the learning efficacy of positive samples. Specifically, we find that high Dirichlet energy features help positive samples provide effective learning signals while low Dirichlet energy features contribute little to positive learning signal but is useful for positive sampling. Based on this, SPGCL propagates only high Dirichlet energy features and uses low energy features to construct a probability matrix for reliable positive sampling. Extensive experiments demonstrate the effectiveness of SPGCL.

Lianze Shan, Ningchong Wang, Jitao Zhao, Di Jin, Dongxiao He• 2026

Related benchmarks

TaskDatasetResultRank
Node ClassificationChameleon
Accuracy72.26
936
Node ClassificationCornell
Accuracy75.41
900
Node ClassificationWisconsin
Accuracy83.53
898
Node ClassificationTexas
Accuracy0.8081
859
Node ClassificationActor
Accuracy37.23
598
Node ClassificationCora (test)
Accuracy85.44
254
Node ClassificationPhoto (test)
Mean Accuracy94.83
241
Node ClassificationComputers (test)
Mean Accuracy91.04
147
Node ClassificationCrocodile
Accuracy77.43
65
Node ClassificationPubMed (test)
Median Accuracy87.19
62
Showing 10 of 14 rows

Other info

Follow for update