Publication Type
Journal Article
Version
acceptedVersion
Publication Date
7-2022
Abstract
Graph-level representations are critical in various real-world applications, such as predicting the properties of molecules. But in practice, precise graph annotations are generally very expensive and time-consuming. To address this issue, graph contrastive learning constructs instance discrimination task which pulls together positive pairs (augmentation pairs of the same graph) and pushes away negative pairs (augmentation pairs of different graphs) for unsupervised representation learning. However, since for a query, its negatives are uniformly sampled from all graphs, existing methods suffer from the critical sampling bias issue, i.e., the negatives likely having the same semantic structure with the query, leading to performance degradation. To mitigate this sampling bias issue, in this paper, we propose a Prototypical Graph Contrastive Learning (PGCL) approach. Specifically, PGCL models the underlying semantic structure of the graph data via clustering semantically similar graphs into the same group, and simultaneously encourages the clustering consistency for different augmentations of the same graph. Then given a query, it performs negative sampling via drawing the graphs from those clusters that differ from the cluster of query, which ensures the semantic difference between query and its negative samples. Moreover, for a query, PGCL further reweights its negative samples based on the distance between their prototypes (cluster centroids) and the query prototype such that those negatives having moderate prototype distance enjoy relatively large weights. This reweighting strategy is proved to be more effective than uniform sampling. Experimental results on various graph benchmarks testify the advantages of our PGCL over state-of-the-art methods. Code is publicly available at https://github.com/ha-lins/PGCL.
Keywords
Contrastive learning, Self-supervised learning, Graph representation learning
Discipline
Graphics and Human Computer Interfaces
Research Areas
Intelligent Systems and Optimization
Areas of Excellence
Digital transformation
Publication
IEEE Transactions on Neural Networks and Learning Systems
Volume
35
Issue
2
First Page
2747
Last Page
2758
ISSN
2162-237X
Identifier
10.1109/TNNLS.2022.3191086
Publisher
Institute of Electrical and Electronics Engineers
Citation
LIN, Shuai; LIU, Chen; ZHOU, Pan; HU, Zi-Yuan; WANG, Shuojia; ZHAO, Ruihui; ZHENG, Yefeng; LIN, Liang; XING, Eric; and LIANG, Xiaodan.
Prototypical graph contrastive learning. (2022). IEEE Transactions on Neural Networks and Learning Systems. 35, (2), 2747-2758.
Available at: https://ink.library.smu.edu.sg/sis_research/9055
Copyright Owner and License
Authors
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-No Derivative Works 4.0 International License.
Additional URL
https://doi.org/10.1109/TNNLS.2022.3191086