[Paper Review] A Transformer-based Generative Model for De Novo Molecular Design
This paper proposes cTransformer, a conditional Transformer-based generative model for de novo molecular design that leverages target-specific embeddings to generate novel, valid SMILES strings conditioned on protein targets. The model achieves state-of-the-art performance in generating both drug-like and target-specific compounds, with high validity, uniqueness, and novelty, while producing molecules that occupy the same chemical space as known active compounds.
In the scope of drug discovery, the molecular design aims to identify novel compounds from the chemical space where the potential drug-like molecules are estimated to be in the order of 10^60 - 10^100. Since this search task is computationally intractable due to the unbounded search space, deep learning draws a lot of attention as a new way of generating unseen molecules. As we seek compounds with specific target proteins, we propose a Transformer-based deep model for de novo target-specific molecular design. The proposed method is capable of generating both drug-like compounds (without specified targets) and target-specific compounds. The latter are generated by enforcing different keys and values of the multi-head attention for each target. In this way, we allow the generation of SMILES strings to be conditional on the specified target. Experimental results demonstrate that our method is capable of generating both valid drug-like compounds and target-specific compounds. Moreover, the sampled compounds from conditional model largely occupy the real target-specific molecules' chemical space and also cover a significant fraction of novel compounds.
Motivation & Objective
- To address the computational intractability of exploring the vast chemical space ($10^{60}$–$10^{100}$ potential drug-like molecules) in drug discovery.
- To develop a deep generative model that can produce novel, valid, and drug-like molecular structures with desired target-specific properties.
- To enable conditional generation of molecules based on specific target proteins using attention mechanisms that incorporate target embeddings.
- To improve upon existing models by generating compounds that are not only valid and unique but also novel and biologically active.
- To validate the model's ability to generate molecules that occupy the same sub-chemical space as known active compounds for each target.
Proposed method
- The model uses a pre-trained Transformer decoder architecture, initially trained on the MOSES dataset without target information to learn general drug-like SMILES patterns.
- A conditional fine-tuning stage introduces target-specific embeddings into the multi-head attention mechanism, where the target acts as a key and value to condition the generation process.
- The model is fine-tuned on three target-specific datasets (EGFR, HTR1A, S1PR1), with target embeddings injected into the decoder's self-attention and cross-attention layers.
- SMILES strings are generated autoregressively token-by-token, ensuring grammatical correctness and chemical validity.
- The model's performance is evaluated using metrics including validity, uniqueness (unique@10k), and novelty (fraction not in training set).
- QSAR models with 2048-bit FCFP6 fingerprints, 166-bit MACCS keys, and 319 RDKit descriptors are used to predict activity and benchmark generated compound potency.
Experimental results
Research questions
- RQ1Can a Transformer-based model generate valid, novel, and drug-like SMILES strings in an unconditional setting?
- RQ2Can the integration of target-specific embeddings into the attention mechanism effectively guide the generation of molecules with desired target affinity?
- RQ3Do the generated molecules occupy the same chemical space as known active compounds for the target?
- RQ4How does the model's performance in generating active compounds compare to a conditional RNN baseline?
- RQ5To what extent do the generated molecules exhibit high novelty while maintaining high predicted activity?
Key findings
- The cTransformer model achieved a validity rate above 88% across all targets, with 94% uniqueness among 10,000 generated molecules for EGFR, 89.6% for HTR1A, and 83.8% for S1PR1.
- The model demonstrated high novelty, generating 90% of molecules not present in the training set for EGFR, 78.7% for HTR1A, and 68.4% for S1PR1—significantly outperforming the cRNN baseline.
- QSAR models predicted Pearson correlation coefficients above 0.75 for all targets, confirming the model's ability to generate compounds with high predicted activity.
- The top 1,000–5,000 most active compounds from cTransformer showed significantly better predicted activity distributions than those from cRNN across all three targets.
- UMAP visualization confirmed that generated target-specific molecules (dark) and real target-specific compounds (light) occupy the same sub-chemical space, indicating biological relevance.
- The top 24 most active generated compounds for each target were identified and visualized, demonstrating the model's capacity to produce high-potential candidates.
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.