Reference-guided Policy Optimization for Molecular Optimization via LLM Reasoning

Xuan Li, Zhanke Zhou, Zongze Li, Jiangchao Yao, Yu Rong +2 more
3/6/2026
9 citations
cs.LGcs.AI
rlrlhf-rlvr-dpo

Official code: tmlr-group/RePO (13 stars, Python, last commit 2026-03-19). 1 more implementation below.

Abstract

Large language models (LLMs) benefit substantially from supervised fine-tuning (SFT) and reinforcement learning with verifiable rewards (RLVR) in reasoning tasks. However, these recipes perform poorly in instruction-based molecular optimization, where each data point typically provides only a single optimized reference molecule and no step-by-step optimization trajectory.

Show full abstract

We reveal that answer-only SFT on the reference molecules collapses reasoning, and RLVR provides sparse feedback under similarity constraints due to the model's lack of effective exploration, which slows learning and limits optimization. To encourage the exploration of new molecules while balancing the exploitation of the reference molecules, we introduce Reference-guided Policy Optimization (RePO), an optimization approach that learns from reference molecules without requiring trajectory data. At each update, RePO samples candidate molecules with their intermediate reasoning trajectories from the model and trains the model using verifiable rewards that measure property satisfaction under similarity constraints in an RL manner. Meanwhile, it applies reference guidance by keeping the policy's intermediate reasoning trajectory as context and training only the answer in a supervised manner. Together, the RL term promotes exploration, while the guidance term mitigates reward sparsity and stabilizes training by grounding outputs to references when many valid molecular edits exist. Across molecular optimization benchmarks, RePO consistently outperforms SFT and RLVR baselines (e.g., GRPO), achieving improvements on the optimization metric (Success Rate $\times$ Similarity), improving balance across competing objectives, and generalizing better to unseen instruction styles. Our code is publicly available at https://github.com/tmlr-group/RePO.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
tmlr-group/RePOOfficial13Python–2026-03-19
XuanLi728/RePOCommunity3––2026-03-18
tmlr-group/RePOOfficial100%

[ICLR 2026] "Reference-guided Policy Optimization for Molecular Optimization via LLM Reasoning"

133Python, ShellMar 2, 20268 months ago
XuanLi728/RePOCommunity73%

[ICLR 2026] “Reference-guided Policy Optimization for Molecular Optimization via LLM Reasoning”

30Feb 14, 20268 months ago

Similar Papers

Cite this paper

@article{li2026referenceguided,
  title  = {Reference-guided Policy Optimization for Molecular Optimization via LLM Reasoning},
  author = {Xuan Li and Zhanke Zhou and Zongze Li and Jiangchao Yao and Yu Rong and Lu Zhang and Bo Han},
  year   = {2026},
  eprint = {2603.05900},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.05900v1},
  journal = {ICLR 2026 2026}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.05900.svg)](https://codeofpaper.com/paper/2603.05900)

Discussion