A deep generative model for molecule optimization via one fragment modification

Ziqi Chen, Martin Renqiang Min, Srinivasan Parthasarathy, Xia Ning

Abstract

To improve desired properties of drugs or other molecules, deep learning can be used to guide the optimization process. Chen et al. present a method that optimizes molecules one fragment at a time and requires fewer parameters and training data while still improving optimization performance.

Introduction

Molecule optimization is a cornerstone of drug discovery, where researchers tweak a "lead" compound to improve its properties—such as solubility or binding affinity—while maintaining its core structure. Traditional deep learning approaches often treat this as a "from-scratch" generation problem or a full-graph translation task. These methods frequently suffer from scaffold loss, where the generated molecule loses the essential core of the starting point, and high computational complexity due to the need to encode and decode entire molecular graphs.

The authors introduce Modof (Modifier with one fragment), a deep generative model that mimics the in vitro process by making precise, local modifications to specific sites. By learning the "difference" between molecule pairs and applying modifications iteratively through a pipeline (Modof-pipe), the model achieves state-of-the-art results in property improvement while better preserving the original molecular scaffold.

Methods

The core innovation of Modof is a Variational Autoencoder (VAE) architecture that operates on molecular graphs and their "junction tree" representations. Instead of encoding the whole molecule, Modof encodes the difference between a starting molecule ($M_x$) and an optimized version ($M_y$), mapping these differences into a latent space.

The Modof architecture, featuring the Molecule Difference Encoder and the four-step Molecule Difference Decoder.

The decoding process follows a four-step pipeline:

  1. Disconnection Site Prediction (DSP): Identifies where to cut the molecule.
  2. Removal Fragment Prediction (RFP): Decides which existing fragment to discard.
  3. Intermediate Representation (IMR): Forms the "scaffold" that remains.
  4. New Fragment Attachment (NFA): Predicts and attaches a new fragment to the site.

To enable multi-site optimization, the authors propose Modof-pipe, which chains multiple identical Modof models. This allows for iterative optimization where each step is controllable and interpretable. The architecture utilizes Graph Message Passing Networks (GMPN) for atom-level features and Tree Message Passing Networks (TMPN) for substructure-level features.

Results and Discussion

The model was evaluated using the ZINC dataset for optimizing penalized octanol-water partition coefficient (plogP) and the ChEMBL dataset for binding affinity (DRD2) and drug-likeness (QED). Modof uses 40% fewer parameters and 26% less training data than state-of-the-art (SOTA) models while achieving superior results.

Iterative molecule optimization using Modof-pipe across various property targets.

On the plogP benchmark without similarity constraints, Modof-pipe achieved an 81.2% improvement over the best baseline (GCPN). Even with strict similarity constraints (Tanimoto similarity $\geq 0.6$), it showed a 9.2% improvement over SOTA. In multi-property optimization tasks (DRD2 and QED), the enhanced version, Modof-pipem, consistently achieved the highest success rates, often outperforming baselines by double-digit percentages.

Conclusion

Modof offers a more efficient and interpretable approach to molecule optimization by focusing on local modifications. While the current model uses a greedy optimization strategy and shows some bias toward peripheral modifications, it represents a significant step toward mimicking medicinal chemistry logic in deep learning. Future work will focus on handling internal ring modifications and validating generated compounds through in vitro testing.

Summary updated

BibTeX
@inproceedings{chen2021deep,
  author = {Ziqi Chen and Martin Renqiang Min and Srinivasan Parthasarathy and Xia Ning},
  title = {{A deep generative model for molecule optimization via one fragment modification}},
  booktitle = {Nat. Mach. Intell},
  year = {2021},
  url = {https://openreview.net/forum?id=7KaXZ1RcWK},
}
Figure