Retrieval-Augmented Foundation Models for Matched Molecular Pair Transformations to Recapitulate Medicinal Chemistry Intuition
Organizations: Department of Computer Science, Emory University, Atlanta, GA, USA · Merck & Co., Inc., Rahway, NJ, USA
Abstract
Matched molecular pairs (MMPs) capture the local chemical edits that medicinal chemists routinely use to design analogs, but existing ML approaches either operate at the whole-molecule level with limited edit controllability or learn MMP-style edits from restricted settings and small models. We propose a variable-to-variable formulation of analog generation and train a foundation model on large-scale MMP transformations (MMPTs) to generate diverse variables conditioned on an input variable. To enable practical control, we develop prompting mechanisms that let the users specify preferred transformation patterns during generation. We further introduce MMPT-RAG, a retrieval-augmented framework that uses external reference analogs as contextual guidance to steer generation and generalize from project-specific series. Experiments on general chemical corpora and patent-specific datasets demonstrate improved diversity, novelty, and controllability, and show that our method recovers realistic analog structures in practical discovery scenarios.
Figures & tables
| Beam | 400 | 600 | 800 | 1000 | 1200 |
|---|---|---|---|---|---|
| Avg Validity | 0.9992 | 0.9991 | 0.9989 | 0.9988 | 0.9986 |
| ChEMBL | PMV17 | |||||
|---|---|---|---|---|---|---|
| Valid (%) | Recall (%) | #Uniq | Valid (%) | Recall (%) | #Uniq | |
| 1 | 100.0 | 58.0 | 1.00 | 98.0 | 46.0 | 0.98 |
| 10 | 86.0 | 96.0 | 8.60 | 79.2 | 90.0 | 7.92 |
| 20 | 74.1 | 100.0 | 14.82 | 62.9 | 96.0 | 12.58 |
| 50 | 48.0 | 100.0 | 24.00 | 39.24 | 98.0 | 19.62 |
| 100 | 31.7 | 100.0 | 31.70 | 24.84 | 98.0 | 24.84 |
Molecular Generation
Molecular generation develops computational methods to create chemical structures and conformations for discovery, optimization, and structure elucidation.
See all 234 papers