Abstract
De novo drug design is a pivotal issue in pharmacology and a new area of focus in AI for science research. A central challenge in this field is to generate molecules with specific properties while also producing a wide range of diverse candidates. Although advanced technologies such as transformer models and reinforcement learning have been applied in drug design, their potential has not been fully realized. Therefore, we propose MolRL-MGPT, a reinforcement learning algorithm with multiple GPT agents for drug molecular generation. To promote molecular diversity, we encourage the agents to collaborate in searching for desirable molecules in diverse directions. Our algorithm has shown promising results on the GuacaMol benchmark and exhibits efficacy in designing inhibitors against SARS-CoV-2 protein targets. The codes are available at: https://github.com/HXYfighter/MolRL-MGPT.
Introduction
The search for novel therapeutic compounds is often described as finding a needle in a haystack. With the chemical space of small molecules estimated at $10^{60}$, traditional discovery methods are increasingly insufficient. While AI-driven de novo drug design has accelerated the process, many current Reinforcement Learning (RL) models suffer from "mode collapse"—a state where the algorithm generates repetitive variations of a single successful structure. This lack of molecular diversity is a critical bottleneck in drug discovery, where a diverse portfolio of candidates is essential to mitigate the high risks of clinical trial failure due to toxicity or resistance.
Methodology
The MolRL-MGPT framework addresses the diversity challenge by employing Multi-Agent Reinforcement Learning (MARL) with multiple GPT-based agents. The architecture is built upon several key pillars:
- GPT-based Agents: Instead of traditional Recurrent Neural Networks (RNNs), the system utilizes lightweight Generative Pre-trained Transformers (8 layers, 6.4 million parameters). These are pre-trained on SMILES strings from the ChEMBL and ZINC-100M datasets to learn the underlying "grammar" of valid chemical structures, achieving a 98% validity ratio.
- Diversity-Promoting Loss Function: To prevent mode collapse, the loss function includes an auxiliary term that penalizes agents if their generated molecules are too similar to those of other agents. This "stay away" logic forces each agent to explore a different direction in the chemical space.
- Molecular Memory & Experience Replay: The system maintains a "leaderboard" of the top 1,000 molecules discovered. Agents periodically revisit these successful molecules to stabilize the learning process and refine their search strategies.
Experiments and Results
The model's performance was rigorously evaluated using the GuacaMol benchmark, which consists of 20 goal-directed tasks. MolRL-MGPT achieved a state-of-the-art total score of 18.052, outperforming established baselines such as SMILES GA, Reinvent, and GEGL. Notably, the model maintained high internal diversity (IntDiv) scores even when achieving perfect property scores.
In a real-world application, MolRL-MGPT was tasked with designing inhibitors for SARS-CoV-2 protein targets, specifically the papain-like protease (PLPro) and RNA-dependent RNA polymerase (RdRp). The generated candidates exhibited exceptional docking scores (binding affinity) ranging from -11.0 to -13.2 kcal/mol. These scores, combined with favorable Quantitative Estimate of Drug-likeness (QED) and Synthetic Accessibility (SA) scores, highlight the model's potential for practical drug discovery.
Conclusion and Future Work
MolRL-MGPT demonstrates that collaborative multi-agent systems can significantly enhance both the quality and diversity of de novo drug design. By explicitly rewarding exploration and utilizing transformer architectures, the framework provides a robust tool for identifying novel therapeutic candidates.
Future research will focus on overcoming the "oracle bottleneck"—the computational cost of scoring functions—and incorporating more specialized biological objectives, such as blood-brain barrier permeability and metabolic stability, directly into the reinforcement learning cycle.
Summary updated