cs.LGFeb 18, 2026

Retrieval-Augmented Foundation Models for Matched Molecular Pair Transformations to Recapitulate Medicinal Chemistry Intuition

Authors: Bo Pan, Peter Zhiping Zhang, Hao-Wei Pang, Alex Zhu, Xiang Yu, Liying Zhang, Liang Zhao

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

Explore similar work

CardsList
  1. PairIT: Autoregressive Transformers for Low-Data Molecule Optimization

    Oct 13, 2026Hannah Lawrence, Bodhi P. Vani, Ji Won Park +5Autoregressive TransformerMolecular Optimization

  2. MolRGen: A Training and Evaluation Setting for De Novo Molecular Generation with Reasonning Models

    Mar 18, 2026Philippe Formont, Maxime Darrin, Ismail Ben Ayed +1Molecular GenerationMolecule Design

  3. Controllable Molecular Generative Foundation Models

    May 14, 2026Yihan Zhu, Yuhan Liu, Weijiang Li +2RL for Diffusion ModelsMolecular Graph Generation