Abstract
De novo molecular design faces a significant challenge in sample efficiency, as evaluating generated molecules often requires expensive computational or experimental oracles. We present "Augmented Memory," an algorithm that enhances sample efficiency by integrating experience replay with SMILES data augmentation. By re-evaluating high-scoring molecules through multiple structural representations, the model extracts more information from each oracle call. Our method achieves state-of-the-art performance on the Practical Molecular Optimization (PMO) benchmark, outperforming existing models on 19 of 23 tasks and demonstrating significant speedups in drug rediscovery and protein-ligand docking tasks.
Introduction
The search for novel therapeutic molecules is often described as finding a needle in an astronomical haystack. Generative models, particularly those utilizing Reinforcement Learning (RL), have become standard tools for navigating this vast chemical space. However, the utility of these models is frequently limited by the cost of "oracles"—the scoring functions used to evaluate a molecule's fitness, such as molecular docking simulations or laboratory experiments. When an oracle call takes significant time or resources, models requiring millions of evaluations become impractical. This paper introduces "Augmented Memory," a framework designed to maximize the learning potential of every oracle evaluation, thereby significantly improving sample efficiency in molecular design.
Methodology
The Augmented Memory algorithm builds upon the REINVENT architecture, introducing three key innovations to address sample efficiency and mode collapse.
- Experience Replay: The model maintains a replay buffer of the highest-scoring molecules discovered during the search. In each training iteration, the agent learns not only from newly sampled molecules but also from these historical "successes," reinforcing high-reward chemical patterns.
- SMILES Augmentation: A single chemical structure can be represented by multiple valid SMILES strings. Augmented Memory leverages this non-injective mapping by generating different SMILES representations for the molecules in the replay buffer. This forces the model to learn the underlying chemical logic rather than simply memorizing specific character sequences, acting as a powerful regularizer.
- Selective Memory Purge: To prevent the model from converging prematurely on a single high-scoring scaffold (mode collapse), a filtering mechanism removes entries from the replay buffer if they belong to an over-sampled chemical family.
- Squared Difference Loss: The authors utilize a squared difference loss between the "Augmented Likelihood" and the "Agent Likelihood," which they mathematically prove to be equivalent to traditional policy gradient optimization while offering more stable convergence.
Datasets and Evaluation
The models were pre-trained on ChEMBL and ZINC datasets to establish a baseline understanding of chemical grammar. Performance was then rigorously tested across several benchmarks:
- PMO Benchmark: A standardized suite of 23 tasks with a strict budget of 10,000 oracle calls.
- GuacaMol: Specifically the Aripiprazole similarity task, used to evaluate the model's ability to "rediscover" known drugs.
- DRD2 Case Study: A real-world application using AutoDock Vina to simulate binding affinity to the Dopamine Type 2 Receptor.
Results and Key Insights
Augmented Memory established a new state-of-the-art on the PMO benchmark, achieving the highest total score recorded and leading in 19 out of 23 tasks. In the Aripiprazole rediscovery task, the model demonstrated a 2x speedup, reaching high success scores in 6,144 oracle calls compared to over 12,000 for the next best method.
In the DRD2 docking study, the model generated over 2,000 high-binding molecules within the fixed budget, significantly outperforming competing methods that often found only a few hundred. These results highlight the method's ability to maintain diversity while aggressively pursuing high-reward regions of chemical space. The authors demonstrate that adding experience replay to baseline algorithms consistently improves performance, proving that "remembering wins" is a highly effective strategy for saving oracle calls.
Discussion and Future Work
The success of Augmented Memory underscores the importance of experience replay and the regularizing effect of data augmentation. While highly effective, the method's performance depends on the initial discovery of high-reward molecules; in extremely sparse reward landscapes where no "hits" are found early on, the replay buffer remains empty. Future work may involve integrating curriculum learning to guide the model through such sparse landscapes. Additionally, while the method reduces oracle calls, it increases internal computational updates, a trade-off that is highly favorable when dealing with expensive oracles.
Conclusion
Augmented Memory represents a significant step forward in making de novo molecular design more practical for real-world applications where experimental or computational resources are constrained. By capitalizing on every piece of information provided by the oracle, it enables faster and more efficient discovery of novel chemical entities.
Summary updated