Generating Focussed Molecule Libraries for Drug Discovery with Recurrent Neural Networks

Marwin H. S. Segler, Thierry Kogej, Christian Tyrchan, Mark P. WallerarXiv 2017

TL;DR

This paper introduces a novel approach to de novo drug design using recurrent neural networks (RNNs) trained on molecular structures represented as SMILES strings. By treating molecules as a language, these RNNs can generate novel, drug-like molecules and, crucially, can be fine-tuned on small sets of known active compounds to generate libraries enriched with molecules targeting specific biological pathways.

What Problem Does This Paper Address?

The process of discovering new drugs is incredibly challenging, primarily due to the vast chemical space of potential molecules (estimated at 10^60). Traditional methods like high-throughput screening are expensive and time-consuming. While virtual screening helps narrow down candidates, de novo drug design aims to directly generate novel molecules with desired properties, like binding affinity to a biological target. Existing de novo methods often rely on predefined rules or fragment-based approaches, which can be restrictive or lead to molecules that are difficult to synthesize. The challenge is to create a system that can generate diverse, valid, and potentially active molecules efficiently.

Methods

The core of this work is the application of Recurrent Neural Networks (RNNs), specifically Long Short-Term Memory (LSTM) networks, as generative models for molecular structures. The authors draw an analogy between natural language processing and chemistry, representing molecules as sequences of characters using the Simplified Molecular Input Line Entry System (SMILES).

  • SMILES Representation: Molecules are converted into SMILES strings, which are then treated as sequences of "words" or characters. This allows RNNs, adept at sequence modeling, to learn the "grammar" of molecular structures.
  • Recurrent Neural Networks (RNNs): The RNNs are trained to predict the next character in a SMILES string given the preceding sequence. This enables them to learn the rules of chemical validity and structure.
  • Transfer Learning (Fine-tuning): A key innovation is the use of transfer learning. An RNN is first pre-trained on a large, general dataset of molecules to learn general chemical rules. Then, it's "fine-tuned" on a smaller dataset of molecules known to be active against a specific biological target. This process guides the model to generate molecules that are not only valid but also likely to be active.
  • Target Prediction Models (TPMs): To evaluate the generated molecules, machine learning-based target prediction models are used. These models classify molecules as active or inactive against a given target.

Datasets

  • ChEMBL Database: The primary dataset used for training the general language model. It contains approximately 1.4 million molecules with measured biological activity data.
  • Target-Specific Datasets: For fine-tuning and evaluation, datasets for specific targets were curated from ChEMBL:
  • 5-HT2A receptor: 732 molecules with pIC50 > 7.
  • Plasmodium falciparum (Malaria): A split dataset of 1239 training and 1240 test molecules with pIC50 > 8.
  • Staphylococcus aureus: A dataset of 6051 test molecules with pMIC > 3.

Key Insights and Ideas

  • Molecules as Language: The analogy between chemical structures and natural language is powerful. RNNs, successful in language tasks, can effectively learn the "grammar" of molecules from SMILES strings.
  • Transfer Learning for Specificity: Fine-tuning a general molecular language model on a small set of active compounds is a highly effective way to generate molecules with desired biological activity, significantly outperforming models trained from scratch.
  • Data-Driven De Novo Design: This approach is entirely data-driven, reducing reliance on expert-defined rules or heuristics, which can be a bottleneck in traditional drug discovery.
  • Simulating the Drug Discovery Cycle: The authors demonstrate that their model can be integrated into a simulated design-synthesis-test cycle, where generated molecules are scored, selected, and used to retrain the model, mimicking a real-world drug discovery workflow.

Key Results

  • Reproducing Known Molecules: The model could reproduce 14% of hold-out test molecules for Staphylococcus aureus and 28% for Plasmodium falciparum.
  • Enrichment of Active Molecules: Fine-tuning significantly increased the proportion of predicted active molecules. For Plasmodium falciparum, an Enrichment Over Random (EOR) of 66.9 was achieved with a fine-tuned model compared to a general model.
  • Generating Novel, Valid Molecules: The model generated over 847,000 novel, valid molecules from a large SMILES corpus.
  • Physicochemical Property Correlation: Generated molecules closely matched the physicochemical properties of the training data, as visualized by t-SNE projections.
  • Simulated Design Cycle Success: In a simulated cycle for Staphylococcus aureus, the model reproduced 6% of test molecules after 8 iterations and classified over 60,000 generated molecules as active.

Limitations and Future Work

  • Interpretability: The authors acknowledge that RNNs, like many deep learning models, lack interpretability compared to rule-based methods. Understanding why a molecule is generated or predicted as active can be challenging.
  • Synthesizability: While the generated molecules are generally valid, their synthesizability in a wet lab is not explicitly guaranteed by the model itself.
  • Future Work:
    • Reinforcement Learning: Casting molecule generation as a reinforcement learning problem, using a reward signal from a target prediction model, could further optimize molecule generation.
  • Alternative Target Prediction: Exploring other target prediction methods like docking or robotic synthesis could enhance the de novo design cycle.
  • Broader Applications: The authors believe their approach can be complementary to existing drug discovery methods and warrants further investigation for novel molecule generation.

Summary updated

Abstract

In de novo drug design, computational strategies are used to generate novel molecules with good affinity to the desired biological target. In this work, we show that recurrent neural networks can be trained as generative models for molecular structures, similar to statistical language models in natural language processing. We demonstrate that the properties of the generated molecules correlate very well with the properties of the molecules used to train the model. In order to enrich libraries with molecules active towards a given biological target, we propose to fine-tune the model with small sets of molecules, which are known to be active against that target. Against Staphylococcus aureus, the model reproduced 14% of 6051 hold-out test molecules that medicinal chemists designed, whereas against Plasmodium falciparum (Malaria) it reproduced 28% of 1240 test molecules. When coupled with a scoring function, our model can perform the complete de novo drug design cycle to generate large sets of novel molecules for drug discovery.
BibTeX
@misc{segler2017generating,
  author = {Marwin H. S. Segler and Thierry Kogej and Christian Tyrchan and Mark P. Waller},
  title = {{Generating Focussed Molecule Libraries for Drug Discovery with Recurrent Neural Networks}},
  year = {2017},
  eprint = {1701.01329},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1701.01329},
}
Figure