Shen-Lab / GraphCL

[NeurIPS 2020] "Graph Contrastive Learning with Augmentations" by Yuning You, Tianlong Chen, Yongduo Sui, Ting Chen, Zhangyang Wang, Yang Shen
MIT License
548 stars 103 forks source link

Positive pairs in data augmentaions. #43

Closed Bunnyqiqi closed 2 years ago

Bunnyqiqi commented 2 years ago

For GraphCL paper, the positive pairs are both augmentations views using some augmentations in GraphCL paper. But when I read code in unsupervised_TU/gsimclr.py, I found only one view is augmented, the other view is original without augmentation. I wonder if I'd like to reproduct the results in paper, should I change x to another augmentaion view using some augmentations? In other words, such implementations in code means one original view and one augmentaion view is enough for experiement? image

Besides, In GraphCL_Automated/unsupervised/gsimclr.py, I have similar questions. In code , there is only compute one augmentation view's distribution, and the other view is original view. I think there are some differences between paper and code. Could you help me explain such cases?

By the way, I'm so thankful to all of you for such great and inspirable work! Best wishes for you !

yyou1996 commented 2 years ago

Hi @Bunnyqiqi,

Sorry for the late reply. Please refer to https://github.com/Shen-Lab/GraphCL/issues/40.