SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.13902 · NeurIPS · 2020

Graph Contrastive Learning with Augmentations

Ting Chen, Tianlong Chen, Zhangyang Wang, Yuning You, Yang Shen, Yongduo Sui

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 19 functions out of this paper's own repositories and ran 17 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
Shen-Lab/GraphCL canonical 1 of 1
ycremar/DIG-SSL — 9 of 10
Shen-Lab/GraphCL_Automated extension 5 of 6
copy not recorded — 1 of 1
yuwvandy/g2gnn — 1 of 1
FunctionStatusWhere it lives
Contrastive Ran ycremar/DIG-SSL/sslgraph/contrastive/model/graphcl.py
pointer only (licence: NONE) · get_code("7359e4334ef6272b")
NCE_loss Ran ycremar/DIG-SSL/sslgraph/contrastive/model/graphcl.py
pointer only (licence: NONE) · get_code("9f253c62c8e84cf5")
NT_Xent Ran ycremar/DIG-SSL/sslgraph/contrastive/model/graphcl.py
pointer only (licence: NONE) · get_code("b5812fc5a667e0d5")
RW_sample Ran ycremar/DIG-SSL/sslgraph/contrastive/model/graphcl.py
pointer only (licence: NONE) · get_code("a28760ba97472616")
cycle_index Ran this paper's copy was not recorded; identical code first harvested from shen-lab/graphcl_automated
pointer only · get_code("b822dd00427403bf")
drop_nodes Ran Shen-Lab/GraphCL_Automated/unsupervised_TU/aug.py
pointer only (licence: NONE) · get_code("9d6cd266e78dc80f")
edge_perturbation Ran ycremar/DIG-SSL/sslgraph/contrastive/model/graphcl.py
pointer only (licence: NONE) · get_code("40eabff12d968735")
graphcl Ran Shen-Lab/GraphCL/transferLearning_MoleculeNet_PPI/chem/pretrain_graphcl.py
code served (permissive licence) · get_code("80ece471102b74f3")
infoNCE_local_intra_node Ran ycremar/DIG-SSL/sslgraph/contrastive/model/graphcl.py
pointer only (licence: NONE) · get_code("1045b0a0a750926e")
mask_nodes Ran Shen-Lab/GraphCL_Automated/unsupervised_TU/aug.py
pointer only (licence: NONE) · get_code("122a8f8967440f5a")
node_attr_mask Ran ycremar/DIG-SSL/sslgraph/contrastive/model/graphcl.py
pointer only (licence: NONE) · get_code("565cd376d19d16fe")
permute_edges Ran Shen-Lab/GraphCL_Automated/unsupervised_TU/aug.py
pointer only (licence: NONE) · get_code("4e5d7db5f75c30b6")
random_view Ran ycremar/DIG-SSL/sslgraph/contrastive/model/graphcl.py
pointer only (licence: NONE) · get_code("6a784308a8c084d2")
remove_edge Ran yuwvandy/g2gnn/aug.py
pointer only (licence: NONE) · get_code("2ac6b4ffab6287ac")
subgraph Ran Shen-Lab/GraphCL_Automated/unsupervised_TU/aug.py
pointer only (licence: NONE) · get_code("f679d89508183977")
train Ran Shen-Lab/GraphCL_Automated/transferLearning_MoleculeNet_PPI_LP/bio/pretrain_generative_infobn.py
pointer only (licence: NONE) · get_code("84567ef3dc4cb159")
uniform_sample Ran ycremar/DIG-SSL/sslgraph/contrastive/model/graphcl.py
pointer only (licence: NONE) · get_code("5d7733a471ca27b8")
GraphCL Not yet run ycremar/DIG-SSL/sslgraph/contrastive/model/graphcl.py
pointer only (licence: NONE) · get_code("8130b63d6ab585fa")
TUDataset_aug Not yet run Shen-Lab/GraphCL_Automated/unsupervised_TU/aug.py
pointer only (licence: NONE) · get_code("a74955e8b458fc65")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Generalizable, transferrable, and robust representation learning on graph-structured data remains a challenge for current graph neural networks (GNNs). Unlike what has been developed for convolutional neural networks (CNNs) for image data, self-supervised learning and pre-training are less explored for GNNs. In this paper, we propose a graph contrastive learning (GraphCL) framework for learning unsupervised representations of graph data. We first design four types of graph augmentations to incorporate various priors. We then systematically study the impact of various combinations of graph augmentations on multiple datasets, in four different settings: semi-supervised, unsupervised, and transfer learning as well as adversarial attacks. The results show that, even without tuning augmentation extents nor using sophisticated GNN architectures, our GraphCL framework can produce graph representations of similar or better generalizability, transferrability, and robustness compared to state-of-the-art methods. We also investigate the impact of parameterized graph augmentation extents and patterns, and observe further performance gains in preliminary experiments. Our codes are available at: https://github.com/Shen-Lab/GraphCL.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2010.13902")
get_code_for_paper("2010.13902")
have("2010.13902")

Connect an agent — have() is free.