Entropy-Reinforced Planning with Large Language Models for Drug Discovery
Xuefeng Liu, Chih-chan Tien, Peng Ding, Songhao Jiang, Rick L. Stevens
TL;DR
This work tackles the challenge of de novo drug discovery with large language models, where pure decoding often yields invalid molecules or suboptimal multi-property candidates. It introduces ERP, Entropy-Reinforced Planning for Transformer Decoding, which embeds an entropy-based planning module into MCTS-guided Transformer decoding, using a novel selection rule $ ext{P}\mathcal{H}\text{-UCT}$ and Top-$P$/Top-$K$ expansion to balance exploitation and exploration across multiple objectives via a multi-critic reward $R^{\text{sum}}_{\text{norm}}$. Across SARS-CoV-2 3CLPro and RTCB targets, ERP consistently outperforms state-of-the-art PG-TD and baselines, with improvements robust to pretrained, biased, and RL-finetuned LLMs, and also demonstrates superior performance on code-generation benchmarks through the same entropy-reinforced planning paradigm. The approach improves sample efficiency, controllable generation, and the discovery of high-reward molecular spaces, with practical implications for accelerating multi-objective drug design and potentially benefiting diverse generative tasks beyond chemistry. $e$-step forward entropy and a multi-critic framework enable ERP to navigate uncertain regions of the search space more effectively than prior planning methods, making ERP a versatile tool for structured sequence generation in complex domains.
Abstract
The objective of drug discovery is to identify chemical compounds that possess specific pharmaceutical properties toward a binding target. Existing large language models (LLMS) can achieve high token matching scores in terms of likelihood for molecule generation. However, relying solely on LLM decoding often results in the generation of molecules that are either invalid due to a single misused token, or suboptimal due to unbalanced exploration and exploitation as a consequence of the LLMs prior experience. Here we propose ERP, Entropy-Reinforced Planning for Transformer Decoding, which employs an entropy-reinforced planning algorithm to enhance the Transformer decoding process and strike a balance between exploitation and exploration. ERP aims to achieve improvements in multiple properties compared to direct sampling from the Transformer. We evaluated ERP on the SARS-CoV-2 virus (3CLPro) and human cancer cell target protein (RTCB) benchmarks and demonstrated that, in both benchmarks, ERP consistently outperforms the current state-of-the-art algorithm by 1-5 percent, and baselines by 5-10 percent, respectively. Moreover, such improvement is robust across Transformer models trained with different objectives. Finally, to further illustrate the capabilities of ERP, we tested our algorithm on three code generation benchmarks and outperformed the current state-of-the-art approach as well. Our code is publicly available at: https://github.com/xuefeng-cs/ERP.
