WWW 2021

Graph Communal Contrastive Learning

Bolian Li, Baoyu Jing, Hanghang Tong

Main figure for Graph Communal Contrastive Learning

Abstract

Graph representation learning is crucial for many real-world applications (e.g. social relation analysis). A fundamental problem for graph representation learning is how to effectively learn representations without human labeling, which is usually costly and time-consuming. Graph contrastive learning (GCL) addresses this problem by pulling the positive node pairs (or similar nodes) closer while pushing the negative node pairs (or dissimilar nodes) apart in the representation space. Despite the success of the existing GCL methods, they primarily sample node pairs based on the node-level proximity yet the community structures have rarely been taken into consideration. As a result, two nodes from the same community might be sampled as a negative pair. We argue that the community information should be considered to identify node pairs in the same communities, where the nodes insides are semantically similar. To address this issue, we propose a novel Graph Communal Contrastive Learning ($gCooL$) framework to jointly learn the community partition and learn node representations in an end-to-end fashion. Specifically, the proposed $gCooL$ consists of two components: a Dense Community Aggregation ($DeCA$) algorithm for community detection and a Reweighted Self-supervised Cross-contrastive ($ReSC$) training scheme to utilize the community information. Additionally, the real-world graphs are complex and often consist of multiple views. In this paper, we demonstrate that the proposed $gCooL$ can also be naturally adapted to multiplex graphs. Finally, we comprehensively evaluate the proposed $gCooL$ on a variety of real-world graphs. The experimental results show that the $gCooL$ outperforms the state-of-the-art methods.

Benchmark Results

Tested on 4 datasets Non-standard metric on 4 datasets

Tables show presented results in global context (best 3 papers + GCN + MLP).

Classic

Amazon-Photo

Global leaderboard →

Default metric is Accuracy. The paper reports 0 values on Accuracy , 12 values on Micro-F1 and 12 values on Macro-F1 .

Sorted by Micro-F1. Highlighted rows are from other papers.

#ModelAccuracy ↑ defaultMicro-F1 ↑Macro-F1 ↑Paper
1
gCooL_c
—
0.9318 ± 0.0012
0.9205 ± 0.0017
Accuracy —
Macro-F1 0.9205 ± 0.0017
This paper
2
gCooL_e
—
0.9279 ± 0.0017
0.9157 ± 0.0029
Accuracy —
Macro-F1 0.9157 ± 0.0029
This paper
3
GCN
—
0.9251 ± 0.0023
0.9047 ± 0.0032
Accuracy —
Macro-F1 0.9047 ± 0.0032
This paper
4
GCA
—
0.9239 ± 0.0021
0.9105 ± 0.0013
Accuracy —
Macro-F1 0.9105 ± 0.0013
This paper
5
VGAE
—
0.9224 ± 0.0008
0.9004 ± 0.0017
Accuracy —
Macro-F1 0.9004 ± 0.0017
This paper
6
MVGRL
—
0.9174 ± 0.0009
0.8993 ± 0.0009
Accuracy —
Macro-F1 0.8993 ± 0.0009
This paper
7
GAE
—
0.9168 ± 0.0014
0.8966 ± 0.0009
Accuracy —
Macro-F1 0.8966 ± 0.0009
This paper
8
DGI
—
0.9160 ± 0.0024
0.8931 ± 0.0016
Accuracy —
Macro-F1 0.8931 ± 0.0016
This paper
9
HDI
—
0.9009 ± 0.0010
0.8870 ± 0.0016
Accuracy —
Macro-F1 0.8870 ± 0.0016
This paper
10
Node2Vec
—
0.8972 ± 0.0008
0.8739 ± 0.0007
Accuracy —
Macro-F1 0.8739 ± 0.0007
This paper
11
DeepWalk
—
0.8936 ± 0.0010
0.8692 ± 0.0002
Accuracy —
Macro-F1 0.8692 ± 0.0002
This paper
12
RawFeatures
—
0.7845 ± 0.0004
0.7610 ± 0.0001
Accuracy —
Macro-F1 0.7610 ± 0.0001
This paper

Amazon-Computers

Global leaderboard →

Default metric is Accuracy. The paper reports 0 values on Accuracy , 12 values on Micro-F1 and 12 values on Macro-F1 .

Sorted by Micro-F1. Highlighted rows are from other papers.

#ModelAccuracy ↑ defaultMicro-F1 ↑Macro-F1 ↑Paper
1
gCooL_c
—
0.8885 ± 0.1400
0.8742 ± 0.2800
Accuracy —
Macro-F1 0.8742 ± 0.2800
This paper
2
gCooL_e
—
0.8874 ± 0.0900
0.8753 ± 0.2600
Accuracy —
Macro-F1 0.8753 ± 0.2600
This paper
3
GCA
—
0.8767 ± 0.4900
0.8588 ± 0.3000
Accuracy —
Macro-F1 0.8588 ± 0.3000
This paper
4
MVGRL
—
0.8742 ± 0.0700
0.8592 ± 0.1100
Accuracy —
Macro-F1 0.8592 ± 0.1100
This paper
5
VGAE
—
0.8644 ± 0.2500
0.8372 ± 0.1200
Accuracy —
Macro-F1 0.8372 ± 0.1200
This paper
6
GCN
—
0.8643 ± 0.5600
0.8399 ± 0.6100
Accuracy —
Macro-F1 0.8399 ± 0.6100
This paper
7
DeepWalk
—
0.8563 ± 0.0900
0.8402 ± 0.1000
Accuracy —
Macro-F1 0.8402 ± 0.1000
This paper
8
HDI
—
0.8543 ± 0.1300
0.8074 ± 0.2500
Accuracy —
Macro-F1 0.8074 ± 0.2500
This paper
9
GAE
—
0.8518 ± 0.2100
0.8333 ± 0.1700
Accuracy —
Macro-F1 0.8333 ± 0.1700
This paper
12
Node2Vec
—
0.8438 ± 0.0800
0.8265 ± 0.0800
Accuracy —
Macro-F1 0.8265 ± 0.0800
This paper
14
DGI
—
0.8388 ± 0.5000
0.7930 ± 0.4200
Accuracy —
Macro-F1 0.7930 ± 0.4200
This paper
15
RawFeatures
—
0.7382 ± 0.0100
0.7010 ± 0.0400
Accuracy —
Macro-F1 0.7010 ± 0.0400
This paper

WikiCS

Global leaderboard →

Default metric is Accuracy. The paper reports 0 values on Accuracy , 12 values on Micro-F1 and 12 values on Macro-F1 .

Sorted by Micro-F1. Highlighted rows are from other papers.

#ModelAccuracy ↑ defaultMicro-F1 ↑Macro-F1 ↑Paper
1
gCooL_c
—
0.7874 ± 0.0004
0.7592 ± 0.0006
Accuracy —
Macro-F1 0.7592 ± 0.0006
This paper
2
gCooL_e
—
0.7874 ± 0.0003
0.7588 ± 0.0002
Accuracy —
Macro-F1 0.7588 ± 0.0002
This paper
3
GCA
—
0.7824 ± 0.0001
0.7447 ± 0.0002
Accuracy —
Macro-F1 0.7447 ± 0.0002
This paper
4
MVGRL
—
0.7750 ± 0.0008
0.7562 ± 0.0000
Accuracy —
Macro-F1 0.7562 ± 0.0000
This paper
5
GCN
—
0.7711 ± 0.0008
0.7561 ± 0.0019
Accuracy —
Macro-F1 0.7561 ± 0.0019
This paper
6
HDI
—
0.7572 ± 0.0055
0.6805 ± 0.0080
Accuracy —
Macro-F1 0.6805 ± 0.0080
This paper
7
VGAE
—
0.7556 ± 0.0020
0.7412 ± 0.0010
Accuracy —
Macro-F1 0.7412 ± 0.0010
This paper
8
DGI
—
0.7535 ± 0.0017
0.7374 ± 0.0020
Accuracy —
Macro-F1 0.7374 ± 0.0020
This paper
9
DeepWalk
—
0.7425 ± 0.0006
0.7268 ± 0.0015
Accuracy —
Macro-F1 0.7268 ± 0.0015
This paper
10
RawFeatures
—
0.7200 ± 0.0003
0.7028 ± 0.0009
Accuracy —
Macro-F1 0.7028 ± 0.0009
This paper
11
Node2Vec
—
0.7184 ± 0.0009
0.7044 ± 0.0003
Accuracy —
Macro-F1 0.7044 ± 0.0003
This paper
12
GAE
—
0.7017 ± 0.0005
0.6827 ± 0.0005
Accuracy —
Macro-F1 0.6827 ± 0.0005
This paper

Coauthor-CS

Global leaderboard →

Default metric is Accuracy. The paper reports 0 values on Accuracy , 12 values on Micro-F1 and 12 values on Macro-F1 .

Sorted by Micro-F1. Highlighted rows are from other papers.

#ModelAccuracy ↑ defaultMicro-F1 ↑Macro-F1 ↑Paper
1
gCooL_c
—
0.9332 ± 0.0002
0.9165 ± 0.0003
Accuracy —
Macro-F1 0.9165 ± 0.0003
This paper
2
gCooL_e
—
0.9331 ± 0.0001
0.9163 ± 0.0003
Accuracy —
Macro-F1 0.9163 ± 0.0003
This paper
3
GCN
—
0.9304 ± 0.0028
0.9102 ± 0.0038
Accuracy —
Macro-F1 0.9102 ± 0.0038
This paper
4
GCA
—
0.9287 ± 0.0003
0.9076 ± 0.0001
Accuracy —
Macro-F1 0.9076 ± 0.0001
This paper
5
MVGRL
—
0.9211 ± 0.0010
0.9050 ± 0.0012
Accuracy —
Macro-F1 0.9050 ± 0.0012
This paper
6
DGI
—
0.9208 ± 0.0068
0.9078 ± 0.0068
Accuracy —
Macro-F1 0.9078 ± 0.0068
This paper
7
VGAE
—
0.9208 ± 0.0008
0.9011 ± 0.0006
Accuracy —
Macro-F1 0.9011 ± 0.0006
This paper
8
RawFeatures
—
0.9040 ± 0.0002
0.8901 ± 0.0006
Accuracy —
Macro-F1 0.8901 ± 0.0006
This paper
9
GAE
—
0.9000 ± 0.0075
0.8831 ± 0.0068
Accuracy —
Macro-F1 0.8831 ± 0.0068
This paper
10
HDI
—
0.8998 ± 0.0014
0.8673 ± 0.0017
Accuracy —
Macro-F1 0.8673 ± 0.0017
This paper
11
Node2Vec
—
0.8511 ± 0.0006
0.8293 ± 0.0011
Accuracy —
Macro-F1 0.8293 ± 0.0011
This paper
12
DeepWalk
—
0.8471 ± 0.0023
0.8263 ± 0.0019
Accuracy —
Macro-F1 0.8263 ± 0.0019
This paper
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper)