Exploring Deep Recurrent Models with Reinforcement Learning for Molecule Design

Daniel Neil, Marwin H. S. Segler, Laura Guasch, Mohamed Ahmed, Dean Plumbley, Matthew Sellwood, Nathan BrownWorkshops @ ICLR 2018

Introduction

Drug discovery is traditionally a slow, expensive "design-make-test" cycle. While computational de novo design aims to automate the "design" phase, it faces several hurdles. Symbolic approaches often produce molecules that are either impossible to synthesize or too chemically conservative. More recently, generative models (like Recurrent Neural Networks) have shown promise by treating molecule design as a sequence generation task, similar to natural language processing.

However, the field has lacked a "North Star": there were no standardized benchmarks to compare different algorithms, and many existing reinforcement learning (RL) methods were sample-inefficient. This is a major problem when evaluating a molecule's fitness (e.g., via a biological assay) is computationally or physically expensive. To address this, this paper introduces a standardized suite of 19 benchmarks for de novo molecule design, built as OpenAI Gym environments to foster reproducible research. By applying advanced RL techniques, the authors demonstrate significant performance gains in generating novel, drug-like molecules that satisfy complex multi-objective chemical properties.

Methods

The authors represent molecules using SMILES strings (a line notation for chemical structures) and use a Deep Recurrent Neural Network (LSTM) as the generative engine. The core of the paper explores how to fine-tune these models using different RL strategies:

  • Standard Policy Gradient (REINFORCE): The baseline RL approach.
  • Advantage Actor-Critic (A2C): Uses a "critic" network to reduce variance in reward estimation.
  • Proximal Policy Optimization (PPO): A state-of-the-art RL algorithm that uses a "clipped" objective to prevent the model from making destructively large updates, leading to much faster and more stable convergence.
  • Hillclimb-MLE (HC-MLE): A surprisingly effective formulation where the model samples a batch of molecules, identifies the top-$k$ highest-scoring ones, and then performs standard supervised fine-tuning (Maximum Likelihood Estimation) on those specific "winners."
  • Reinforced GANs: Combining a generator with a discriminator that tries to distinguish "real" from "generated" molecules.

Datasets and Benchmarks

The authors utilized the ChEMBL-23 dataset, a massive collection of real-world bioactive molecules. After rigorous filtering (removing salts, very long sequences, and molecules too similar to the test targets), they arrived at a training set of approximately 1.1 million molecules.

The paper’s major contribution is the release of 19 benchmarks as an OpenAI Gym interface. These include:

  • Single-objective targets: Optimizing for specific values of ClogP (solubility) or Molecular Weight.
  • Multi-objective targets: Balancing Lipinski’s "Rule of Five" (drug-likeness) and specific substructure requirements.
  • Tanimoto similarity: Generating molecules similar to ten specific marketed drugs (e.g., Albuterol, Aripiprazole) without having seen those drugs in the training set.

Key Results and Insights

The base model (trained only on ChEMBL) produced 94.7% valid SMILES and was 99.87% unique, showing that the model learned the "language of chemistry" exceptionally well before RL even started.

When applying RL, several key insights emerged regarding optimization performance and efficiency:

Training curves for various RL algorithms across the 19 benchmarks
  • The "Hillclimb" Surprise: The iterative Hillclimb-MLE approach was the most successful overall. It effectively avoided local minima and was the best at "widely sampling" the chemical space while still optimizing toward a target.
  • PPO for Speed: As seen in the training curves, PPO converged an order of magnitude faster than other standard RL algorithms. This makes it the go-to choice for scenarios where molecule evaluation is time-consuming.
  • GANs are Tricky: The authors found GANs difficult to optimize for chemistry. If the discriminator is too strong, it forces the generator to simply memorize the training data rather than "inventing" new, high-scoring molecules.
  • Temperature Sampling Pitfalls: In natural language, increasing "temperature" makes text more creative. In chemistry, the authors found it often just breaks the "grammar" of the SMILES string, leading to invalid, non-physical molecules.
Performance metrics of different RL algorithms across property, multi-objective, and Tanimoto tasks

In the Tanimoto similarity tasks (the hardest benchmarks), HC-MLE and PPO significantly outperformed the baselines. For example, on the drug Aripiprazole, HC-MLE achieved a mean fitness of 0.51, compared to the baseline's -0.15.

Limitations and Future Work

While the benchmarks are a huge step forward, the authors note that the GAN architecture still needs work to be truly competitive in this domain. Additionally, while PPO is fast, it occasionally gets stuck in less-than-optimal configurations.

The next frontier is integrating these models with even more complex "fitness functions," such as 3D docking simulations or actual laboratory feedback, where the sample efficiency of algorithms like PPO will be even more critical.

Summary updated

BibTeX
@inproceedings{neil2018exploring,
  author = {Daniel Neil and Marwin H. S. Segler and Laura Guasch and Mohamed Ahmed and Dean Plumbley and Matthew Sellwood and Nathan Brown},
  title = {{Exploring Deep Recurrent Models with Reinforcement Learning for Molecule Design}},
  booktitle = {Workshops @ ICLR},
  year = {2018},
}
Figure