ReMedI: Inference-Time Refinement and Self-Distillation for Controllable Molecular Optimization
Organizations: University of Illinois Urbana-Champaign
Abstract
In drug development, lead optimization must improve competing properties, such as increasing permeability and reducing toxicity, while limiting scaffold changes that could compromise the lead's potency. RL-based post-training, such as C-MORAL, addresses this problem by fine-tuning molecular language models to directly optimize molecular leads for objectives of interest, which relies on expensive task-specific datasets and faces challenges in achieving multi-objective optimization (MOO). We argue a pre-trained model may already contain useful molecular edits that zero-shot generation cannot efficiently reach. Motivated by the limited search capabilities of zero-shot generation, we develop an efficient Metropolis-Hastings search strategy to better explore the proposal distribution. We propose ReMedI, which uses the molecular language model as a base proposer for inference-time alignment. Given a lead and a set of multi-objective tasks, the model proposes edits conditioned on the current molecule, while Metropolis--Hastings refinement guides sequential edits under an objective for property improvement, preservation, and lead similarity. On both C-MuMOInstruct and SMDD benchmarks, refinement improves frozen base models across three backbones, reaching significantly higher multi-objective optimization success rates compared to baselines. These search traces can then distilled into the base model which improves zero-shot generation and subsequent search using approximately 7.8 times less training molecular leads than that of C-MORAL. ReMedI achieves approximately 2.8 times the strict-success coverage of RL baseline C-MORAL, including on out-of-distribution tasks, with matched lead-relative similarity.
Figures & tables
| Backbone | Metric | Split | C-MORAL | -base | -MH | -base | -MH |
|---|---|---|---|---|---|---|---|
| GeLLMO-Llama | SOR | IND | 0.296 | 0.368 | 0.630 | 0.486 | 0.696 |
| OOD | 0.316 | 0.305 | 0.506 | 0.390 | 0.548 | ||
| SSOR | IND | 0.054 | 0.074 | 0.170 | 0.130 | 0.244 | |
| OOD | 0.186 | 0.163 | 0.251 | 0.230 | 0.286 | ||
| GeLLMO-Mistral | SOR | IND | 0.530 | 0.354 | 0.590 | 0.472 | 0.706 |
| OOD | 0.390 | 0.271 | 0.467 | 0.332 | 0.552 |
| Backbone | SOR | Sim | CLR | |||
|---|---|---|---|---|---|---|
| Ours | C-MORAL | Ours | C-MORAL | Ours | C-MORAL | |
| GeLLMO-Llama | 0.764 | 0.580 | 0.633 | 0.707 | 0.764 | 0.583 |
| GeLLMO-Mistral | 0.771 | 0.640 | 0.663 | 0.737 | 0.792 | 0.681 |
| mCLM-4B | 0.796 | 0.506 | 0.316 | 0.361 | 0.806 | 0.576 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Backbone | Metric | Split | C-MORAL | -base | -MH | -base | -MH |
|---|---|---|---|---|---|---|---|
| GeLLMO-Llama | SOR | IND | 0.320 | 0.340 | 0.632 | 0.532 | 0.756 |
| OOD | 0.290 | 0.300 | 0.448 | 0.424 | 0.524 | ||
| SSOR | IND | 0.030 | 0.092 | 0.200 | 0.140 | 0.264 | |
| OOD | 0.140 | 0.180 | 0.276 | 0.240 | 0.332 | ||
| RI (diag.) | IND | 0.61 | 0.23 | 0.64 | 0.49 | 1.14 | |
| OOD | 0.52 | 0.31 | 0.51 | 0.49 | 0.67 |
| Chains steps | SOR | SSOR | Sim |
|---|---|---|---|
| 0.440 | 0.070 | 0.463 | |
| 0.500 | 0.100 | 0.422 | |
| 0.560 | 0.125 | 0.372 | |
| 0.550 | 0.140 | 0.343 |
Molecular Optimization
Molecular optimization computationally designs or edits chemical structures to improve desired properties while respecting chemical and practical constraints.
See all 103 papers