Improving Molecular Contrastive Learning via Faulty Negative Mitigation and Decomposed Fragment Contrast
Abstract
Deep learning has been a prevalence in computational chemistry and widely implemented in molecule property predictions. Recently, self-supervised learning (SSL), especially contrastive learning (CL), gathers growing attention for the potential to learn molecular representations that generalize to the gigantic chemical space. Unlike supervised learning, SSL can directly leverage large unlabeled data, which greatly reduces the effort to acquire molecular property labels through costly and time-consuming simulations or experiments. However, most molecular SSL methods borrow the insights from the machine learning community but neglect the unique cheminformatics (e.g., molecular fingerprints) and multi-level graphical structures (e.g., functional groups) of molecules. In this work, we propose iMolCLR: improvement of Molecular Contrastive Learning of Representations with graph neural networks (GNNs) in two aspects, (1) mitigating faulty negative contrastive instances via considering cheminformatics similarities between molecule pairs; (2) fragment-level contrasting between intra- and inter-molecule substructures decomposed from molecules. Experiments have shown that the proposed strategies significantly improve the performance of GNN models on various challenging molecular property predictions. In comparison to the previous CL framework, iMolCLR demonstrates an averaged 1.3\
Benchmark Results
Tested on 7 datasets 12 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 best reported | best at pub: Graph convolutions that can finally model local structure (2020) |
| 18 | AttentiveFP | 0.8350 best reported | best at pub: GeomGCL: Geometric Graph Contrastive Learning for Molecular Property Prediction (AAAI 2021) Difference within reported uncertainty; not counted as underperformance. |
| 24 | GIN | 0.8290
±0.0069 best reported | |
| 62 | iMolCLR | 0.7990
±0.0060 | This paper |
| 67 | MolCLR | 0.7980
±0.0070 | This paper |
| 93 | D-MPNN | 0.7890
±0.0130 | This paper |
| 96 | Hu et al. | 0.7870
±0.0040 | This paper |
| 135 | GraphSAGE | 0.7744
±0.0038 | |
| 146 | SchNet | 0.7720
±0.0230 | This paper |
| 155 | N-GRAM | 0.7690
±0.0270 | This paper |
| 298 | MGCN | 0.7070
±0.0160 | This paper |
| # | Model | ROC-AUC ↑ | Paper |
|---|---|---|---|
| 1 | ProtoMol | 0.9140
±0.0030 | |
| 2 | MMSG | 0.9080
±0.0050 | |
| 3 | MemGNN | 0.9070 | |
| 9 | MolCLR | 0.8900
±0.0030 | This paper |
| 12 | iMolCLR | 0.8850
±0.0050 | This paper |
| 20 | D-MPNN | 0.8780
±0.0320 best reported | best at pub: Optimal Transport Graph Neural Networks (2020) best today: SE(3)-Invariant Multiparameter Persistent Homology for Chiral-Sensitive Molecular Property Prediction (NeurIPS 2023) Difference within reported uncertainty; not counted as underperformance. |
| 21 | N-GRAM | 0.8760
±0.0350 | This paper |
| 43 | GIN | 0.8646
±0.0081 best reported | best at pub: Optimal Transport Graph Neural Networks (2020) |
| 45 | AttentiveFP | 0.8630
±0.0150 | This paper |
| 55 | Hu et al. | 0.8590
±0.0080 | This paper |
| 64 | GCN | 0.8540
±0.0110 best reported | best at pub: OOD-GNN: Out-of-Distribution Generalized Graph Neural Network (2021) best today: Atom-Motif Contrastive Transformer for Molecular Property Prediction (2023) |
| 82 | GraphSAGE | 0.8451 | |
| 239 | SchNet | 0.7660
±0.0110 | prev best: Molformer: Motif-based Transformer on 3D Heterogeneous Molecular Graphs (AAAI 2021) Improvement within reported uncertainty; not highlighted. |
| 258 | MGCN | 0.7340
±0.0300 | 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 | |
| 26 | D-MPNN | 0.8120
±0.0380 | |
| 28 | N-GRAM | 0.9120
±0.0300 | This paper |
| 31 | AttentiveFP | 0.9080
±0.0500 | This paper |
| 34 | GIN | 0.8875
±0.0049 best reported | best at pub: OOD-GNN: Out-of-Distribution Generalized Graph Neural Network (2021) |
| 38 | GCN | 0.7180
±0.0090 | prev best: Molecule Attention Transformer (NeurIPS 2020) Improvement within reported uncertainty; not highlighted. |
| 52 | MGCN | 0.8500
±0.0640 | This paper |
| 53 | SchNet | 0.8480
±0.0220 | prev best: Molformer: Motif-based Transformer on 3D Heterogeneous Molecular Graphs (AAAI 2021) Improvement within reported uncertainty; not highlighted. |
| 57 | GraphSAGE | 0.8304
±0.0038 | |
| 65 | iMolCLR | 0.7640
±0.0070 | This paper |
| 78 | MolCLR | 0.7360
±0.0050 | This paper |
| 125 | Hu et al. | 0.7080
±0.0150 | 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 | |
| 8 | iMolCLR | 0.9540
±0.0110 | This paper |
| 11 | AttentiveFP | 0.9330
±0.0200 | This paper |
| 12 | MolCLR | 0.9320
±0.0170 | This paper |
| 19 | GCN | 0.9130
±0.0170 best reported | best at pub: OOD-GNN: Out-of-Distribution Generalized Graph Neural Network (2021) |
| 23 | D-MPNN | 0.9060
±0.0070 best reported | best at pub: ChemRL-GEM: Geometry Enhanced Molecular Representation Learning for Property Prediction (2021) best today: A Systematic Survey and Benchmark of Deep Learning for Molecular Property Prediction in the Foundation Model Era (2026) Difference within reported uncertainty; not counted as underperformance. |
| 36 | GIN | 0.8810
±0.0250 best reported | best at pub: OOD-GNN: Out-of-Distribution Generalized Graph Neural Network (2021) |
| 55 | N-GRAM | 0.8550
±0.0370 | This paper |
| 98 | Hu et al. | 0.7890
±0.0240 | This paper |
| 164 | SchNet | 0.7170
±0.0420 best reported | best at pub: Molformer: Motif-based Transformer on 3D Heterogeneous Molecular Graphs (AAAI 2021) best today: SE(3)-Invariant Multiparameter Persistent Homology for Chiral-Sensitive Molecular Property Prediction (NeurIPS 2023) Difference within reported uncertainty; not counted as underperformance. |
| 211 | MGCN | 0.6340
±0.0420 | This paper |
| 238 | GraphSAGE | 0.5580
±0.0620 |
| # | Model | ROC-AUC ↑ | Paper |
|---|---|---|---|
| 1 | KA-GAT | 0.8470
±0.0020 | |
| 2 | KA-GCN | 0.8420
±0.0010 | |
| 3 | GraphKAN | 0.8370
±0.0010 | |
| 7 | iMolCLR | 0.6990
±0.0150 | This paper |
| 14 | MolCLR | 0.6800
±0.0110 | This paper |
| 46 | Hu et al. | 0.6520
±0.0090 | This paper |
| 66 | GIN | 0.6403
±0.0104 best reported | best at pub: OOD-GNN: Out-of-Distribution Generalized Graph Neural Network (2021) |
| 82 | D-MPNN | 0.6320
±0.0230 | This paper |
| 83 | N-GRAM | 0.6320
±0.0050 | This paper |
| 125 | GCN | 0.6150
±0.0250 best reported | best at pub: OOD-GNN: Out-of-Distribution Generalized Graph Neural Network (2021) |
| 157 | AttentiveFP | 0.6060
±0.0320 best reported | best at pub: ChemRL-GEM: Geometry Enhanced Molecular Representation Learning for Property Prediction (2021) best today: A Systematic Survey and Benchmark of Deep Learning for Molecular Property Prediction in the Foundation Model Era (2026) Difference within reported uncertainty; not counted as underperformance. |
| 227 | GraphSAGE | 0.5670
±0.0010 | |
| 232 | MGCN | 0.5520
±0.0180 | This paper |
| 234 | SchNet | 0.5450
±0.0380 best reported | best today: Atom-Motif Contrastive Transformer for Molecular Property Prediction (2023) Difference within reported uncertainty; not counted as underperformance. |
| # | Model | RMSE ↓ | Paper |
|---|---|---|---|
| 1 | Graphormer-SPIS | 0.4840
±0.0050 | |
| 2 | Graphormer-SPD | 0.4920
±0.0040 | |
| 3 | conan-FGW | 0.5140
±0.0190 | |
| 7 | GCN | 0.5640
±0.0150 best reported | best at pub: Memory-Based Graph Networks (ICLR 2020) best today: On Structural Expressive Power of Graph Transformers (KDD 2023) |
| 10 | AttentiveFP | 0.5780 best reported | best at pub: GeomGCL: Geometric Graph Contrastive Learning for Molecular Property Prediction (AAAI 2021) |
| 18 | GraphSAGE | 0.6010
±0.0080 | |
| 25 | GIN | 0.6260
±0.0170 best reported | best at pub: Optimal Transport Graph Neural Networks (2020) best today: On Structural Expressive Power of Graph Transformers (KDD 2023) |
| 27 | D-MPNN | 0.6350
±0.0270 best reported | best at pub: Optimal Transport Graph Neural Networks (2020) Difference within reported uncertainty; not counted as underperformance. |
| 90 | SchNet | 1.0450
±0.0640 best reported | best today: SE(3)-Invariant Multiparameter Persistent Homology for Chiral-Sensitive Molecular Property Prediction (NeurIPS 2023) Difference within reported uncertainty; not counted as underperformance. |
| 99 | N-GRAM | 1.1000
±0.0300 | This paper |
| 102 | MolCLR | 1.1100
±0.0100 | This paper |
| 108 | iMolCLR | 1.1300
±0.0200 | This paper |
| 116 | Hu et al. | 1.2200
±0.0200 | This paper |
| 120 | MGCN | 1.2660
±0.1470 best reported | best today: SE(3)-Invariant Multiparameter Persistent Homology for Chiral-Sensitive Molecular Property Prediction (NeurIPS 2023) Difference within reported uncertainty; not counted as underperformance. |
| # | Model | RMSE ↓ | Paper |
|---|---|---|---|
| 1 | SE(3)-I MPPH | 0.3540
±0.0530 | |
| 2 | ECFP-4 + RF | 0.5600
±0.0660 | |
| 3 | GPSE + GPS | 0.6820 | |
| 12 | D-MPNN | 1.0100
±0.0640 best reported | best at pub: ChemRL-GEM: Geometry Enhanced Molecular Representation Learning for Property Prediction (2021) best today: SE(3)-Invariant Multiparameter Persistent Homology for Chiral-Sensitive Molecular Property Prediction (NeurIPS 2023) Difference within reported uncertainty; not counted as underperformance. |
| 13 | AttentiveFP | 1.0340 best reported | best at pub: GeomGCL: Geometric Graph Contrastive Learning for Molecular Property Prediction (AAAI 2021) |
| 55 | iMolCLR | 2.0900
±0.0300 | This paper |
| 62 | MolCLR | 2.2000
±0.2000 | This paper |
| 69 | GIN | 2.3460
±0.1220 best reported | |
| 74 | N-GRAM | 2.5100
±0.1900 | This paper |
| 77 | GCN | 2.6180
±0.2980 best reported | best at pub: OOD-GNN: Out-of-Distribution Generalized Graph Neural Network (2021) best today: Graph Neural Networks with a Distribution of Parametrized Graphs (ICML 2023) Difference within reported uncertainty; not counted as underperformance. |
| 88 | Hu et al. | 2.8300
±0.1200 | This paper |
| 103 | SchNet | 3.2150
±0.7550 best reported | best today: SE(3)-Invariant Multiparameter Persistent Homology for Chiral-Sensitive Molecular Property Prediction (NeurIPS 2023) Difference within reported uncertainty; not counted as underperformance. |
| 106 | MGCN | 3.3490
±0.0970 best reported | best today: SE(3)-Invariant Multiparameter Persistent Homology for Chiral-Sensitive Molecular Property Prediction (NeurIPS 2023) Difference within reported uncertainty; not counted as underperformance. |
