Papers › Revisiting Positive Samples in Graph Contrastive Learning: From the Perspective of...

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

9 Jun 2026ICMLarXiv:2606.10284added by Syntology

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

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2606.10284")

Code

Syntology Ran 16 of 26 code samples harvested from 10 repositories linked to this paper; 10 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 1 ran · fixture could not drive it; 12 ran with no contract checked.

By repository: found in paper text by Syntology: 26 samples from 10 repositories, 16 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

15 repositories listed; official and paper-mentioned ones first.

nerdslab/bgrl found in paper text by Syntology report
pyg-team/pytorch_geometric found in paper text by Syntology report
tengxiao1/GraphACL found in paper text by Syntology report
CRIPAC-DIG/GRACE found in paper text by Syntology report
shchur/gnn-benchmark found in paper text by Syntology report
bingzhewei/geom-gcn found in paper text by Syntology report
kimiyoung/planetoid found in paper text by SyntologyMIT report
CRIPAC-DIG/GCA found in paper text by Syntology report
PetarV-/DGI found in paper text by Syntology report
junxia97/ProGCL found in paper text by Syntology report
Namkyeong/AFGRL found in paper text by Syntology report
hedongxiao-tju/SGRL found in paper text by Syntology report
HanChen-HUST/CSGCL found in paper text by SyntologyMIT report
sunisfighting/SIGNA found in paper text by SyntologyApache-2.0 report
yifanQi98/HGRL found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

26 samples harvested; 16 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
1ran · fixture could not drive it
12ran
10unverified

Licence: 9 of the 26 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 10 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Encoder HanChen-HUST/CSGCL/src/model.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · bc9359990ebfb346 · report
Encoder Namkyeong/AFGRL/models/AFGRL.py found in paper text by Syntology ran · metamorphic tier: invariant no licence file found · pointer only · 6cdcdf73c5420ef9 · report
Model CRIPAC-DIG/GRACE/model.py found in paper text by Syntology ran Apache-2.0 (permissive) · 7a417a5d2e070843 · report
Model sunisfighting/SIGNA/model.py found in paper text by Syntology ran · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · e2856339ea994286 · report
Neighbor Namkyeong/AFGRL/models/AFGRL.py found in paper text by Syntology ran no licence file found · pointer only · ddd828d861a3e447 · report
Online hedongxiao-tju/SGRL/models.py found in paper text by Syntology ran MIT (permissive) · 47544660b7aa6e6f · report
compute_representations nerdslab/bgrl/bgrl/bgrl.py found in paper text by Syntology ran Apache-2.0 (permissive) · 88c2733c063d14d3 · report
contrastive_loss tengxiao1/GraphACL/hete/model.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · bd248e252b9ee711 · report
drop_feature_weighted junxia97/ProGCL/pGRACE/functional.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 867c9382144672b7 · report
drop_feature_weighted_2 CRIPAC-DIG/GCA/pGRACE/functional.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 2694bcf35c3d7b93 · report
edgeindex2adj sunisfighting/SIGNA/model.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 92505c19d4aa9cbb · report
get_graph_drop_transform nerdslab/bgrl/bgrl/transforms.py found in paper text by Syntology ran Apache-2.0 (permissive) · 524d998681e42414 · report
get_wiki_cs nerdslab/bgrl/bgrl/data.py found in paper text by Syntology ran Apache-2.0 (permissive) · 436013cac49fa475 · report
load_fixed_splits tengxiao1/GraphACL/hete/dataset.py found in paper text by Syntology ran no licence file found · pointer only · ee2bc565d6f81f12 · report
repeat_1d_tensor Namkyeong/AFGRL/models/AFGRL.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 87c0bb319e19bf42 · report
udf_u_add_log_e tengxiao1/GraphACL/homo/model.py found in paper text by Syntology ran no licence file found · pointer only · facfb4f3eaf05f2a · report
AFGRL Namkyeong/AFGRL/models/AFGRL.py found in paper text by Syntology unverified no licence file found · pointer only · fbe2032783804911 · report
CSGCL HanChen-HUST/CSGCL/src/model.py found in paper text by Syntology unverified MIT (permissive) · 8a429771818c4e7f · report
GCN_prop yifanQi98/HGRL/model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 13dfce38efd0ba35 · report
HGRL yifanQi98/HGRL/model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 173f87920e13cfee · report
fit_logistic_regression nerdslab/bgrl/bgrl/logistic_regression_eval.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 71c1fef2e56a3dc0 · report
fit_logistic_regression_preset_splits nerdslab/bgrl/bgrl/logistic_regression_eval.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 8e31486466f6ecf4 · report
get_dataset nerdslab/bgrl/bgrl/data.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 8021d44d3b828d80 · report
init_weights Namkyeong/AFGRL/models/AFGRL.py found in paper text by Syntology unverified no licence file found · pointer only · b4e3e4f19bbd5dd0 · report
load_trained_encoder nerdslab/bgrl/bgrl/bgrl.py found in paper text by Syntology unverified Apache-2.0 (permissive) · d0852bc7decfea66 · report
ppi_train_linear_layer nerdslab/bgrl/bgrl/linear_eval_ppi.py found in paper text by Syntology unverified Apache-2.0 (permissive) · a071438db1f34e7b · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2606.10284, was issued in June 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections