All Projects → CRIPAC-DIG → GRACE

CRIPAC-DIG / GRACE

Licence: Apache-2.0 License
[GRL+ @ ICML 2020] PyTorch implementation for "Deep Graph Contrastive Representation Learning" (https://arxiv.org/abs/2006.04131v2)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to GRACE

GCA
[WWW 2021] Source code for "Graph Contrastive Learning with Adaptive Augmentation"
Stars: ✭ 69 (-52.08%)
Mutual labels:  graph-representation-learning, contrastive-learning
awesome-efficient-gnn
Code and resources on scalable and efficient Graph Neural Networks
Stars: ✭ 498 (+245.83%)
Mutual labels:  graph-representation-learning, contrastive-learning
awesome-graph-self-supervised-learning-based-recommendation
A curated list of awesome graph & self-supervised-learning-based recommendation.
Stars: ✭ 37 (-74.31%)
Mutual labels:  contrastive-learning
contrastive loss
Experiments with supervised contrastive learning methods with different loss functions
Stars: ✭ 143 (-0.69%)
Mutual labels:  contrastive-learning
mirror-bert
[EMNLP 2021] Mirror-BERT: Converting Pretrained Language Models to universal text encoders without labels.
Stars: ✭ 56 (-61.11%)
Mutual labels:  contrastive-learning
CVC
CVC: Contrastive Learning for Non-parallel Voice Conversion (INTERSPEECH 2021, in PyTorch)
Stars: ✭ 45 (-68.75%)
Mutual labels:  contrastive-learning
VarCLR
VarCLR: Variable Semantic Representation Pre-training via Contrastive Learning
Stars: ✭ 30 (-79.17%)
Mutual labels:  contrastive-learning
GeDML
Generalized Deep Metric Learning.
Stars: ✭ 30 (-79.17%)
Mutual labels:  contrastive-learning
AdCo
AdCo: Adversarial Contrast for Efficient Learning of Unsupervised Representations from Self-Trained Negative Adversaries
Stars: ✭ 148 (+2.78%)
Mutual labels:  contrastive-learning
SoCo
[NeurIPS 2021 Spotlight] Aligning Pretraining for Detection via Object-Level Contrastive Learning
Stars: ✭ 125 (-13.19%)
Mutual labels:  contrastive-learning
G-SimCLR
This is the code base for paper "G-SimCLR : Self-Supervised Contrastive Learning with Guided Projection via Pseudo Labelling" by Souradip Chakraborty, Aritra Roy Gosthipaty and Sayak Paul.
Stars: ✭ 69 (-52.08%)
Mutual labels:  contrastive-learning
GCL
List of Publications in Graph Contrastive Learning
Stars: ✭ 25 (-82.64%)
Mutual labels:  contrastive-learning
DiGCL
The PyTorch implementation of Directed Graph Contrastive Learning (DiGCL), NeurIPS-2021
Stars: ✭ 27 (-81.25%)
Mutual labels:  contrastive-learning
Scon-ABSA
[CIKM 2021] Enhancing Aspect-Based Sentiment Analysis with Supervised Contrastive Learning
Stars: ✭ 17 (-88.19%)
Mutual labels:  contrastive-learning
awesome-graph-representation-learning
A curated list for awesome graph representation learning resources.
Stars: ✭ 108 (-25%)
Mutual labels:  graph-representation-learning
cl-ica
Code for the paper "Contrastive Learning Inverts the Data Generating Process".
Stars: ✭ 65 (-54.86%)
Mutual labels:  contrastive-learning
info-nce-pytorch
PyTorch implementation of the InfoNCE loss for self-supervised learning.
Stars: ✭ 160 (+11.11%)
Mutual labels:  contrastive-learning
gnn-lspe
Source code for GNN-LSPE (Graph Neural Networks with Learnable Structural and Positional Representations), ICLR 2022
Stars: ✭ 165 (+14.58%)
Mutual labels:  graph-representation-learning
HEAPUtil
Code for the RA-L (IROS) 2021 paper "A Hierarchical Dual Model of Environment- and Place-Specific Utility for Visual Place Recognition"
Stars: ✭ 46 (-68.06%)
Mutual labels:  contrastive-learning
MOON
Model-Contrastive Federated Learning (CVPR 2021)
Stars: ✭ 93 (-35.42%)
Mutual labels:  contrastive-learning

GRACE

The official PyTorch implementation of deep GRAph Contrastive rEpresentation learning (GRACE).

For a thorough resource collection of self-supervised learning methods on graphs, you may refer to this awesome list.

Dependencies

  • torch 1.4.0
  • torch-geometric 1.5.0
  • sklearn 0.21.3
  • numpy 1.18.1
  • pyyaml 5.3.1

Install all dependencies using

pip install -r requirements.txt

If you encounter some problems during installing torch-geometric, please refer to the installation manual on its official website.

Usage

Train and evaluate the model by executing

python train.py --dataset Cora

The --dataset argument should be one of [ Cora, CiteSeer, PubMed, DBLP ].

Citation

If you use our code in your own research, please cite the following article:

@inproceedings{Zhu:2020vf,
  author = {Zhu, Yanqiao and Xu, Yichen and Yu, Feng and Liu, Qiang and Wu, Shu and Wang, Liang},
  title = {{Deep Graph Contrastive Representation Learning}},
  booktitle = {ICML Workshop on Graph Representation Learning and Beyond},
  year = {2020},
  url = {http://arxiv.org/abs/2006.04131}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].