Related Experiment Video
Updated: May 12, 2025

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, Dorian Bagni1, Joseph M Cavanagh1
1Kenneth S. Pitzer Theory Center and Department of Chemistry, University of California, Berkeley, CA, 94720 USA.
Abstract:
Generative machine learning models for exploring chemical space have shown immense promise, but many molecules 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 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...
Molecular Models
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...
Synthesis and Decomposition Reactions
Preparation of 1° Amines: Gabriel Synthesis
Strong bases like NaOH or KOH deprotonate the phthalimide to form the corresponding anion, which acts as a nucleophile. Further, the anion attacks an...
Polymers

