NeurIPS 2023

Rethinking Tokenizer and Decoder in Masked Graph Modeling for Molecules

Zhiyuan Liu, Yaorui Shi, An Zhang, Enzhi Zhang, Kenji Kawaguchi, Xiang Wang, Tat-Seng Chua

Main figure for Rethinking Tokenizer and Decoder in Masked Graph Modeling for Molecules

Abstract

Masked graph modeling excels in the self-supervised representation learning of molecular graphs. Scrutinizing previous studies, we can reveal a common scheme consisting of three key components: (1) graph tokenizer, which breaks a molecular graph into smaller fragments (i.e., subgraphs) and converts them into tokens; (2) graph masking, which corrupts the graph with masks; (3) graph autoencoder, which first applies an encoder on the masked graph to generate the representations, and then employs a decoder on the representations to recover the tokens of the original graph. However, the previous MGM studies focus extensively on graph masking and encoder, while there is limited understanding of tokenizer and decoder. To bridge the gap, we first summarize popular molecule tokenizers at the granularity of node, edge, motif, and Graph Neural Networks (GNNs), and then examine their roles as the MGM's reconstruction targets. Further, we explore the potential of adopting an expressive decoder in MGM. Our results show that a subgraph-level tokenizer and a sufficiently expressive decoder with remask decoding have a large impact on the encoder's representation learning. Finally, we propose a novel MGM method SimSGT, featuring a Simple GNN-based Tokenizer (SGT) and an effective decoding strategy. We empirically validate that our method outperforms the existing molecule self-supervised learning methods. Our codes and checkpoints are available at https://github.com/syr-cn/SimSGT.

Benchmark Results

Tested on 6 datasets 9 baseline values reported too low

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

MoleculeNet

#ModelROC-AUC ↑Paper
1
HIMP
0.8740 ±0.0050
2
GINE w/ VN
0.8720 ±0.0030
3
NaiveGINe+ K=3 w/ VN
0.8700 ±0.0040
14
GCN
0.8400 ±0.0040
31
JOAO
actual #31 vs paper #260 229 places worse
0.8230 ±0.0220
best reported
actual #31 vs paper #260 229 places worse
paper 0.7410 ±0.0060
paper 0.7410 ±0.0060 Δ at pub 0.0820
71
GraphLoG
actual #71 vs paper #235 164 places worse
0.7960 ±0.0250
best reported
actual #71 vs paper #235 164 places worse
paper 0.7490 ±0.0040
paper 0.7490 ±0.0040 Δ at pub 0.0470
202
GraphMAE*
0.7550 ±0.0060
This paper
212
RGCL
actual #212 vs paper #212
0.7530 ±0.0050
actual #212 vs paper #212
paper 0.7530 ±0.0050

Improvement within reported uncertainty; not highlighted.

paper 0.7530 ±0.0050 Δ at pub 0.0010
238
BGRL
actual #238 vs paper #246 8 places worse
0.7483 ±0.0074
best reported
actual #238 vs paper #246 8 places worse
paper 0.7450 ±0.0040

Difference within reported uncertainty; not counted as underperformance.

paper 0.7450 ±0.0040 Δ at pub 0.0033
247
ADGCL
0.7450 ±0.0070
This paper
266
GINE No Pre-train
0.7390 ±0.0090
This paper
#ModelROC-AUC ↑Paper
1
ProtoMol
0.9140 ±0.0030
2
MMSG
0.9080 ±0.0050
3
MemGNN
0.9070
43
GIN
0.8646 ±0.0081
98
GraphLoG
actual #98 vs paper #108 10 places worse
0.8350 ±0.0120
best reported
actual #98 vs paper #108 10 places worse
paper 0.8290 ±0.0090

Difference within reported uncertainty; not counted as underperformance.

paper 0.8290 ±0.0090 Δ at pub 0.0060 Δ today 0.0060
100
JOAO
actual #100 vs paper #226 126 places worse
0.8340 ±0.0330
best reported
actual #100 vs paper #226 126 places worse
paper 0.7720 ±0.0210
paper 0.7720 ±0.0210 Δ at pub 0.0620
105
GraphMAE*
0.8310 ±0.0090
This paper
233
GINE No Pre-train
0.7680 ±0.0280
This paper
242
RGCL
actual #242 vs paper #245 3 places worse
0.7603 ±0.0077
best reported
actual #242 vs paper #245 3 places worse
paper 0.7570 ±0.0130

Difference within reported uncertainty; not counted as underperformance.

paper 0.7570 ±0.0130 Δ at pub 0.0033 Δ today 0.0033
246
BGRL
actual #246 vs paper #246
0.7560 ±0.0220
actual #246 vs paper #246
paper 0.7560 ±0.0220

Improvement within reported uncertainty; not highlighted.

paper 0.7560 ±0.0220 Δ at pub 0.0433
255
ADGCL
0.7400 ±0.0220
This paper
#ModelROC-AUC ↑Paper
1
MAGPrompt+
0.9432 ±0.0238
2
CamS-LLaMA
0.9420
3
SE(3)-I MPPH
0.9400 ±0.0210
34
GIN
0.8875 ±0.0049
39
JOAO
actual #39 vs paper #107 68 places worse
0.8790 ±0.0200
best reported
actual #39 vs paper #107 68 places worse
paper 0.7180 ±0.0100
paper 0.7180 ±0.0100 Δ at pub 0.1610
54
GraphLoG
actual #54 vs paper #121 67 places worse
0.8460 ±0.0080
best reported
actual #54 vs paper #121 67 places worse
paper 0.7100 ±0.0110
paper 0.7100 ±0.0110 Δ at pub 0.1360
101
GraphMAE
0.7200 ±0.0090
This paper
117
RGCL
actual #117 vs paper #118 1 place worse
0.7142 ±0.0066
best reported
actual #117 vs paper #118 1 place worse
paper 0.7120 ±0.0090

Difference within reported uncertainty; not counted as underperformance.

paper 0.7120 ±0.0090 Δ at pub 0.0022
129
ADGCL
actual #129 vs paper #129
0.7050 ±0.0180
actual #129 vs paper #129
paper 0.7050 ±0.0180

Improvement within reported uncertainty; not highlighted.

paper 0.7050 ±0.0180 Δ at pub 0.0050
206
GINE No Pre-train
0.6780 ±0.0160
This paper
234
BGRL
actual #234 vs paper #234
0.6700 ±0.0060
actual #234 vs paper #234
paper 0.6700 ±0.0060

Improvement within reported uncertainty; not highlighted.

paper 0.6700 ±0.0060 Δ at pub 0.0027
#ModelROC-AUC ↑Paper
1
SE(3)-I MPPH
0.9930 ±0.0040
2
KA-GCN
0.9920 ±0.0050
3
KA-GAT
0.9910 ±0.0050
19
GCN
0.9130 ±0.0170
57
RGCL
actual #57 vs paper #57
0.8500 ±0.0080
actual #57 vs paper #57
paper 0.8500 ±0.0080
paper 0.8500 ±0.0080 Δ at pub 0.0160
71
GraphMAE*
0.8230 ±0.0120
This paper
79
JOAO
actual #79 vs paper #94 15 places worse
0.8132 ±0.0249
best reported
actual #79 vs paper #94 15 places worse
paper 0.7960 ±0.0140

Difference within reported uncertainty; not counted as underperformance.

paper 0.7960 ±0.0140 Δ at pub 0.0172
93
ADGCL
actual #93 vs paper #104 11 places worse
0.7980 ±0.0350
best reported
actual #93 vs paper #104 11 places worse
paper 0.7850 ±0.0370

Difference within reported uncertainty; not counted as underperformance.

paper 0.7850 ±0.0370 Δ at pub 0.0130
103
GraphLoG
actual #103 vs paper #115 12 places worse
0.7872 ±0.0258
best reported
actual #103 vs paper #115 12 places worse
paper 0.7690 ±0.0190

Difference within reported uncertainty; not counted as underperformance.

paper 0.7690 ±0.0190 Δ at pub 0.0182 Δ today 0.0182
199
BGRL
actual #199 vs paper #199
0.6550 ±0.0230
actual #199 vs paper #199
paper 0.6550 ±0.0230

Improvement within reported uncertainty; not highlighted.

paper 0.6550 ±0.0230 Δ at pub 0.0076
215
GINE No Pre-train
0.6260 ±0.0440
This paper
#ModelROC-AUC ↑Paper
1
KA-GAT
0.8470 ±0.0020
2
KA-GCN
0.8420 ±0.0010
3
GraphKAN
0.8370 ±0.0010
66
GIN
0.6403 ±0.0104
68
JOAO
actual #68 vs paper #145 77 places worse
0.6400 ±0.0100
best reported
actual #68 vs paper #145 77 places worse
paper 0.6080 ±0.0090
paper 0.6080 ±0.0090 Δ at pub 0.0320
80
ADGCL
actual #80 vs paper #202 122 places worse
0.6330 ±0.0080
best reported
actual #80 vs paper #202 122 places worse
paper 0.5910 ±0.0090
paper 0.5910 ±0.0090 Δ at pub 0.0420
123
GraphLoG
actual #123 vs paper #192 69 places worse
0.6150 ±0.0130
best reported
actual #123 vs paper #192 69 places worse
paper 0.5970 ±0.0090

Difference within reported uncertainty; not counted as underperformance.

paper 0.5970 ±0.0090 Δ at pub 0.0180
128
RGCL
actual #128 vs paper #133 5 places worse
0.6140 ±0.0060
best reported
actual #128 vs paper #133 5 places worse
paper 0.6120 ±0.0060

Difference within reported uncertainty; not counted as underperformance.

paper 0.6120 ±0.0060 Δ at pub 0.0020 Δ today 0.0020
169
BGRL
actual #169 vs paper #204 35 places worse
0.6041 ±0.0143
best reported
actual #169 vs paper #204 35 places worse
paper 0.5890 ±0.0070

Difference within reported uncertainty; not counted as underperformance.

paper 0.5890 ±0.0070 Δ at pub 0.0151
175
GraphMAE*
0.6030 ±0.0110
This paper
209
GINE No Pre-train
0.5830 ±0.0150
This paper
#ModelROC-AUC ↑Paper
1
GeomGCL
0.7630
2
LiGhT DeepGPT
0.7570 ±0.0110
3
CoMPT
0.7550
14
GCN
0.7350 ±0.0020
31
JOAO
actual #31 vs paper #131 100 places worse
0.7110 ±0.0140
best reported
actual #31 vs paper #131 100 places worse
paper 0.6390 ±0.0030
paper 0.6390 ±0.0030 Δ at pub 0.0720
64
GraphLoG
actual #64 vs paper #167 103 places worse
0.6770 ±0.0190
best reported
actual #64 vs paper #167 103 places worse
paper 0.6280 ±0.0050
paper 0.6280 ±0.0050 Δ at pub 0.0490
148
RGCL
actual #148 vs paper #159 11 places worse
0.6333 ±0.0017
best reported
actual #148 vs paper #159 11 places worse
paper 0.6310 ±0.0030

Difference within reported uncertainty; not counted as underperformance.

paper 0.6310 ±0.0030 Δ at pub 0.0023 Δ today 0.0023
155
BGRL
actual #155 vs paper #180 25 places worse
0.6320 ±0.0076
best reported
actual #155 vs paper #180 25 places worse
paper 0.6230 ±0.0020

Difference within reported uncertainty; not counted as underperformance.

paper 0.6230 ±0.0020 Δ at pub 0.0090
160
ADGCL
actual #160 vs paper #162 2 places worse
0.6310 ±0.0070
best reported
actual #160 vs paper #162 2 places worse
paper 0.6300 ±0.0050

Difference within reported uncertainty; not counted as underperformance.

paper 0.6300 ±0.0050 Δ at pub 0.0010
179
GINE No Pre-train
0.6240 ±0.0040
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 at pub — reported value improved over the best known when published