[Paper Review] Dual-view Molecule Pre-training
This paper proposes Dual-view Molecule Pre-training (DMP), a novel pre-training framework that jointly leverages SMILES sequences (via a Transformer) and molecular graphs (via a GNN) to learn unified molecular representations. By combining masked language modeling, masked atom prediction, and a dual-view consistency objective that maximizes similarity between the two views, DMP achieves state-of-the-art performance on 7 out of 9 molecular property prediction tasks and 3 retrosynthesis tasks, with significant gains over prior methods.
Inspired by its success in natural language processing and computer vision, pre-training has attracted substantial attention in cheminformatics and bioinformatics, especially for molecule based tasks. A molecule can be represented by either a graph (where atoms are connected by bonds) or a SMILES sequence (where depth-first-search is applied to the molecular graph with specific rules). Existing works on molecule pre-training use either graph representations only or SMILES representations only. In this work, we propose to leverage both the representations and design a new pre-training algorithm, dual-view molecule pre-training (briefly, DMP), that can effectively combine the strengths of both types of molecule representations. The model of DMP consists of two branches: a Transformer branch that takes the SMILES sequence of a molecule as input, and a GNN branch that takes a molecular graph as input. The training of DMP contains three tasks: (1) predicting masked tokens in a SMILES sequence by the Transformer branch, (2) predicting masked atoms in a molecular graph by the GNN branch, and (3) maximizing the consistency between the two high-level representations output by the Transformer and GNN branches separately. After pre-training, we can use either the Transformer branch (this one is recommended according to empirical results), the GNN branch, or both for downstream tasks. DMP is tested on nine molecular property prediction tasks and achieves state-of-the-art performances on seven of them. Furthermore, we test DMP on three retrosynthesis tasks and achieve state-of-the-art results on them.
Motivation & Objective
- To address the limitation of existing molecule pre-training methods that rely on only one representation type—either SMILES sequences or molecular graphs.
- To explore the complementary strengths of Transformer-based sequence modeling and GNN-based structural modeling in molecular representation learning.
- To design a unified pre-training framework that jointly optimizes for both views and enforces consistency between their high-level representations.
- To improve downstream performance on molecular property prediction and retrosynthesis tasks through better, more robust representations.
Proposed method
- DMP employs a dual-branch architecture: a Transformer branch processing SMILES sequences and a GNN branch processing molecular graphs.
- The model is pre-trained using three objectives: masked token prediction in SMILES sequences, masked atom prediction in molecular graphs, and dual-view consistency via contrastive learning.
- The dual-view consistency objective maximizes the cosine similarity between projected representations from the two branches, inspired by the BYOL framework.
- The representation consistency is enforced through a projection head applied to both the Transformer and GNN outputs.
- After pre-training, the model can be fine-tuned using only the Transformer branch, the GNN branch, or both, with empirical results favoring the Transformer branch for downstream tasks.
- The pre-training is conducted on 10 million molecules from PubChem, followed by fine-tuning on MoleculeNet and retrosynthesis benchmarks.
Experimental results
Research questions
- RQ1Can combining SMILES sequence and molecular graph representations improve molecular representation learning beyond using either view in isolation?
- RQ2Does enforcing consistency between dual-view representations lead to better downstream performance in molecular property prediction and retrosynthesis?
- RQ3How does the dual-view consistency objective compare to standard pre-training objectives like masked language modeling in isolation?
- RQ4Can the dual-view approach better capture scaffold-level structural information than single-view models?
- RQ5Does the joint learning of SMILES and graph views lead to more robust and generalizable representations across diverse molecular architectures?
Key findings
- DMP achieves state-of-the-art performance on 7 out of 9 molecular property prediction tasks from MoleculeNet, outperforming MolCLR and GROVER by 1.2 and 2.2 average points, respectively.
- On retrosynthesis tasks using the USPTO-50k dataset, DMP improves top-1 accuracy from 42.3% to 46.1% in the unknown reaction type setting, and from 54.2% to 57.5% when types are given.
- On the USPTO-full dataset, DMP boosts the Transformer baseline by 2.1 points in top-1 accuracy, setting a new state-of-the-art.
- Visualizations using t-SNE and DB index show that DMP representations better separate molecules by scaffold, with a DB index of 2.19 compared to 3.56 (GNN) and 3.59 (Transformer).
- The GNN-based model combined with DMP achieves state-of-the-art results on retrosynthesis, with improvements of 2.3–3.3 points over GLN and DeeperGCN baselines.
- The ablation study confirms that the performance gain is due to pre-training, not architectural differences, as combining DMP with DeeperGCN further improves results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.