CORE: Automatic Molecule Optimization Using Copy & Refine Strategy

Tianfan Fu, Cao Xiao, Jimeng Sun

Abstract

Molecule optimization aims to refine drug candidates by improving specific properties while maintaining structural integrity. Current generative models often struggle with the vast and imbalanced vocabulary of molecular substructures, leading to poor performance on rare components. We introduce CORE (Copy & Refine), a graph-to-graph generative model that explicitly decides whether to copy a substructure from the input molecule or generate a novel one. This approach mimics the "lead optimization" process used by medicinal chemists. Our results show that CORE significantly outperforms existing baselines, particularly on molecules containing infrequent substructures, achieving up to a 21% relative improvement in success rates.

Introduction

In drug discovery, lead optimization is the iterative process of modifying a promising chemical compound to enhance its biological activity, drug-likeness, or solubility. While machine learning has framed this as a graph-to-graph translation task, existing models often fail to accurately predict rare substructures. The vocabulary of chemical pieces is immense (often exceeding 800 unique substructures), and standard decoders tend to over-index on common components.

Analysis of paired molecular datasets reveals two core principles: the Stable principle, where approximately 80% of substructures remain unchanged, and the Novelty principle, where most optimized molecules contain at least one new substructure. CORE is designed to leverage these principles by incorporating an explicit copying mechanism.

Methodology

The CORE framework consists of three main components:

  1. Graph and Tree Encoding: The input molecule is represented as both a molecular graph (atoms/bonds) and a scaffolding tree (substructures). These are processed using Message Passing Networks (MPNs) to capture both local and global structural information.
  2. Copy & Refine Decoder: Inspired by Pointer Networks in NLP, the decoder employs a hybrid strategy. At each generation step, a neural network calculates a probability weight ($w^{OOI}$) to decide between copying an existing substructure or refining the graph with a novel one.
  3. Adversarial Training: A discriminator network is used to distinguish between real and generated optimized molecules, encouraging the generator to produce chemically realistic structures.
The CORE architecture overview, illustrating the dual encoding process and the hybrid Copy & Refine decoding strategy.

Experimental Setup

CORE was evaluated using the ZINC database, focusing on three optimization targets: biological activity (DRD2), drug-likeness (QED), and solubility (Penalized LogP). To rigorously test the model's ability to handle rare structures, the authors created a specific "infrequent substructure" test subset, containing molecules with components appearing fewer than 2,000 times in the training data.

Key Insights: The Rare-Item Bottleneck

A critical finding of this work is that while predicting molecular topology is relatively straightforward for AI models, selecting the correct substructure from a long-tailed distribution is the primary source of error. Standard softmax decoders struggle with imbalanced vocabularies, making explicit copying mechanisms essential for preserving structural diversity.

Frequency distribution of substructures in the DRD2 and QED training sets, highlighting the long-tail nature of chemical vocabularies.

Results

CORE demonstrated superior performance across all benchmarks:

  • General Performance: CORE achieved a relative improvement of over 10% in Success Rate (SR) for QED and DRD2 tasks compared to state-of-the-art baselines like JTVAE and GCPN.
  • Rare Substructure Performance: The model's advantage was most pronounced on the infrequent substructure subset, with relative SR improvements of 21% for QED and 18% for DRD2. This confirms that the Copy & Refine strategy effectively bypasses the difficulty of generating rare chemical components from scratch.

Conclusion

By integrating a pointer-based copying mechanism into a graph-to-graph translation framework, CORE aligns machine learning models more closely with the practical realities of drug design. While currently limited to 2D representations, the success of the Copy & Refine strategy suggests it could be a vital component of future 3D molecular generation and optimization systems.

Summary updated

BibTeX
@inproceedings{fu2020core,
  author = {Tianfan Fu and Cao Xiao and Jimeng Sun},
  title = {{CORE: Automatic Molecule Optimization Using Copy \& Refine Strategy}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i01.5404},
}
Figure