Abstract
Designing a new drug is a lengthy and expensive process. As the space of potential molecules is very large ($10^{23} - 10^{60}$), a common technique during drug discovery is to start from a molecule which already has some of the desired properties. An interdisciplinary team of scientists generates hypothesis about the required changes to the prototype. In this work, we develop an algorithmic unsupervised-approach that automatically generates potential drug molecules given a prototype drug. We show that the molecules generated by the system are valid molecules and significantly different from the prototype drug. Out of the compounds generated by the system, we identified 35 FDA-approved drugs. As an example, our system generated Isoniazid - one of the main drugs for Tuberculosis. The system is currently being deployed for use in collaboration with pharmaceutical companies to further analyze the additional generated molecules.
Introduction
The search for novel therapeutic compounds is a "needle in a haystack" problem on a cosmic scale. With an estimated $10^{23}$ to $10^{60}$ potentially drug-like molecules, the vast majority of chemical space remains unexplored. Traditionally, drug discovery relies on prototype-based discovery, where researchers start with a known molecule (a prototype) and attempt to modify its structure to improve efficacy or reduce side effects.
However, human intuition is often limited by cognitive biases, and physical High-Throughput Screening (HTS) is prohibitively expensive and slow. While standard generative AI models, such as vanilla Variational Autoencoders (VAEs), can propose new molecules, they often struggle to balance reconstruction (maintaining proximity to the prototype) with innovation (generating novel, chemically valid structures).
Methodology: Conditional Diversity Networks
To address these challenges, we introduce Conditional Diversity Networks (CDN), an end-to-end neural architecture designed for "conditioned sampling" within the chemical neighborhood of a prototype.
The CDN framework processes molecules using the following components:
- Molecule Representation: Molecules are encoded as SMILES strings (Simplified Molecular Input Line Entry System), allowing drug design to be treated as a sequence generation task.
- Encoder: A Convolutional Neural Network (CNN) processes the SMILES string using various filter sizes to capture diverse chemical substructures, mapping them into a compressed "latent space."
- Diversity Layer: This core innovation modifies the standard VAE sampling process. Instead of sampling directly from $\mu$ and $\sigma$, we introduce a diversity parameter ($D$) to scale the variance: $z \sim \mathcal{N}(\mu, \sigma^2 \times D)$. This parameter allows users to tune the "creativity" of the model, forcing it to explore further from the prototype as $D$ increases.
- Decoder: An LSTM-based Recurrent Neural Network (RNN) translates the sampled latent point back into a new SMILES string, character by character.
Experimental Setup
The model was trained on a subset of approximately 200,000 commercially available drug-like compounds from the ZINC Database, filtered by Lipinski’s "rule of five." For evaluation, we used DrugBank, a dataset of 869 FDA-approved drugs. Crucially, the model was not trained on these drugs; they served as prototypes to test if the system could "rediscover" modern medications through structural exploration.
Results and Discussion
Our experiments demonstrate that the "chemical neighborhood" of existing drugs is a fruitful area for discovery. By applying noise to the latent representation of older drugs, the CDN successfully generated 35 modern FDA-approved drugs that it had never seen during training.
A notable success was the generation of Isoniazid (discovered in 1952) using the 1936 drug Pyrazinamide as a prototype. Both are critical treatments for Tuberculosis, illustrating the model's ability to navigate meaningful therapeutic relationships.
The Diversity-Validity Trade-off
The diversity parameter ($D$) plays a critical role in the generation process. As $D$ increases, the number of unique, novel molecules grows, but the percentage of chemically valid strings decreases. For instance, at $D=1$, the model identified 8 unique drugs from the test set with ~89% validity. At $D=3$, it identified 227 unique drugs, though validity dropped to ~63%. This suggests that while higher diversity increases the chance of finding novel candidates, it also requires more robust post-generation filtering.
Conclusion and Future Work
Conditional Diversity Networks provide a tunable mechanism for exploring the chemical space around known prototypes. While the model is effective at generating structurally related candidates, future work will focus on improving syntactic validity at high diversity levels and "steering" the generation process toward specific pharmacological properties like solubility or reduced toxicity. We are currently collaborating with pharmaceutical partners to evaluate the synthetic accessibility of the novel molecules generated by the system.
Summary updated