Related Experiment Video
Updated: Jan 9, 2026

Curation of Computational Chemical Libraries Demonstrated with Alpha-Amino Acids
Published on: April 13, 2022
SynLlama: Generating Synthesizable Molecules and Their Analogs with Large Language Models
Kunyang Sun1,2,3,4, Dorian Bagni1,2,3,4, Joseph M Cavanagh1,2,3,4
1†Kenneth S. Pitzer Theory Center and Department of Chemistry, ‡Department of Bioengineering, and §Department of Chemical and Biomolecular Engineering, University of California, Berkeley, California 94720, United States.
Abstract:
Generative machine learning models for exploring chemical space have shown immense promise, but many molecules that they generate are too difficult to synthesize, making them impractical for further investigation or development. In this work, we present a novel approach by fine-tuning Meta's Llama3 Large Language Models (LLMs) to create SynLlama, which generates full synthetic pathways made of commonly accessible building blocks and robust organic reaction templates. SynLlama explores a large synthesizable space using significantly less data and offers strong performance in both forward and bottom-up synthesis planning compared to other state-of-the-art methods. We find that SynLlama, even without training on external building blocks, can effectively generalize to unseen yet purchasable building blocks, meaning that its reconstruction capabilities extend to a broader synthesizable chemical space than those of the training data. We also demonstrate the use of SynLlama in a pharmaceutical context for synthesis planning of analog molecules and hit expansion leads for proposed inhibitors of target proteins, offering medicinal chemists a valuable tool for discovery.
Related Concept Videos
Synthetic Biology
Golden rice
Golden rice is a genetically modified...
ATP and Macromolecule Synthesis
Most macromolecules are composed of single subunits, or building blocks, called monomers. The monomers combine with each other using covalent bonds to form larger molecules known as polymers.
Conversion of...
Lagging Strand Synthesis
Lagging Strand Synthesis
There are several major differences between synthesis of the leading strand and synthesis of the lagging strand. 1) Leading strand synthesis happens in the direction of replication fork opening, whereas lagging strand synthesis happens in the...
Molecular Models
Improving Translational Accuracy

