TL;DR
Reinforcement learning (RL) models for de novo drug design frequently suffer from mode collapse, generating structurally repetitive molecules. This paper introduces a comprehensive framework that combines structure-based reward penalties with prediction-based intrinsic rewards to maintain high property optimization while drastically increasing the structural diversity of generated molecules.
What Problem Does This Paper Address?
Finding a new drug is an incredibly slow and expensive process, often taking a decade and costing upwards of $1 billion. AI and reinforcement learning have emerged as powerful tools to navigate the massive chemical space (estimated at up to $10^{60}$ drug-like molecules) by fine-tuning generative models to maximize specific molecular properties, like binding affinity to a disease target.
However, standard RL agents are notorious for getting trapped in local optima. Instead of exploring broadly, they find a single chemical structure that scores well and continuously generate minor variations of it—a phenomenon known as mode collapse. This is a major issue in drug discovery because early-stage computer models (QSAR models) are imperfect and biased. If an AI generates 1,000 highly similar molecules and that specific chemical family fails later in lab testing due to toxicity or poor absorption, the entire campaign fails. This paper tackles the challenge of forcing RL agents to discover a wide variety of distinct, high-quality chemical families.
Methods
The authors propose a unified framework that dynamically shapes the reward signal given to the RL agent. Instead of just rewarding a molecule based on its predicted activity (the extrinsic reward), the framework modifies the reward using two mechanisms:
$$\hat{R}(A) = f(A) \times R(A) + R_I(A)$$
- Extrinsic Reward Penalty ($f(A)$): If the agent generates too many molecules sharing the same structural core (molecular scaffold), the penalty function scales down the reward. The authors introduce novel, continuous "soft" penalties based on the error function (ErfIMS) and hyperbolic tangent (TanhIMS) to replace rigid, binary drop-offs used in prior work.
- Intrinsic Reward ($R_I(A)$): Inspired by human curiosity, this adds a bonus reward for exploring unfamiliar territory. The authors adapt several exploration strategies to drug design, including distance-based metrics and Random Network Distillation (RND), which measures how novel a molecule is based on a neural network's prediction error.
The most powerful approach turned out to be a hybrid method, TanhRND, which combines the smooth hyperbolic tangent penalty with RND-based curiosity.
Datasets
The framework was integrated into the popular REINVENT architecture (an LSTM-based recurrent neural network generating SMILES strings) and evaluated on three standard molecular optimization benchmarks from the Therapeutics Data Commons (TDC):
- JNK3 (c-Jun N-terminal Kinase-3)
- GSK3$\beta$ (Glycogen Synthase Kinase 3 Beta)
- DRD2 (Dopamine Receptor D2)
The target properties were evaluated using random forest classifiers trained on data from the ExCAPE-DB dataset.
Key Insights and Ideas
- The Synergy of Penalties and Curiosity: The core "aha moment" is that structural penalties and intrinsic rewards solve different parts of the exploration problem. A penalty tells the agent where not to go (don't repeat this scaffold), while an intrinsic reward like RND actively pushes the agent into completely unvisited regions of the state space.
- Soft Penalties Prevent Stagnation: Rigidly cutting a reward to zero when a scaffold is repeated can disorient the agent. Smooth functions like
tanhallow the agent to gracefully exploit a local chemical space before being nudged to move on. - Escaping Low-Reward Traps: On difficult optimization tasks (like JNK3), pure penalty methods fail to even reach the target threshold because they get stuck early on. Hybrid methods like TanhRND provide enough exploratory drive to escape these low-reward local optima entirely.
Key Results
- Superior Diversity: The hybrid TanhRND method consistently ranked among the top performers across all targets. In the DRD2 and GSK3$\beta$ tasks, it generated significantly more "diverse actives" (distinct, high-scoring chemical structures) than baseline methods, sometimes finding over 4,000 unique solutions where standard methods found far fewer.
- Consistency: Methods incorporating structure-based information (like TanhInf and Inf) generated the highest absolute number of molecular scaffolds and showed much lower variability across independent runs compared to distance-based methods.
Limitations and Future Work
- Computational Cost: Distance-based intrinsic rewards require calculating pair-wise Tanimoto distances against a growing memory pool of previously generated molecules. As a result, these methods suffer from longer runtimes.
- Heuristic Reward Shaping: The linear combination of the penalty and intrinsic reward is a simplified heuristic. While effective, it is likely not mathematically optimal.
- Future Directions: The authors note that a valuable next step will be finding more sophisticated ways to incorporate advanced domain-specific chemical knowledge directly into the agent's internal reward feedback loop.
Summary updated