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.
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
| # | Model | ROC-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 | 0.8380
±0.0170 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 46 | ContextPred | 0.8060
±0.0120 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 48 | 3D Infomax | 0.8050
±0.0320 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 61 | GraphMVP | 0.7990
±0.0180 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 71 | GraphLoG | 0.7960
±0.0250 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 148 | UniMAP | 0.7720
±0.0090 | This paper |
| 150 | Mole-BERT | 0.7710
±0.0040 | prev best: Motif-aware Attribute Masking for Molecular Graph Pre-training (2023) Improvement within reported uncertainty; not highlighted. |
| 163 | AttrMasking | 0.7670
±0.0040 | This paper |
| 164 | MOCO | 0.7670
±0.0040 | This paper |
| 172 | MGSSL | 0.7650
±0.0030 best reported | best at pub: Motif-based Graph Self-Supervised Learning for Molecular Property Prediction (NeurIPS 2021) Difference within reported uncertainty; not counted as underperformance. |
| 202 | GraphMAE | 0.7550
±0.0060 | This paper |
| 287 | ChemBERTa | 0.7280 | This paper |
| 299 | KCL | 0.7060
±0.0050 | This paper |
| # | Model | ROC-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 | 0.8203
±0.0379 best reported | best at pub: Motif-based Graph Self-Supervised Learning for Molecular Property Prediction (NeurIPS 2021) best today: Pre-training Graph Neural Networks on Molecules by Using Subgraph-Conditioned Graph Information Bottleneck (AAAI 2024) Difference within reported uncertainty; not counted as underperformance. |
| 143 | Mole-BERT | 0.8140
±0.0100 | prev best: Motif-aware Attribute Masking for Molecular Graph Pre-training (2023) Improvement within reported uncertainty; not highlighted. |
| 149 | GraphMVP | 0.8120
±0.0090 | This paper |
| 173 | KCL | 0.8020
±0.0180 | This paper |
| 183 | 3D Infomax | 0.7970
±0.0154 best reported | best at pub: A Group Symmetric Stochastic Differential Equation Model for Molecule Multi-modal Pretraining (ICML 2023) best today: A Generalist Cross-Domain Molecular Learning Framework for Structure-Based Drug Discovery (2025) Difference within reported uncertainty; not counted as underperformance. |
| 186 | ContextPred | 0.7960
±0.0120 | This paper |
| 191 | AttrMasking | 0.7930
±0.0160 | This paper |
| 282 | SMILES Transformer | 0.7010 | This paper |
| # | Model | ROC-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 | 0.8870
±0.0060 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 40 | ContextPred | 0.8770
±0.0260 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 41 | 3D Infomax | 0.8770
±0.0140 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 49 | GraphMVP | 0.8600
±0.0340 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 54 | GraphLoG | 0.8460
±0.0080 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 61 | MGSSL | 0.7952
±0.0198 best reported | best at pub: Motif-based Graph Self-Supervised Learning for Molecular Property Prediction (NeurIPS 2021) |
| 68 | UniMAP | 0.7560
±0.0180 | This paper |
| 96 | Mole-BERT | 0.7230
±0.0070 | prev best: Motif-aware Attribute Masking for Molecular Graph Pre-training (2023) Improvement within reported uncertainty; not highlighted. |
| 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 | 0.6712
±0.0045 best reported | best at pub: GraphMAE: Self-Supervised Masked Graph Autoencoders (KDD 2022) best today: Pre-training Graph Neural Networks on Molecules by Using Subgraph-Conditioned Graph Information Bottleneck (AAAI 2024) Difference within reported uncertainty; not counted as underperformance. |
| 281 | ChemBERTa | 0.6430 | This paper |
| # | Model | ROC-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 | 0.8650
±0.0170 best reported | best at pub: A Group Symmetric Stochastic Differential Equation Model for Molecule Multi-modal Pretraining (ICML 2023) best today: SubGDiff: A Subgraph Diffusion Model to Improve Molecular Representation Learning (NeurIPS 2024) |
| 71 | GraphMAE | 0.8230
±0.0120 | This paper |
| 76 | GROVER | 0.8170
±0.0250 | prev best: Unified 2D and 3D Pre-Training of Molecular Representations (KDD 2022) Improvement within reported uncertainty; not highlighted. |
| 77 | MOCO | 0.8160
±0.0370 | This paper |
| 85 | MGSSL | 0.8070
±0.0210 best reported | best at pub: Motif-based Graph Self-Supervised Learning for Molecular Property Prediction (NeurIPS 2021) Difference within reported uncertainty; not counted as underperformance. |
| 88 | Mole-BERT | 0.8010
±0.0360 | prev best: Motif-aware Attribute Masking for Molecular Graph Pre-training (2023) Improvement within reported uncertainty; not highlighted. |
| 89 | 3D Infomax | 0.7990
±0.0349 best reported | |
| 103 | GraphLoG | 0.7872
±0.0258 best reported | best at pub: Let Invariant Rationale Discovery Inspire Graph Contrastive Learning (ICML 2022) best today: Graph Self-Contrast Representation Learning (2023) Difference within reported uncertainty; not counted as underperformance. |
| 115 | ContextPred | 0.7720
±0.0088 best reported | |
| 147 | ChemBERTa | 0.7330 | This paper |
| 162 | AttrMasking | 0.7180
±0.0410 | This paper |
| 227 | KCL | 0.5880
±0.0190 | This paper |
| # | Model | ROC-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 | 0.6280
±0.0110 best reported | best at pub: Motif-aware Attribute Masking for Molecular Graph Pre-training (2023) best today: A Generalist Cross-Domain Molecular Learning Framework for Structure-Based Drug Discovery (2025) Difference within reported uncertainty; not counted as underperformance. |
| 103 | ContextPred | 0.6220
±0.0059 best reported | |
| 116 | MGSSL | 0.6180
±0.0080 best reported | best at pub: Motif-based Graph Self-Supervised Learning for Molecular Property Prediction (NeurIPS 2021) Difference within reported uncertainty; not counted as underperformance. |
| 123 | GraphLoG | 0.6150
±0.0130 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) Difference within reported uncertainty; not counted as underperformance. |
| 133 | AttrMasking | 0.6121
±0.0065 best reported | best at pub: GraphMAE: Self-Supervised Masked Graph Autoencoders (KDD 2022) best today: Pre-training Graph Neural Networks on Molecules by Using Subgraph-Conditioned Graph Information Bottleneck (AAAI 2024) Difference within reported uncertainty; not counted as underperformance. |
| 136 | MOCO | 0.6120
±0.0060 | This paper |
| 155 | 3D Infomax | 0.6060
±0.0078 best reported | |
| 175 | GraphMAE | 0.6030
±0.0110 | This paper |
| # | Model | ROC-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 | 0.7160
±0.0130 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 28 | ContextPred | 0.7140
±0.0180 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 34 | GROVER | 0.7080
±0.0150 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 50 | GraphMVP | 0.6890
±0.0100 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 64 | GraphLoG | 0.6770
±0.0190 best reported | best at pub: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 69 | UniMAP | 0.6700
±0.0040 | This paper |
| 110 | MOCO | 0.6490
±0.0080 | This paper |
| 114 | Mole-BERT | 0.6450
±0.0040 | prev best: Motif-aware Attribute Masking for Molecular Graph Pre-training (2023) Improvement within reported uncertainty; not highlighted. |
| 126 | AttrMasking | 0.6420
±0.0050 | This paper |
| 128 | GraphMAE | 0.6410
±0.0030 | This paper |
| 129 | MGSSL | 0.6410
±0.0070 best reported | best at pub: Motif-based Graph Self-Supervised Learning for Molecular Property Prediction (NeurIPS 2021) Difference within reported uncertainty; not counted as underperformance. |
| 135 | KCL | 0.6380
±0.0010 | This paper |
