Papers › Bootstrap Latents of Nodes and Neighbors for Graph Self-Supervised Learning

Bootstrap Latents of Nodes and Neighbors for Graph Self-Supervised Learning

9 Aug 2024arXiv:2408.05087archive 2025-07-28

Yunhui Liu, Huaisong Zhang, Tieke He, Tao Zheng, Jianhua Zhao

Contrastive learning is a significant paradigm in graph self-supervised learning. However, it requires negative samples to prevent model collapse and learn discriminative representations. These negative samples inevitably lead to heavy computation, memory overhead and class collision, compromising the representation learning. Recent studies present that methods obviating negative samples can attain competitive performance and scalability enhancements, exemplified by bootstrapped graph latents (BGRL). However, BGRL neglects the inherent graph homophily, which provides valuable insights into underlying positive pairs. Our motivation arises from the observation that subtly introducing a few ground-truth positive pairs significantly improves BGRL. Although we can't obtain ground-truth positive pairs without labels under the self-supervised setting, edges in the graph can reflect noisy positive pairs, i.e., neighboring nodes often share the same label. Therefore, we propose to expand the positive pair set with node-neighbor pairs. Subsequently, we introduce a cross-attention module to predict the supportiveness score of a neighbor with respect to the anchor node. This score quantifies the positive support from each neighboring node, and is encoded into the training objective. Consequently, our method mitigates class collision from negative and noisy positive samples, concurrently enhancing intra-class compactness. Extensive experiments are conducted on five benchmark datasets and three downstream task node classification, node clustering, and node similarity search. The results demonstrate that our method generates node representations with enhanced intra-class compactness and achieves state-of-the-art performance.

PaperPDFCodeCode 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="2408.05087")

Code

Syntology Ran 6 of 11 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 6 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cloudy1225/blnn officialmentioned in paperpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

11 samples harvested; 6 ran; 0 honoured the contract we drafted; 5 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.

6ran
5unverified

Licence: 0 of the 11 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 cloudy1225/blnn. “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.

compute_representations cloudy1225/blnn/bgrl/bgrl.py official repository ran Apache-2.0 (permissive) · 88c2733c063d14d3 · report
fit_logistic_regression cloudy1225/blnn/bgrl/logistic_regression_eval.py official repository ran Apache-2.0 (permissive) · e6696b223b33ae73 · report
fit_logistic_regression_preset_splits cloudy1225/blnn/bgrl/logistic_regression_eval.py official repository ran Apache-2.0 (permissive) · 9cc1ab4d7141443c · report
get_graph_drop_transform cloudy1225/blnn/bgrl/transforms.py official repository ran Apache-2.0 (permissive) · 6eb314269b842f3d · report
get_wiki_cs cloudy1225/blnn/bgrl/data.py official repository ran Apache-2.0 (permissive) · 436013cac49fa475 · report
node_clustering cloudy1225/blnn/bgrl/utils.py official repository ran Apache-2.0 (permissive) · c7bf9bd5dc9a2b1b · report
get_dataset cloudy1225/blnn/bgrl/data.py official repository unverified Apache-2.0 (permissive) · 8021d44d3b828d80 · report
get_logger cloudy1225/blnn/bgrl/utils.py official repository unverified Apache-2.0 (permissive) · d15ddbe73962ac64 · report
load_trained_encoder cloudy1225/blnn/bgrl/bgrl.py official repository unverified Apache-2.0 (permissive) · d0852bc7decfea66 · report
ppi_train_linear_layer cloudy1225/blnn/bgrl/linear_eval_ppi.py official repository unverified Apache-2.0 (permissive) · a071438db1f34e7b · report
similarity_search cloudy1225/blnn/bgrl/utils.py official repository unverified Apache-2.0 (permissive) · b61442760562ddc6 · report

Tasks

Contrastive LearningNode ClassificationNode ClusteringRepresentation LearningSelf-Supervised Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Concatenated Skip ConnectionSETSoftmax

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