SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2109.01116 · NeurIPS · 2021

An Empirical Study of Graph Contrastive Learning

Qiang Liu, Yanqiao Zhu, Yichen Xu, Shu Wu

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 4 functions out of this paper's own repositories and ran 1 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
pygcl/pygcl canonical 1 of 1
GraphCL/PyGCL canonical 0 of 3
FunctionStatusWhere it lives
train Ran pygcl/pygcl/examples/GraphCL.py
code served (permissive licence) · get_code("f30b73fd238832a0")
compute_supervised_masks Not yet run GraphCL/PyGCL/GCL/models/sampler.py
code served (permissive licence) · get_code("4e8c10013cc33f85")
similarity Not yet run GraphCL/PyGCL/GCL/losses/infonce.py
code served (permissive licence) · get_code("71a5cdf26e3ee02d")
tensor_similarity Not yet run GraphCL/PyGCL/GCL/losses/infonce.py
code served (permissive licence) · get_code("42b0b7ac1b0a1f92")

Repositories linked to this paper

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

Abstract

Graph Contrastive Learning (GCL) establishes a new paradigm for learning graph representations without human annotations. Although remarkable progress has been witnessed recently, the success behind GCL is still left somewhat mysterious. In this work, we first identify several critical design considerations within a general GCL paradigm, including augmentation functions, contrasting modes, contrastive objectives, and negative mining techniques. Then, to understand the interplay of different GCL components, we conduct extensive, controlled experiments over a set of benchmark tasks on datasets across various domains. Our empirical studies suggest a set of general receipts for effective GCL, e.g., simple topology augmentations that produce sparse graph views bring promising performance improvements; contrasting modes should be aligned with the granularities of end tasks. In addition, to foster future research and ease the implementation of GCL algorithms, we develop an easy-to-use library PyGCL, featuring modularized CL components, standardized evaluation, and experiment management. We envision this work to provide useful empirical evidence of effective GCL algorithms and offer several insights for future research.

For agents

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

get_harvested_code_for_paper("2109.01116")
get_code_for_paper("2109.01116")
have("2109.01116")

Connect an agent — have() is free.