Skip to main content
QUICK REVIEW

[Paper Review] Retrieval-Augmented Foundation Models for Matched Molecular Pair Transformations to Recapitulate Medicinal Chemistry Intuition

Bo Pan, Peter Zhiping Zhang|arXiv (Cornell University)|Feb 18, 2026
Computational Drug Discovery MethodsComputer Science0 citations
TL;DR

The paper introduces MMPT-FM, a foundation model for variable-to-variable matched molecular pair transformations, and MMPT-RAG, a retrieval-augmented approach that improves controllability, novelty, and recall in MMPT-based analog design.

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.

Motivation & Objective

  • Formalize analog design as context-independent local edits using MMPTs (vA -> vB).
  • Train a large-scale MMPT foundation model to learn transformation priors from drug-like chemistry data.
  • Enable user-controlled generation through structural templating prompts.
  • Introduce MMPT-RAG to steer generation with retrieved reference analogs and cluster-guided templates.
  • Demonstrate improved recall, novelty, and plausibility across in-distribution and patent-based analog-generation tasks.

Proposed method

  • Represent MMPTs as SMARTS-based variable-to-variable sequences and train a sequence-to-sequence encoder-decoder on ~0.8M MMPTs extracted from ChEMBL via MMPDB.
  • Initialize from a chemistry-focused pretrained model (T5Chem) to preserve chemical semantics.
  • Implement prompted generation with masked infilling where users provide partial structural constraints T to obtain vB.
  • Develop MMPT-RAG: retrieve similar vA from a reference MMPT dataset, cluster corresponding vB, extract MCS-based templates Tk, and generate conditioned on multiple cluster templates.
  • Theoretical analysis showing MMPT-RAG performs a convex distribution shift between the base model and a reference distribution, governed by an adaptive alpha parameter.
  • Provide three evaluation tasks (in-distribution, within-patent, cross-patent) to assess recall, novelty, and validity across diverse settings.
Figure 1 . An example of (a) Matched Molecular Pairs (MMP); (b) Matched Molecular Pair Transformation (MMPT) and its textual representation.
Figure 1 . An example of (a) Matched Molecular Pairs (MMP); (b) Matched Molecular Pair Transformation (MMPT) and its textual representation.

Experimental results

Research questions

  • RQ1Can MMPTs capture transferable, context-independent local edits in medicinal chemistry?
  • RQ2How well can a foundation model learn MMPT priors from large-scale data and generate valid, novel, and transferable substitutions?
  • RQ3Does prompting enable controllable, structure-guided MMPT generation without retraining?
  • RQ4Can retrieval augmentation steer MMPT generation toward project-specific patterns and rare but meaningful transformations?
  • RQ5How does MMPT-RAG perform in in-distribution, within-patent, and cross-patent analog-generation tasks compared to baselines?

Key findings

  • MMPT-FM achieves substantially higher recall of ground-truth transformations than baselines in all tasks.
  • MMPT-RAG further improves recall and achieves the highest novelty among methods on Task 1 (ChEMBL).
  • In patent-based tasks, MMPT-FM and MMPT-RAG show strong in-training-set recall and meaningful out-of-training-set recall, indicating generalization to unseen transformations.
  • Retrieval augmentation steers generation toward underrepresented but chemically meaningful transformations, improving coverage of chemical space.
  • Prompted generation with structural templates enables near-perfect GT recovery at higher candidate counts and maintains high validity.
  • Visualization indicates MMPT-RAG expands chemical space coverage beyond the base model in PMV17, aligning generations with reference distributions.
Figure 2 . Overview of the proposed MMPT framework. (a) The foundation model (MMPT-FM) is trained on large-scale MMPT data. (b) MMPT-FM supports controllable generation via masked template prompting. (c) MMPT-RAG augments generation with retrieval, clustering, and MCS-based template extraction to gu
Figure 2 . Overview of the proposed MMPT framework. (a) The foundation model (MMPT-FM) is trained on large-scale MMPT data. (b) MMPT-FM supports controllable generation via masked template prompting. (c) MMPT-RAG augments generation with retrieval, clustering, and MCS-based template extraction to gu

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.