MFG: Multi-turn Feedback Guided Molecular Optimization

Trieu Nguyen, Frazier N. Baker, Ruoxi Gao, Daniel Adu-Ampratwum, Xia NingarXiv 2026

TL;DR

MFG (Multi-turn Feedback Guided) is a reinforcement learning framework that trains Large Language Models (LLMs) to optimize molecules through iterative, multi-turn feedback. By explicitly training the model to learn from its own previous attempts, MFG achieves a state-of-the-art 81.50% success rate in balancing complex, competing molecular properties while maintaining structural integrity.

What Problem Does This Paper Address?

In drug discovery, scientists often need to perform Multi-Objective Molecular Optimization (MOMO). The goal is to take a "source" molecule and tweak its structure to improve several properties at once—like increasing solubility while decreasing toxicity—without changing the molecule so much that it loses its original function.

This is notoriously difficult because molecular properties often compete; fixing one might break another. While LLMs have shown promise in "editing" molecules, most current methods are "single-turn," meaning they try to generate the perfect molecule in one shot. Some newer methods use iterative feedback at inference time (asking the LLM to try again based on a score), but these models aren't actually trained to understand that feedback. They rely on general reasoning, which often fails in the complex landscape of chemical space.

Methods

The authors introduce MFG, a framework that treats molecular optimization as a multi-turn dialogue between the LLM and a property evaluator.

  1. Multi-turn Formulation: Instead of one-and-done, the LLM generates a molecule $C_t$ at each turn $t$. It receives a feedback vector that captures how much each property improved and how similar the new molecule is to the original.
  2. Reinforcement Learning (RL): The authors use Group-Relative Policy Optimization (GRPO) to train the model. During training, the model generates multiple candidates, and the RL algorithm updates the model's weights based on which candidates performed best relative to the group.
  3. Feedback-Aligned Reward Function: The reward function is specifically designed for MOMO. It prioritizes structural similarity as a prerequisite; if a molecule is too different from the source, it gets a heavy penalty. If it passes the similarity threshold, it receives rewards for improving properties and a "bonus" for improving all target properties simultaneously.
  4. Progressive Improvement: A key component is the $R_{best}$ reward, which specifically incentivizes the model to generate a molecule that is better than the best one found in previous turns.
Figure 1: Overall figure of Multi-turn Feedback Guided (MFG) MOMO.

Datasets

The framework was evaluated using the MuMOInstruct benchmark.

  • Properties: The tasks involved optimizing six target properties: blood-brain barrier permeability (B), dopamine receptor D2 binding affinity (D), human intestinal absorption (H), mutagenicity (M), lipophilicity (P), and drug-likeness (Q).
  • Tasks: The evaluation included 10 tasks in total—5 In-Distribution (IND) tasks (combinations of properties seen during training) and 5 Out-of-Distribution (OOD) tasks to test the model's ability to generalize to unseen property combinations.

Key Insights and Ideas

  • Training > Prompting: The biggest "aha" moment is that simply giving an LLM feedback at inference time isn't enough. Models trained with MFG showed significantly higher gains when moving from single-turn to multi-turn settings compared to models that were just "prompted" with feedback.
  • Similarity as a Constraint, Not a Goal: By treating structural similarity as a hard threshold in the reward function, the model learns that "cheating" (improving properties by completely changing the molecule) is not an option.
  • Strategic Adaptation: The model learns to prioritize. In early turns, it might focus on fixing easy properties like lipophilicity, and then use the feedback to pivot toward harder targets like binding affinity in later turns.
A case study showing the model improving B, P, and Q in the first turn, then successfully shifting focus to improve D in the second turn based on feedback.

Key Results

The authors applied MFG to GeLLM³O, a state-of-the-art molecular LLM. The resulting model, GeLLM³O-MFG, outperformed all baselines:

  • Success Rate: Achieved an average similarity-constrained success rate of 81.50%, significantly higher than the base GeLLM³O (70.81%) and the strong BioMedGPT-Mol baseline (77.81%).
  • Relative Improvement (RI): It achieved a higher RI (2.63) than the best baseline (2.08), meaning the property improvements were more substantial.
  • Generalization: The model maintained its lead even on OOD tasks, proving that the multi-turn strategy is a robust way to handle novel chemical challenges.

Limitations and Future Work

  • Oracle Dependence: The system relies on "property oracles" (computational simulations) to provide feedback. If these simulations are inaccurate, the model will learn the wrong lessons. The authors note that these results haven't been experimentally validated in a wet lab yet.
  • Reference Molecules: The current training requires "reference optimized molecules" to normalize rewards, which might limit its use on datasets where such references don't exist.
  • Safety: While the model optimizes for drug-likeness, the authors emphasize that any AI-generated molecule must undergo rigorous safety evaluations by human chemists before synthesis, as the model could theoretically generate unsafe compounds that happen to score well on specific property metrics.

Summary updated

BibTeX
@misc{nguyen2026mfg,
  author = {Trieu Nguyen and Frazier N. Baker and Ruoxi Gao and Daniel Adu-Ampratwum and Xia Ning},
  title = {{MFG: Multi-turn Feedback Guided Molecular Optimization}},
  year = {2026},
  eprint = {2610.18851},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.18851},
}
Figure