Agentic reinforcement learning empowers next-generation chemical language models for molecular design and synthesis
7 affiliations
- 1Peking University
- 2International Digital Economy Academy (IDEA)
- 3Yuanpei College, Peking University
- 4School of Electronic and Computer Engineering, Peking University Shenzhen Graduate School
- 5Peking University Shenzhen Graduate School
- 6National University of Singapore
- 7International Digital Economy Academy
Abstract
Language models are revolutionizing the biochemistry domain, assisting scientists in drug design and chemical synthesis with high efficiency. Yet current approaches struggle between small language models prone to hallucination and limited knowledge retention, and large cloud-based language models plagued by privacy risks and high inference costs. To bridge this gap, we introduce ChemCRAFT, a novel framework leveraging agentic reinforcement learning to decouple chemical reasoning from knowledge storage. Instead of forcing the model to memorize vast chemical data, our approach empowers the language model to interact with a sandbox for precise information retrieval. This externalization of knowledge allows a locally deployable small model to achieve superior performance while being highly token-efficient compared to traditional multi-agent systems. To enable small language models for agent-calling ability, we build an agentic trajectory construction pipeline and a comprehensive chemical-agent sandbox. Based on sandbox interactions, we constructed ChemToolDataset, the first large-scale chemical tool trajectory dataset. Simultaneously, we propose SMILES-GRPO to build a dense chemical reward function, promoting the model's ability to call chemical agents. Evaluations across diverse aspects of drug design show that ChemCRAFT outperforms current cloud-based LLMs in molecular structure analysis, molecular optimization, and synthesis pathway prediction, demonstrating that scientific reasoning is not solely an emergent ability of model scale, but a learnable policy of tool orchestration. Furthermore, assessments in real-world drug optimization scenarios, including fentanyl analog optimization and pro-inflammatory GSTO1 inhibitors optimization, reveal that ChemCRAFT generates optimization trajectories mirroring human experts, confirming its reliability as a scientific assistant. This work establishes a cost-effective and privacy-preserving paradigm for AI-aided chemistry, opening new avenues for accelerating molecular discovery with locally deployable agents.
Related
- A Molecular Generation–Validation Workflow Combining Reversible Junction Tree Reinforcement Learning and Semi-empirical Quantum Chemistry: A Case Study on Molecular Solar Thermal Fuels
- Robust Multi-Objective Reinforcement Learning Improves Joint Predicted-Potency and Drug-Likeness Yield in EGFR Molecule Generation
- Development of a Deep Reinforcement Learning Approach for Transition State Search in Molecular Systems: A Transferable Model Across Structural and Dimensional Variations
- Contrastive Reward Based Reinforcement Learning for Goal Directed 3D Molecular Design
- AET5: A transcriptome-guided molecular generation framework with contrastive self-supervised learning
BibTeX
@misc{li2026agentic,
title = {{Agentic reinforcement learning empowers next-generation chemical language models for molecular design and synthesis}},
author = {Hao Li and He Cao and Shenyao Peng and Zijing Liu and Bin Feng and Yu Wang and Zhiyuan Yan and Liuzhenghao Lv and Yang Zhang and Yonghong Tian and Yu Li and Li Yuan},
howpublished = {Research Square},
year = {2026},
month = nov,
doi = {10.21203/rs.3.rs-9959783/v1},
url = {https://doi.org/10.21203/rs.3.rs-9959783/v1},
note = {CC BY},
}
RIS
TY - UNPB
TI - Agentic reinforcement learning empowers next-generation chemical language models for molecular design and synthesis
AU - Hao Li
AU - He Cao
AU - Shenyao Peng
AU - Zijing Liu
AU - Bin Feng
AU - Yu Wang
AU - Zhiyuan Yan
AU - Liuzhenghao Lv
AU - Yang Zhang
AU - Yonghong Tian
AU - Yu Li
AU - Li Yuan
PY - 2026
DA - 2026/11/17
PB - Research Square
DO - 10.21203/rs.3.rs-9959783/v1
UR - https://doi.org/10.21203/rs.3.rs-9959783/v1
AB - Language models are revolutionizing the biochemistry domain, assisting scientists in drug design and chemical synthesis with high efficiency. Yet current approaches struggle between small language models prone to hallucination and limited knowledge retention, and large cloud-based language models plagued by privacy risks and high inference costs. To bridge this gap, we introduce ChemCRAFT, a novel framework leveraging agentic reinforcement learning to decouple chemical reasoning from knowledge storage. Instead of forcing the model to memorize vast chemical data, our approach empowers the language model to interact with a sandbox for precise information retrieval. This externalization of knowledge allows a locally deployable small model to achieve superior performance while being highly token-efficient compared to traditional multi-agent systems. To enable small language models for agent-calling ability, we build an agentic trajectory construction pipeline and a comprehensive chemical-agent sandbox. Based on sandbox interactions, we constructed ChemToolDataset, the first large-scale chemical tool trajectory dataset. Simultaneously, we propose SMILES-GRPO to build a dense chemical reward function, promoting the model's ability to call chemical agents. Evaluations across diverse aspects of drug design show that ChemCRAFT outperforms current cloud-based LLMs in molecular structure analysis, molecular optimization, and synthesis pathway prediction, demonstrating that scientific reasoning is not solely an emergent ability of model scale, but a learnable policy of tool orchestration. Furthermore, assessments in real-world drug optimization scenarios, including fentanyl analog optimization and pro-inflammatory GSTO1 inhibitors optimization, reveal that ChemCRAFT generates optimization trajectories mirroring human experts, confirming its reliability as a scientific assistant. This work establishes a cost-effective and privacy-preserving paradigm for AI-aided chemistry, opening new avenues for accelerating molecular discovery with locally deployable agents.
ER -