Introduction
In the realm of computational drug discovery, generating "fantasy molecules" remains a significant bottleneck. While modern AI models excel at dreaming up chemical structures with perfect theoretical properties, these designs frequently turn out to be impossible or prohibitively expensive to synthesize in a real-world laboratory.
Historically, researchers have attempted to bridge this gap using retrosynthesis tools—software that works backward from a proposed structure to find a viable chemical recipe. However, these tools are often slow and computationally expensive. Alternatively, "synthesis-aware" generative models have been developed, but they typically rely on complex machine learning architectures requiring massive amounts of training data. To address this, we present SynGA, a lightweight, sample-efficient genetic algorithm that navigates the astronomical space of synthesizable molecules by evolving their "synthesis recipes" rather than just their chemical structures.
Methods: Evolving Synthesis Trees
SynGA treats a molecule not as a static graph or string, but as a synthesis tree. In this representation, the "leaves" are commercially available building blocks, and the "nodes" are valid chemical reactions.
Key components of the SynGA framework include:
- Custom Genetic Operators: Instead of standard string-based mutations that often break chemical validity, SynGA employs specific operations—Grow, Shrink, Rerun, Change Internal, and Change Leaf—to modify the synthesis tree. This ensures the resulting molecule remains valid and synthesizable by construction.
- Deep Block Filtering: To manage a massive library of over 200,000 commercially available building blocks (such as the Enamine catalog), SynGA utilizes a Multi-Layer Perceptron (MLP) to predict which blocks are most relevant to a specific design goal. This effectively narrows the search space and accelerates optimization.
- SynGBO (Model-Based Variant): For complex property optimization, SynGA is wrapped inside a Bayesian Optimization framework. Here, SynGA acts as the "inner loop" engine, maximizing an acquisition function to find the most promising candidates for expensive lab testing or high-fidelity simulations.
Key Insights
The core philosophy behind SynGA is that recipe space is more practical than structure space. By searching the space of how to make a molecule, synthesizability is guaranteed by construction, bypassing the need for post-hoc "sanity checks."
Furthermore, despite the recent dominance of Large Language Models (LLMs) and Diffusion models, classical Genetic Algorithms remain incredibly competitive in chemistry due to their sample efficiency. They do not require millions of examples to begin finding high-quality designs. By pairing a simple, robust GA with a "smart" machine learning filter, SynGA achieves a highly effective hybridization that outperforms much heavier, end-to-end neural networks.
Results and Performance
SynGA was evaluated across several industry-standard datasets and benchmarks, including the PMO (Practical Molecular Optimization) suite, ChEMBL for analog search, and LIT-PCBA for 3D protein-ligand docking.
- High-Fidelity Analog Search: In tasks aimed at finding synthesizable versions of known drugs, SynGA achieved a perfect 1.000 validity rate—meaning every single proposed molecule was a valid chemical recipe. It also secured state-of-the-art similarity scores (Morgan and Scaffold) compared to existing synthesis-aware models.
- State-of-the-Art Optimization: On the PMO benchmark, the model-based variant (SynGBO) achieved the highest scores to date, outperforming both synthesis-agnostic and other synthesis-aware models.
- Superior 3D Design: In docking simulations predicting how well a drug fits a target protein, SynGA found better-binding molecules than previous leading methods while using significantly fewer calls to the expensive docking simulator.
Limitations and Future Work
While highly effective, SynGA does have limitations. It relies on a fixed set of reaction templates; if a reaction isn't in its predefined "rulebook," the algorithm cannot utilize it, potentially limiting chemical creativity. Additionally, the model currently assumes that if a recipe fits the template, it works, ignoring real-world conditions like reaction yield, temperature, or pressure.
Future iterations of SynGA could incorporate multi-objective algorithms (like NSGA-II) to better balance the dozens of competing properties—such as potency, safety, and cost—required in real-world drug design. Overall, SynGA represents a powerful shift back toward simpler, more robust tools that prioritize the practical realities of the chemistry lab.
Summary updated