Molecule Optimization via Fragment-based Generative Models

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

Abstract

Molecule optimization is a critical step in drug development to improve desired properties of drug candidates through chemical modification. We developed a novel deep generative model, Modof, over molecular graphs for molecule optimization. Modof modifies a given molecule through the prediction of a single site of disconnection and the removal and/or addition of fragments at that site. A pipeline of multiple, identical Modof models, Modof-pipe, allows for modification at multiple disconnection sites. Modof-pipe retains major molecular scaffolds, enables control over intermediate optimization steps, and better constrains molecule similarities. It outperforms state-of-the-art methods on benchmark datasets, achieving up to 121% improvement in property scores over baselines while using significantly fewer parameters.

Introduction

In drug discovery, "lead optimization" involves tweaking a promising molecule to enhance its properties—such as solubility or target specificity—without compromising the core structure that ensures its biological activity. Traditional computational (in silico) methods often struggle with this balance. Many deep learning models generate entirely new molecular graphs from scratch, which frequently destroys the "scaffold"—the basic framework—of the original candidate. This makes the results less practical for medicinal chemists who require a specific molecular backbone. The challenge lies in creating a "scaffold-aware" model that modifies only necessary components to improve the molecule.

Methods: The Modof Architecture

Modof is designed as a Variational Autoencoder (VAE) that encodes the difference between a "bad" molecule and a "good" one, rather than mapping the entire molecule to a latent space.

Encoder and Decoder

The Encoder utilizes Graph Message Passing Networks (GMPN) and Tree Message Passing Networks (TMPN) to represent the molecule as a junction tree of chemical substructures. It specifically identifies the "disconnection site" where the input and target molecules differ.

The Decoder operates through a four-step pipeline:

  1. Disconnection Site Prediction (DSP): Identifies the specific bond to be broken.
  2. Removal Fragment Prediction (RFP): Determines which fragment to remove.
  3. Intermediate Representation (IMR): Maintains the remaining scaffold.
  4. New Fragment Attachment (NFA): Iteratively predicts and attaches a new, optimized fragment to the scaffold.
The Modof architecture featuring the Molecule Difference Encoder and Decoder.

Modof-pipe

Because a single Modof model modifies only one fragment, the authors developed Modof-pipe, which chains multiple models sequentially. This allows for the optimization of multiple sites iteratively, providing a clear "audit trail" of how the molecule evolved at each step.

Results and Discussion

The model was trained on a filtered subset of the ZINC database (55,686 pairs) and evaluated against top-tier baselines including JT-VAE, GCPN, and HierG2G.

Performance and Efficiency

Modof-pipe demonstrated superior performance across several metrics:

  • Unconstrained Optimization: Achieved a 121% improvement in penalized logP (plogP) scores over the best baseline (GCPN).
  • Constrained Optimization: Under moderate similarity constraints ($δ=0.4$), it outperformed the state-of-the-art by 10.6%.
  • Parameter Efficiency: Modof is remarkably lightweight, utilizing at least 83% fewer parameters than models like JTNN or HierG2G.

Interpretability and Iterative Gains

The pipeline approach makes the optimization process "human-readable," allowing chemists to observe specific fragment changes at each iteration. As shown in the iterative results, property improvements continue through multiple steps, though the marginal utility typically decreases as the molecule approaches an optimal state.

Iterative optimization examples showing progressive improvement in molecular properties across multiple steps.

Conclusion

Modof represents a significant advancement in scaffold-aware molecule optimization. By focusing on fragment-based transformations rather than whole-graph generation, it better mimics real-world medicinal chemistry. While currently biased toward modifying the molecular periphery, future work aims to address internal core modifications and multi-objective optimization (e.g., balancing potency against toxicity).

Summary updated

BibTeX
@inproceedings{chen2021molecule,
  author = {Ziqi Chen and Martin Renqiang Min and Srinivasan Parthasarathy and Xia Ning},
  title = {{Molecule Optimization via Fragment-based Generative Models}},
  booktitle = {Nat. Mach. Intell},
  year = {2021},
  url = {https://openreview.net/forum?id=7KaXZ1RcWK},
}
Figure