MIMOSA: Multi-constraint Molecule Sampling for Molecule Optimization
Tianfan Fu, Cao Xiao, Xinhao Li, Lucas M. Glass, Jimeng Sun
TL;DR
MIMOSA reframes molecule optimization as sampling from a target distribution that jointly encodes similarity to an input molecule and multiple drug-property constraints. It pretrains two GNNs to guide substructure edits (add, replace, delete) and uses an MCMC-based Gibbs sampler to select promising candidates, ensuring unbiased, ergodic sampling. The method achieves substantial performance gains over baselines in multi-property and single-property settings, while maintaining molecular validity and scaffold similarity; it also demonstrates reasonable computational efficiency (~10–20 minutes per molecule). The approach provides a flexible, theoretically grounded framework for multi-constraint molecule optimization with open-source implementation available.
Abstract
Molecule optimization is a fundamental task for accelerating drug discovery, with the goal of generating new valid molecules that maximize multiple drug properties while maintaining similarity to the input molecule. Existing generative models and reinforcement learning approaches made initial success, but still face difficulties in simultaneously optimizing multiple drug properties. To address such challenges, we propose the MultI-constraint MOlecule SAmpling (MIMOSA) approach, a sampling framework to use input molecule as an initial guess and sample molecules from the target distribution. MIMOSA first pretrains two property agnostic graph neural networks (GNNs) for molecule topology and substructure-type prediction, where a substructure can be either atom or single ring. For each iteration, MIMOSA uses the GNNs' prediction and employs three basic substructure operations (add, replace, delete) to generate new molecules and associated weights. The weights can encode multiple constraints including similarity and drug property constraints, upon which we select promising molecules for next iteration. MIMOSA enables flexible encoding of multiple property- and similarity-constraints and can efficiently generate new molecules that satisfy various property constraints and achieved up to 49.6% relative improvement over the best baseline in terms of success rate. The code repository (including readme file, data preprocessing and model construction, evaluation) is available https://github.com/futianfan/MIMOSA.
