Active-GRPO: Adaptive Imitation and Self-Improving Reasoning for Molecular Optimization

TL;DR

Active-GRPO combines active imitate-reinforce and dynamic referencing, boosting SR×Sim from 0.0959 to 0.1773 in molecular optimization.

cs.LG 🔴 Advanced 2026-07-01 43 views
Xuefeng Liu Mingxuan Cao Qinan Huang Thomas Brettin Rick Stevens Le Cong
machine learning reinforcement learning molecular optimization policy optimization active learning

Key Findings

Methodology

Active-GRPO introduces two coupled mechanisms: (1) active imitate-reinforce, which adaptively blends imitation and reinforcement based on relative performance; (2) active referencing, which replaces static references with the best policy-generated molecules stored in a memory bank. The approach dynamically adjusts imitation strength via a guidance weight β_{guide} based on top-k reward comparisons, and updates reference targets by replacing them with higher-reward molecules. Built upon the PPO variant GRPO, it incorporates reward normalization and KL penalties to stabilize training, enabling robust, adaptive optimization across varying reference qualities.

Key Results

  • On TOMG-Bench MOLOPT, Active-GRPO achieved an average SR×Sim of 0.1773, outperforming RePO (0.1665) and GRPO (0.0959). It showed statistically significant improvements across LogP, MR, and QED metrics, especially in high-headroom instances. Ablation studies confirmed that both active mechanisms are necessary for optimal performance, with the full model consistently surpassing variants. The method demonstrated robustness in diverse reference quality regimes, maintaining high success rates while balancing property improvements.

Significance

This work addresses the fundamental challenge of static reference limitations in molecular optimization, offering an adaptive, self-improving framework that enhances robustness and efficiency. It advances the field of scientific reasoning with large models, enabling more reliable and effective exploration of complex chemical spaces. The approach has broad implications for drug discovery, materials science, and automated scientific discovery, where multi-objective, constrained optimization is critical. By overcoming the performance ceiling imposed by fixed references, Active-GRPO paves the way for more autonomous and intelligent molecular design systems.

Technical Contribution

The key technical innovation lies in integrating a dynamic, context-dependent guidance weight with a memory bank that stores and upgrades the best generated molecules. This allows the policy to decide when to imitate a reference and when to reinforce its own discoveries, effectively balancing exploration and exploitation. The method extends PPO-based algorithms with reward normalization and reference replacement strategies, providing theoretical robustness against reference quality issues. Empirically, it demonstrates superior performance over static-reference baselines, with improved stability and generalization in multi-objective settings.

Novelty

This is the first approach to embed active, instance-wise decision-making into reference-guided molecular optimization, moving beyond static, dataset-fixed references. It introduces a dual mechanism: adaptive imitation control via a guidance weight, and reference updating through a memory bank, enabling the model to learn beyond the initial dataset constraints. This innovation significantly enhances the model’s ability to discover superior molecules in complex, noisy, or low-quality reference scenarios, setting a new paradigm for adaptive scientific reasoning.

Limitations

  • The approach relies on maintaining and updating a memory bank, which can be computationally intensive in large chemical spaces. Future work should explore more scalable memory management strategies.
  • Parameter sensitivity, especially in guidance weight and reference replacement thresholds, may affect performance across tasks, requiring careful tuning.
  • Current experiments focus on specific property objectives; extending to more diverse or real-world tasks may reveal additional challenges.

Future Work

Future directions include integrating multi-modal data (e.g., 3D structures, synthesis pathways), developing more scalable memory mechanisms, and exploring transfer learning for broader applicability. Additionally, incorporating uncertainty estimation and active exploration strategies could further improve robustness and efficiency in real-world applications.

AI Executive Summary

The ability of large language models to perform scientific reasoning has seen rapid progress, yet training such models to reason robustly and efficiently remains a significant challenge. Traditional supervised fine-tuning (SFT) often collapses multi-step reasoning processes, while reinforcement learning with sparse rewards (RLVR) struggles with limited feedback signals. Reference-guided policy optimization (RePO) mitigates these issues by anchoring policy updates to dataset-provided references, blending imitation and reward signals. However, RePO’s effectiveness is limited by the static quality of references; weak or misaligned references impose a performance ceiling, preventing the model from surpassing certain optimization thresholds.

To address this, the authors propose Active-GRPO, a novel framework that introduces active decision-making into the training process. It dynamically determines when to imitate the reference and when to reinforce its own discoveries, based on real-time performance comparisons. Additionally, it continuously upgrades the reference itself by replacing it with the best molecule generated so far, ensuring guidance remains informative rather than restrictive. This approach effectively breaks the static reference ceiling, enabling the model to learn beyond the initial dataset constraints.

Empirical results on TOMG-Bench MOLOPT demonstrate that Active-GRPO achieves a significant improvement in SR×Sim, reaching 0.1773 compared to 0.1665 for RePO and 0.0959 for GRPO. The method shows statistically significant gains across multiple property objectives, especially in high-optimization-headroom scenarios. Ablation studies confirm that both active mechanisms—imitation-reinforce and reference updating—are essential for optimal performance, and their combination yields the best results. The framework exhibits strong robustness across varying reference qualities and optimization potentials, making it a promising step toward autonomous, adaptive scientific reasoning systems.

While the approach advances molecular optimization, challenges remain in scaling to larger chemical spaces and reducing computational costs. Future work aims to incorporate multi-modal data, improve memory management, and extend the framework’s applicability to broader scientific domains. Overall, Active-GRPO represents a significant leap in adaptive, self-improving reasoning models, with broad implications for drug discovery, materials science, and automated scientific research.

Deep Analysis

Background

Recent developments in large language models (LLMs) have demonstrated their potential in multi-step reasoning tasks, including mathematics, coding, and scientific analysis. Techniques such as chain-of-thought prompting, supervised fine-tuning on reasoning traces, and reinforcement learning with verifiable rewards have been employed to enhance reasoning capabilities. In scientific domains like chemistry and biology, LLMs are increasingly used for hypothesis generation, experimental design, and candidate screening. However, these tasks involve complex, constrained, multi-objective reasoning over structured chemical representations, which pose significant challenges. Existing training paradigms, including answer-only supervised fine-tuning and reward-based methods, often suffer from issues like reasoning collapse and sparse feedback, limiting their effectiveness. Reference-guided policy optimization (RePO) was introduced to address these issues by anchoring policy updates to dataset references, blending imitation and reward signals. Nonetheless, RePO’s reliance on static references makes it vulnerable to reference quality issues, creating performance ceilings that hinder further progress. This context motivates the development of more adaptive, self-improving training frameworks capable of overcoming the limitations of fixed references and sparse rewards.

Core Problem

The core challenge in instruction-conditioned molecular optimization is achieving robust, multi-objective reasoning that can adapt to varying reference quality and optimization potential. Traditional methods like supervised fine-tuning lack explicit reasoning and generalization, while reinforcement learning faces sparse reward problems, especially under strict similarity constraints. RePO mitigates some issues but is fundamentally limited by its static references, which can become stale or misaligned, capping the model’s performance. This static reference ceiling prevents models from surpassing the initial dataset’s quality, especially when references are noisy or suboptimal. The key problem is designing a training paradigm that dynamically adjusts its guidance based on the model’s evolving capabilities, allowing it to learn beyond the initial references and adapt to the quality and potential of each instance. Addressing this problem is crucial for advancing autonomous scientific reasoning and molecular design, enabling models to explore larger chemical spaces more effectively and efficiently.

Innovation

The main innovation is the introduction of Active-GRPO, which embeds active decision-making into reference-guided policy optimization. It features two core mechanisms: (1) active imitate-reinforce, which adaptively blends imitation and reinforcement learning based on relative performance, allowing the model to decide when to imitate a reference and when to reinforce its own discoveries; (2) active referencing, which maintains a memory bank of the best generated molecules and replaces the static reference with the top-performing candidate, effectively upgrading the guidance target. This approach enables the model to break performance ceilings imposed by static references, adapt to varying reference quality, and learn beyond initial dataset constraints. The method extends PPO variants with reward normalization, KL penalties, and dynamic guidance weights, providing theoretical robustness and practical effectiveness for multi-objective molecular optimization.

Methodology

  • �� Input: task-specific instruction, original molecule, dataset reference molecule. • During training: generate candidate molecules and evaluate reward R. • Active imitate-reinforce: compare candidate performance to reference, adjust guidance weight β_{guide} accordingly—high when model lags, low when surpassing. • Active referencing: maintain a memory bank B(ci) per instance, initialized with dataset reference, and update it with higher-reward candidates surpassing a margin δ. • Replace reference with best candidate in bank, ensuring guidance remains informative. • Loss function combines PPO-based policy gradient with weighted imitation guidance. • The process iterates, dynamically balancing exploration and exploitation, with parameters tuned for stability and performance.

Experiments

Experiments conducted on TOMG-Bench MOLOPT, focusing on properties LogP, MR, and QED. Baselines include RePO, GRPO, and variants like iterative SFT and offline-strengthened RePO. Hyperparameters such as guidance weight bounds (β_{min}, β_{max}), memory size, and promotion thresholds are tuned. Evaluation metrics include success rate (SR), Tanimoto similarity (Sim), and SR×Sim. Multiple seeds ensure statistical robustness. Ablation studies isolate the contributions of active mechanisms. Experiments test across different reference qualities and optimization headroom scenarios, assessing robustness and adaptability.

Results

Active-GRPO consistently outperforms baselines, achieving an average SR×Sim of 0.1773, surpassing RePO (0.1665) and GRPO (0.0959). Improvements are statistically significant across all sub-tasks, with notable gains in high-headroom instances where static references are less informative. Ablation results confirm that both active mechanisms are essential; removing either reduces performance. The method maintains high success rates while balancing property improvements and structural similarity, demonstrating robustness across diverse scenarios. These results validate the effectiveness of adaptive, self-improving guidance in molecular optimization.

Applications

The framework is applicable to drug discovery, materials science, and any domain requiring multi-objective molecular design. It enables automated, efficient exploration of chemical space with minimal manual intervention. The method can be integrated into existing molecular generative pipelines, providing robust guidance even with noisy or low-quality references. Future integration with synthesis planning and multi-modal data can further enhance its utility, accelerating scientific innovation and industrial R&D.

Limitations & Outlook

Computational overhead due to maintaining and updating memory banks limits scalability. Sensitivity to hyperparameters like guidance weight bounds and promotion thresholds requires careful tuning. Performance may degrade in extremely high-dimensional chemical spaces or with highly noisy references. Extending to more complex property sets and real-world constraints remains challenging. Future work should focus on improving scalability, automating hyperparameter selection, and broadening applicability to diverse scientific tasks.

Plain Language Accessible to non-experts

想象你在厨房里做菜。每次你用一本食谱来指导做菜,但有时候食谱不够好,做出来的菜不够好吃。于是你开始自己试验,记住哪些调料更合适,然后用这些经验改良食谱。Active-GRPO就像这个过程,它一边参考食谱(参考分子),一边自己试验(生成新分子),不断升级食谱,让菜越做越好。当你用自己的新招数打败了原来的食谱,它就会把你的招数作为新目标。这样,你的厨艺越来越厉害,食谱也越变越棒。

ELI14 Explained like you're 14

想象你在玩一个游戏,你有一本攻略书(参考分子),可以帮你打怪升级。但有时候这个攻略不够厉害,你自己试试,发现更酷的招数。Active-GRPO就像这个玩法,它会根据你的表现,决定什么时候跟着攻略走,什么时候自己探索。当你用新招数打败了攻略里的怪物,它就会把你的招数加入到攻略里,变成新的目标。这样,你的技能越来越强,攻略也在不断升级,变得更厉害!整个过程就像在游戏中不断探索和升级,最后成为高手!

Abstract

Scientific reasoning is an increasingly important capability of large language models, yet improving the robustness and efficiency of training such reasoning remains a key open challenge. We study this problem in instruction-based molecular optimization, where answer-only supervised fine-tuning (SFT) collapses multi-step reasoning and reinforcement learning with verifiable rewards (RLVR) suffers from sparse feedback. Reference-guided Policy Optimization mitigates both by anchoring policy updates to dataset-provided references, but its effectiveness is tightly coupled to reference quality: weak or misaligned references impose a performance ceiling. To overcome this ceiling, we propose active reasoning, a paradigm in which the policy actively decides, on a per-instance basis, when to imitate a reference and when to reinforce its own discoveries, while continuously upgrading what it imitates. We instantiate this paradigm as Active Group Relative Policy Optimization (Active-GRPO), realized through two coupled mechanisms: active imitate-reinforce and active referencing. The former performs imitation learning when the reference still outperforms the policy's own candidates, and shifts to self-improvement via reinforcement learning once the policy has generated molecules that surpass the reference. The latter continuously upgrades the reference itself by replacing it with the best policy-generated candidate discovered so far, progressively raising the imitation target and ensuring that reference guidance remains informative-rather than restrictive-throughout training. Across TOMG-Bench MOLOPT, Active-GRPO improves average SRxSim from 0.0959 for GRPO and 0.1665 for RePO to 0.1773 under matched three-seed evaluation, with statistically significant gains on LogP, MR, and QED.

cs.LG cs.AI q-bio.BM stat.ML