UniMAP: Universal SMILES-Graph Representation Learning

Shikun Feng, Lixin Yang, Weiying Ma, Yanyan Lan

Main figure for UniMAP: Universal SMILES-Graph Representation Learning

Abstract

Molecular representation learning is fundamental for many drug-related applications. Most existing molecular pre-training models are limited in using single molecular modality, either SMILES or graph representation. To effectively leverage both modalities, we argue that it is critical to capture the fine-grained `semantics' between SMILES and graph, because subtle sequence/graph differences may lead to contrary molecular properties. In this paper, we propose a universal SMILE-graph representation learning model, namely UniMAP. Firstly, an embedding layer is employed to obtain the token and node/edge representation in SMILES and graph, respectively. A multi-layer Transformer is then utilized to conduct deep cross-modality fusion. Specially, four kinds of pre-training tasks are designed for UniMAP, including Multi-Level Cross-Modality Masking (CMM), SMILES-Graph Matching (SGM), Fragment-Level Alignment (FLA), and Domain Knowledge Learning (DKL). In this way, both global (i.e. SGM and DKL) and local (i.e. CMM and FLA) alignments are integrated to achieve comprehensive cross-modality fusion. We evaluate UniMAP on various downstream tasks, i.e. molecular property prediction, drug-target affinity prediction, and drug-drug interaction. Experimental results show that UniMAP outperforms current state-of-the-art pre-training methods. We also visualize the learned representations to demonstrate the effectiveness of multi-modality integration.

Proposed method: UniMAP

Benchmark Results

Tested on 6 datasets 20 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
15
GROVER
actual #15 vs paper #269 254 places worse
0.8380 ±0.0170
best reported
actual #15 vs paper #269 254 places worse
paper 0.7360 ±0.0030
paper 0.7360 ±0.0030 Δ at pub 0.1020
46
ContextPred
actual #46 vs paper #193 147 places worse
0.8060 ±0.0120
best reported
actual #46 vs paper #193 147 places worse
paper 0.7570 ±0.0070
paper 0.7570 ±0.0070 Δ at pub 0.0490
48
3D Infomax
actual #48 vs paper #246 198 places worse
0.8050 ±0.0320
best reported
actual #48 vs paper #246 198 places worse
paper 0.7450 ±0.0070
paper 0.7450 ±0.0070 Δ at pub 0.0600
61
GraphMVP
actual #61 vs paper #183 122 places worse
0.7990 ±0.0180
best reported
actual #61 vs paper #183 122 places worse
paper 0.7590 ±0.0050
paper 0.7590 ±0.0050 Δ at pub 0.0400
71
GraphLoG
actual #71 vs paper #193 122 places worse
0.7960 ±0.0250
best reported
actual #71 vs paper #193 122 places worse
paper 0.7570 ±0.0050
paper 0.7570 ±0.0050 Δ at pub 0.0390
148
UniMAP
0.7720 ±0.0090
This paper
150
Mole-BERT
actual #150 vs paper #150
0.7710 ±0.0040
actual #150 vs paper #150
paper 0.7710 ±0.0040

Improvement within reported uncertainty; not highlighted.

paper 0.7710 ±0.0040 Δ at pub 0.0030
163
AttrMasking
0.7670 ±0.0040
This paper
164
MOCO
0.7670 ±0.0040
This paper
172
MGSSL
actual #172 vs paper #174 2 places worse
0.7650 ±0.0030
best reported
actual #172 vs paper #174 2 places worse
paper 0.7640 ±0.0040

Difference within reported uncertainty; not counted as underperformance.

paper 0.7640 ±0.0040 Δ at pub 0.0010
202
GraphMAE
0.7550 ±0.0060
This paper
287
ChemBERTa
0.7280
This paper
299
KCL
0.7060 ±0.0050
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
97
UniMAP
0.8360 ±0.0100
This paper
99
GROVER(large)
0.8350 ±0.0010
This paper
98
GraphLoG
0.8350 ±0.0120
This paper
105
GraphMAE
0.8310 ±0.0090
This paper
117
MOCO
0.8260 ±0.0030
This paper
130
MGSSL
actual #130 vs paper #181 51 places worse
0.8203 ±0.0379
best reported
actual #130 vs paper #181 51 places worse
paper 0.7970 ±0.0080

Difference within reported uncertainty; not counted as underperformance.

paper 0.7970 ±0.0080 Δ today 0.0233
143
Mole-BERT
actual #143 vs paper #143
0.8140 ±0.0100
actual #143 vs paper #143
paper 0.8140 ±0.0100

Improvement within reported uncertainty; not highlighted.

paper 0.8140 ±0.0100 Δ at pub 0.0060
149
GraphMVP
0.8120 ±0.0090
This paper
173
KCL
0.8020 ±0.0180
This paper
183
3D Infomax
actual #183 vs paper #188 5 places worse
0.7970 ±0.0154
best reported
actual #183 vs paper #188 5 places worse
paper 0.7940 ±0.0190

Difference within reported uncertainty; not counted as underperformance.

paper 0.7940 ±0.0190 Δ at pub 0.0030 Δ today 0.0030
186
ContextPred
0.7960 ±0.0120
This paper
191
AttrMasking
0.7930 ±0.0160
This paper
282
SMILES Transformer
0.7010
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
37
GROVER
actual #37 vs paper #106 69 places worse
0.8870 ±0.0060
best reported
actual #37 vs paper #106 69 places worse
paper 0.7190 ±0.0010
paper 0.7190 ±0.0010 Δ at pub 0.1680
40
ContextPred
actual #40 vs paper #201 161 places worse
0.8770 ±0.0260
best reported
actual #40 vs paper #201 161 places worse
paper 0.6800 ±0.0200
paper 0.6800 ±0.0200 Δ at pub 0.1970
41
3D Infomax
actual #41 vs paper #174 133 places worse
0.8770 ±0.0140
best reported
actual #41 vs paper #174 133 places worse
paper 0.6910 ±0.0110
paper 0.6910 ±0.0110 Δ at pub 0.1860
49
GraphMVP
actual #49 vs paper #92 43 places worse
0.8600 ±0.0340
best reported
actual #49 vs paper #92 43 places worse
paper 0.7240 ±0.0160
paper 0.7240 ±0.0160 Δ at pub 0.1360
54
GraphLoG
actual #54 vs paper #90 36 places worse
0.8460 ±0.0080
best reported
actual #54 vs paper #90 36 places worse
paper 0.7250 ±0.0080
paper 0.7250 ±0.0080 Δ at pub 0.1210
61
MGSSL
actual #61 vs paper #128 67 places worse
0.7952 ±0.0198
best reported
actual #61 vs paper #128 67 places worse
paper 0.7050 ±0.0110
68
UniMAP
0.7560 ±0.0180
This paper
96
Mole-BERT
actual #96 vs paper #96
0.7230 ±0.0070
actual #96 vs paper #96
paper 0.7230 ±0.0070

Improvement within reported uncertainty; not highlighted.

paper 0.7230 ±0.0070 Δ at pub 0.0040
101
GraphMAE
0.7200 ±0.0060
This paper
112
MOCO
0.7160 ±0.0100
This paper
134
SMILES Transformer
0.7040
This paper
155
KCL
0.6990 ±0.0060
This paper
230
AttrMasking
actual #230 vs paper #279 49 places worse
0.6712 ±0.0045
best reported
actual #230 vs paper #279 49 places worse
paper 0.6430 ±0.0280

Difference within reported uncertainty; not counted as underperformance.

paper 0.6430 ±0.0280 Δ today 0.0282
281
ChemBERTa
0.6430
This paper
#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
5
UniMAP
0.9830 ±0.0170
This paper
19
GCN
0.9130 ±0.0170
49
GraphMVP
actual #49 vs paper #95 46 places worse
0.8650 ±0.0170
best reported
actual #49 vs paper #95 46 places worse
paper 0.7910 ±0.0280
71
GraphMAE
0.8230 ±0.0120
This paper
76
GROVER
actual #76 vs paper #76
0.8170 ±0.0250
actual #76 vs paper #76
paper 0.8170 ±0.0250

Improvement within reported uncertainty; not highlighted.

paper 0.8170 ±0.0250 Δ at pub 0.0390
77
MOCO
0.8160 ±0.0370
This paper
85
MGSSL
actual #85 vs paper #93 8 places worse
0.8070 ±0.0210
best reported
actual #85 vs paper #93 8 places worse
paper 0.7970 ±0.0220

Difference within reported uncertainty; not counted as underperformance.

paper 0.7970 ±0.0220 Δ at pub 0.0100
88
Mole-BERT
actual #88 vs paper #88
0.8010 ±0.0360
actual #88 vs paper #88
paper 0.8010 ±0.0360

Improvement within reported uncertainty; not highlighted.

paper 0.8010 ±0.0360 Δ at pub 0.0120
89
3D Infomax
actual #89 vs paper #223 134 places worse
0.7990 ±0.0349
best reported
actual #89 vs paper #223 134 places worse
paper 0.5940 ±0.0320
103
GraphLoG
actual #103 vs paper #116 13 places worse
0.7872 ±0.0258
best reported
actual #103 vs paper #116 13 places worse
paper 0.7670 ±0.0330

Difference within reported uncertainty; not counted as underperformance.

paper 0.7670 ±0.0330 Δ at pub 0.0202 Δ today 0.0202
115
ContextPred
actual #115 vs paper #197 82 places worse
0.7720 ±0.0088
best reported
actual #115 vs paper #197 82 places worse
paper 0.6590 ±0.0380
147
ChemBERTa
0.7330
This paper
162
AttrMasking
0.7180 ±0.0410
This paper
227
KCL
0.5880 ±0.0190
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
25
GROVER(large)
0.6680 ±0.0010
This paper
32
UniMAP
0.6660 ±0.0080
This paper
66
GIN
0.6403 ±0.0104
70
GraphMVP
0.6390 ±0.0120
This paper
77
KCL
0.6360 ±0.0080
This paper
90
Mole-BERT
actual #90 vs paper #102 12 places worse
0.6280 ±0.0110
best reported
actual #90 vs paper #102 12 places worse
paper 0.6220 ±0.0080

Difference within reported uncertainty; not counted as underperformance.

paper 0.6220 ±0.0080 Δ at pub 0.0060 Δ today 0.0060
103
ContextPred
actual #103 vs paper #144 41 places worse
0.6220 ±0.0059
best reported
actual #103 vs paper #144 41 places worse
paper 0.6090 ±0.0060
116
MGSSL
actual #116 vs paper #162 46 places worse
0.6180 ±0.0080
best reported
actual #116 vs paper #162 46 places worse
paper 0.6050 ±0.0070

Difference within reported uncertainty; not counted as underperformance.

paper 0.6050 ±0.0070 Δ at pub 0.0130
123
GraphLoG
actual #123 vs paper #133 10 places worse
0.6150 ±0.0130
best reported
actual #123 vs paper #133 10 places worse
paper 0.6120 ±0.0110

Difference within reported uncertainty; not counted as underperformance.

paper 0.6120 ±0.0110 Δ at pub 0.0030
133
AttrMasking
actual #133 vs paper #141 8 places worse
0.6121 ±0.0065
best reported
actual #133 vs paper #141 8 places worse
paper 0.6100 ±0.0070

Difference within reported uncertainty; not counted as underperformance.

paper 0.6100 ±0.0070 Δ today 0.0021
136
MOCO
0.6120 ±0.0060
This paper
155
3D Infomax
actual #155 vs paper #235 80 places worse
0.6060 ±0.0078
best reported
actual #155 vs paper #235 80 places worse
paper 0.5340 ±0.0330
175
GraphMAE
0.6030 ±0.0110
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
25
3D Infomax
actual #25 vs paper #117 92 places worse
0.7160 ±0.0130
best reported
actual #25 vs paper #117 92 places worse
paper 0.6440 ±0.0090
paper 0.6440 ±0.0090 Δ at pub 0.0720
28
ContextPred
actual #28 vs paper #131 103 places worse
0.7140 ±0.0180
best reported
actual #28 vs paper #131 103 places worse
paper 0.6390 ±0.0060
paper 0.6390 ±0.0060 Δ at pub 0.0750
34
GROVER
actual #34 vs paper #86 52 places worse
0.7080 ±0.0150
best reported
actual #34 vs paper #86 52 places worse
paper 0.6610 ±0.0010
paper 0.6610 ±0.0010 Δ at pub 0.0470
50
GraphMVP
actual #50 vs paper #159 109 places worse
0.6890 ±0.0100
best reported
actual #50 vs paper #159 109 places worse
paper 0.6310 ±0.0040
paper 0.6310 ±0.0040 Δ at pub 0.0580
64
GraphLoG
actual #64 vs paper #137 73 places worse
0.6770 ±0.0190
best reported
actual #64 vs paper #137 73 places worse
paper 0.6350 ±0.0070
paper 0.6350 ±0.0070 Δ at pub 0.0420
69
UniMAP
0.6700 ±0.0040
This paper
110
MOCO
0.6490 ±0.0080
This paper
114
Mole-BERT
actual #114 vs paper #114
0.6450 ±0.0040
actual #114 vs paper #114
paper 0.6450 ±0.0040

Improvement within reported uncertainty; not highlighted.

paper 0.6450 ±0.0040 Δ at pub 0.0020
126
AttrMasking
0.6420 ±0.0050
This paper
128
GraphMAE
0.6410 ±0.0030
This paper
129
MGSSL
actual #129 vs paper #134 5 places worse
0.6410 ±0.0070
best reported
actual #129 vs paper #134 5 places worse
paper 0.6380 ±0.0030

Difference within reported uncertainty; not counted as underperformance.

paper 0.6380 ±0.0030 Δ at pub 0.0030
135
KCL
0.6380 ±0.0010
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