NeurIPS 2022

Contrastive Laplacian Eigenmaps

Hao Zhu, Ke Sun, Piotr Koniusz

Main figure for Contrastive Laplacian Eigenmaps

Abstract

Graph contrastive learning attracts/disperses node representations for similar/dissimilar node pairs under some notion of similarity. It may be combined with a low-dimensional embedding of nodes to preserve intrinsic and structural properties of a graph. In this paper, we extend the celebrated Laplacian Eigenmaps with contrastive learning, and call them COntrastive Laplacian EigenmapS (COLES). Starting from a GAN-inspired contrastive formulation, we show that the Jensen-Shannon divergence underlying many contrastive graph embedding models fails under disjoint positive and negative distributions, which may naturally emerge during sampling in the contrastive setting. In contrast, we demonstrate analytically that COLES essentially minimizes a surrogate of Wasserstein distance, which is known to cope well under disjoint distributions. Moreover, we show that the loss of COLES belongs to the family of so-called block-contrastive losses, previously shown to be superior compared to pair-wise losses typically used by contrastive methods. We show on popular benchmarks/backbones that COLES offers favourable accuracy/scalability compared to DeepWalk, GCN, Graph2Gauss, DGI and GRACE baselines.

Benchmark Results

Tested on 4 datasets 14 baseline values reported too low

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

Classic

#ModelAccuracy ↑Paper
1
GraphSAGE+CNA
0.9418 ±0.0033
2
GCN+CNA
0.9366 ±0.0048
3
TransformerConv
0.9350 ±0.0058
21
GCN
actual #21 vs paper #680 659 places worse
0.9004
best reported
actual #21 vs paper #680 659 places worse
paper 0.7940 ±0.0160
paper 0.7940 ±0.0160 Δ at pub 0.0777 Δ today 0.1064
39
SAGE
0.8911 ±0.0012
44
GAT
actual #44 vs paper #671 627 places worse
0.8897 ±0.0014
best reported
actual #44 vs paper #671 627 places worse
paper 0.7960 ±0.0150
paper 0.7960 ±0.0150 Δ at pub 0.0930 Δ today 0.0937
112
S2GC
actual #112 vs paper #583 471 places worse
0.8773 ±0.0290
best reported
actual #112 vs paper #583 471 places worse
paper 0.8130 ±0.0120
113
MixHop
actual #113 vs paper #656 543 places worse
0.8761 ±0.0203
best reported
actual #113 vs paper #656 543 places worse
paper 0.8000 ±0.0140
134
GRACE
actual #134 vs paper #788 654 places worse
0.8720 ±0.0020
best reported
actual #134 vs paper #788 654 places worse
paper 0.7390 ±0.0160
177
DGI
actual #177 vs paper #712 535 places worse
0.8630 ±0.0020
best reported
actual #177 vs paper #712 535 places worse
paper 0.7810 ±0.0180
paper 0.7810 ±0.0180 Δ at pub 0.0420 Δ today 0.0820
223
SGC
actual #223 vs paper #709 486 places worse
0.8509 ±0.0648
best reported
actual #223 vs paper #709 486 places worse
paper 0.7830 ±0.0190
paper 0.7830 ±0.0190 Δ at pub 0.0360 Δ today 0.0679
278
GraphCL
actual #278 vs paper #709 431 places worse
0.8428 ±0.0091
best reported
actual #278 vs paper #709 431 places worse
paper 0.7830 ±0.0170
415
GCA
actual #415 vs paper #760 345 places worse
0.8310 ±0.0030
best reported
actual #415 vs paper #760 345 places worse
paper 0.7580 ±0.0190
paper 0.7580 ±0.0190 Δ today 0.0730
435
DeepWalk
actual #435 vs paper #817 382 places worse
0.8290
best reported
actual #435 vs paper #817 382 places worse
paper 0.7050 ±0.0190
paper 0.7050 ±0.0190 Δ at pub 0.1240
576
COLES-S2GC
0.8150 ±0.0120
This paper
596
PCA-S2GC
0.8120 ±0.0130
This paper
609
COLES-GCN
0.8100 ±0.0130
This paper
650
SCE
0.8020 ±0.0110
This paper
713
RP-S2GC
0.7810 ±0.0120
This paper
724
MLP
0.7768
757
Graph2Gauss
0.7620 ±0.0110
This paper
785
GCN with SampledNCE
0.7430 ±0.0160
This paper
790
SAGE with SampledNCE
0.7380 ±0.0150
This paper
#ModelAccuracy ↑Paper
1
CNA
0.9575 ±0.0058
2
IS-GIB
0.9390 ±0.0187
3
EERM
0.9112 ±0.0145
35
GAT
actual #35 vs paper #648 613 places worse
0.8080 ±0.0026
best reported
actual #35 vs paper #648 613 places worse
paper 0.6910 ±0.0150
paper 0.6910 ±0.0150 Δ at pub 0.1103 Δ today 0.1170
44
GCN
actual #44 vs paper #639 595 places worse
0.8033 ±0.0088
best reported
actual #44 vs paper #639 595 places worse
paper 0.6940 ±0.0140
paper 0.6940 ±0.0140 Δ at pub 0.1003 Δ today 0.1093
61
GraphSAGE
0.7923 ±0.0053
66
DGI
actual #66 vs paper #550 484 places worse
0.7890 ±0.0020
best reported
actual #66 vs paper #550 484 places worse
paper 0.7110 ±0.0110
paper 0.7110 ±0.0110 Δ at pub 0.0070 Δ today 0.0780
96
SGC
actual #96 vs paper #630 534 places worse
0.7765 ±0.0012
best reported
actual #96 vs paper #630 534 places worse
paper 0.6980 ±0.0140
paper 0.6980 ±0.0140 Δ at pub 0.0210 Δ today 0.0785
126
MixHop
actual #126 vs paper #718 592 places worse
0.7626 ±0.0295
best reported
actual #126 vs paper #718 592 places worse
paper 0.6710 ±0.0200
201
GRACE
actual #201 vs paper #673 472 places worse
0.7450 ±0.0010
best reported
actual #201 vs paper #673 472 places worse
paper 0.6840 ±0.0160
350
MLP
0.7289 ±0.0010
395
GraphCL
actual #395 vs paper #550 155 places worse
0.7110 ±0.0080
actual #395 vs paper #550 155 places worse
paper 0.7110 ±0.0080

Improvement within reported uncertainty; not highlighted.

paper 0.7110 ±0.0080 Δ at pub 0.0030 Δ today 0.0140
489
COLES-GCN
0.7170 ±0.0090
This paper
505
GCA
actual #505 vs paper #854 349 places worse
0.7150 ±0.0030
best reported
actual #505 vs paper #854 349 places worse
paper 0.5570 ±0.0190
paper 0.5570 ±0.0190 Δ today 0.1580
532
COLES-S2GC
0.7130 ±0.0100
This paper
580
SCE
0.7070 ±0.0120
This paper
638
S2GC
0.6950 ±0.0120
This paper
660
PCA-S2GC
0.6880 ±0.0130
This paper
692
DeepWalk
actual #692 vs paper #874 182 places worse
0.6785 ±0.0079
best reported
actual #692 vs paper #874 182 places worse
paper 0.4560 ±0.0200
paper 0.4560 ±0.0200 Δ at pub 0.0580 Δ today 0.2225
761
Graph2Gauss
0.6570 ±0.0150
This paper
816
RP-S2GC
0.6170 ±0.0160
This paper
850
GCN with SampledNCE
0.5680 ±0.0190
This paper
852
SAGE with SampledNCE
0.5650 ±0.0160
This paper
#ModelAccuracy ↑Paper
1
LGTL
0.9518 ±0.0011
2
MixHop (LO)
0.9513 ±0.0038
3
GraphSAGE (LO)
0.9511 ±0.0036
18
GCN
actual #18 vs paper #726 708 places worse
0.9296 ±0.0015
best reported
actual #18 vs paper #726 708 places worse
paper 0.7720 ±0.0210
20
GAT
actual #20 vs paper #789 769 places worse
0.9233 ±0.0018
best reported
actual #20 vs paper #789 769 places worse
paper 0.7540 ±0.0230
70
MixHop
actual #70 vs paper #777 707 places worse
0.9004 ±0.0141
best reported
actual #70 vs paper #777 707 places worse
paper 0.7570 ±0.0270
paper 0.7570 ±0.0270 Δ at pub 0.0510 Δ today 0.1434
116
SAGE
0.8881 ±0.0015
141
SGC
actual #141 vs paper #761 620 places worse
0.8832 ±0.0055
best reported
actual #141 vs paper #761 620 places worse
paper 0.7630 ±0.0230
paper 0.7630 ±0.0230 Δ at pub 0.0612 Δ today 0.1202
204
DGI
actual #204 vs paper #810 606 places worse
0.8708 ±0.0017
best reported
actual #204 vs paper #810 606 places worse
paper 0.7390 ±0.0230
210
MLP
0.8690 ±0.0074
223
DeepWalk
actual #223 vs paper #834 611 places worse
0.7080 ±0.0260
actual #223 vs paper #834 611 places worse
paper 0.7080 ±0.0260

Improvement within reported uncertainty; not highlighted.

paper 0.7080 ±0.0260 Δ at pub 0.0090 Δ today 0.1572
719
COLES-S2GC
0.7740 ±0.0190
This paper
777
SCE
0.7580 ±0.0220
This paper
804
SAGE with SampledNCE
0.7460 ±0.0190
This paper
809
Graph2Gauss
0.7410 ±0.0210
This paper
814
S2GC
0.7330 ±0.0200
This paper
816
PCA-S2GC
0.7320 ±0.0200
This paper
821
RP-S2GC
0.7250 ±0.0190
This paper
836
GCN with SampledNCE
0.7030 ±0.0250
This paper

Reddit

Global leaderboard →

Default metric is F1. The paper reports 3 values on F1 and 2 values on Micro-F1 .

#ModelF1 ↑ defaultMicro-F1 ↑Paper
1
EnGCN
0.9714 ± 0.0003
—
2
SAGN+SLE
0.9710 ± 0.0000
—
3
GAMLP(JK)
0.9704 ± 0.0001
—
14
GraphSAGE
0.9660
—
53
COLES-S²GC
—
0.9540
Micro-F1 0.9540
This paper
55
SAGE-LSTM
0.9540
—
Micro-F1 —
This paper
71
SAGE-mean
0.9500
—
Micro-F1 —
This paper
87
COLES-GCN
—
0.9400
Micro-F1 0.9400
This paper
109
SAGE-GCN
0.9300
—
Micro-F1 —
This paper
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers) Best at pub — reported result worse than the best known when published (best reported in green) Best today — OK at publication; today's leaderboard best is elsewhere