Motif-based Graph Self-Supervised Learning for Molecular Property Prediction
Abstract
Predicting molecular properties with data-driven methods has drawn much attention in recent years. Particularly, Graph Neural Networks (GNNs) have demonstrated remarkable success in various molecular generation and prediction tasks. In cases where labeled data is scarce, GNNs can be pre-trained on unlabeled molecular data to first learn the general semantic and structural information before being finetuned for specific tasks. However, most existing self-supervised pre-training frameworks for GNNs only focus on node-level or graph-level tasks. These approaches cannot capture the rich information in subgraphs or graph motifs. For example, functional groups (frequently-occurred subgraphs in molecular graphs) often carry indicative information about the molecular properties. To bridge this gap, we propose Motif-based Graph Self-supervised Learning (MGSSL) by introducing a novel self-supervised motif generation framework for GNNs. First, for motif extraction from molecular graphs, we design a molecule fragmentation method that leverages a retrosynthesis-based algorithm BRICS and additional rules for controlling the size of motif vocabulary. Second, we design a general motif-based generative pre-training framework in which GNNs are asked to make topological and label predictions. This generative framework can be implemented in two different ways, i.e., breadth-first or depth-first. Finally, to take the multi-scale information in molecular graphs into consideration, we introduce a multi-level self-supervised pre-training. Extensive experiments on various downstream benchmark tasks show that our methods outperform all state-of-the-art baselines.
Benchmark Results
Tested on 6 datasets
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 today: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 37 | Infomax | 0.8160
±0.0210 best reported | best today: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 86 | No pretrain | 0.7920
±0.0199 best reported | best today: Does GNN Pretraining Help Molecular Representation? (NeurIPS 2022) |
| 149 | Attribute masking | 0.7720
±0.0040 | This paper |
| 169 | GCC | 0.7660
±0.0050 | This paper |
| 172 | MGSSL | 0.7650
±0.0030 | This paper |
| 180 | GPT-GNN | 0.7610
±0.0040 | This paper |
| # | Model | ROC-AUC ↑ | Paper |
|---|---|---|---|
| 1 | ProtoMol | 0.9140
±0.0030 | |
| 2 | MMSG | 0.9080
±0.0050 | |
| 3 | MemGNN | 0.9070 | |
| 22 | No pretrain | 0.8743
±0.0163 best reported | best today: Does GNN Pretraining Help Molecular Representation? (NeurIPS 2022) |
| 43 | GIN | 0.8646
±0.0081 | |
| 118 | GROVER | 0.8260
±0.0070 best reported | |
| 130 | MGSSL | 0.8203
±0.0379 best reported | 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. |
| 208 | GPT-GNN | 0.7860
±0.0290 best reported | best today: Decoupling Weighing and Selecting for Integrating Multiple Graph Pre-training Tasks (ICLR 2024) Difference within reported uncertainty; not counted as underperformance. |
| 212 | Attribute masking | 0.7830
±0.0110 | This paper |
| 225 | Infomax | 0.7780
±0.0046 best reported | |
| 251 | GCC | 0.7500
±0.0150 | 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 | |
| 18 | No pretrain | 0.9223
±0.0307 best reported | best today: Does GNN Pretraining Help Molecular Representation? (NeurIPS 2022) |
| 34 | GIN | 0.8875
±0.0049 | |
| 37 | GROVER | 0.8870
±0.0060 best reported | best today: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 55 | Infomax | 0.8400
±0.0260 best reported | best today: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 61 | MGSSL | 0.7952
±0.0198 best reported | |
| 220 | GPT-GNN | 0.6750
±0.0130 | This paper |
| 238 | GCC | 0.6690
±0.0070 | This paper |
| 262 | Attribute masking | 0.6560
±0.0090 | 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 | |
| 19 | GCN | 0.9130
±0.0170 | |
| 28 | No pretrain | 0.8970
±0.0093 best reported | best today: Does GNN Pretraining Help Molecular Representation? (NeurIPS 2022) |
| 76 | GROVER | 0.8170
±0.0250 best reported | best today: UniMAP: Universal SMILES-Graph Representation Learning (2023) |
| 85 | MGSSL | 0.8070
±0.0210 | This paper |
| 110 | Attribute masking | 0.7750
±0.0310 | This paper |
| 131 | GPT-GNN | 0.7490
±0.0270 | This paper |
| 148 | GCC | 0.7320
±0.0260 | This paper |
| 151 | Infomax | 0.7300
±0.0320 | 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 | |
| 52 | GROVER | 0.6480
±0.0060 best reported | |
| 66 | GIN | 0.6403
±0.0104 | |
| 101 | No pretrain | 0.6230
±0.0114 best reported | best today: Does GNN Pretraining Help Molecular Representation? (NeurIPS 2022) |
| 116 | MGSSL | 0.6180
±0.0080 | This paper |
| 120 | Infomax | 0.6160
±0.0240 best reported | best today: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) Difference within reported uncertainty; not counted as underperformance. |
| 195 | Attribute masking | 0.5960
±0.0070 | This paper |
| 197 | GPT-GNN | 0.5930
±0.0080 | This paper |
| 215 | GCC | 0.5800
±0.0090 | 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 | |
| 34 | GROVER | 0.7080
±0.0150 best reported | best today: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 46 | No pretrain | 0.6913
±0.0055 best reported | best today: Does GNN Pretraining Help Molecular Representation? (NeurIPS 2022) |
| 49 | Infomax | 0.6900
±0.0120 best reported | best today: KPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction (KDD 2022) |
| 129 | MGSSL | 0.6410
±0.0070 | This paper |
| 139 | GCC | 0.6350
±0.0040 | This paper |
| 154 | Attribute masking | 0.6330
±0.0080 | This paper |
| 151 | GPT-GNN | 0.6330
±0.0030 best reported | best today: Decoupling Weighing and Selecting for Integrating Multiple Graph Pre-training Tasks (ICLR 2024) Difference within reported uncertainty; not counted as underperformance. |
