FragLlama: Next-fragment prediction for molecular design
Abstract
The emergence of ChatGPT has drawn significant attention to Large Language Models (LLMs) due to their impressive performance. While LLMs primarily focus on next token/word prediction, we apply this principle to molecular design by reframing the task as predicting the next token/fragment. We present FragLlama, a large language model trained for molecular design, featuring custom tokens that represent molecular fragments and functional groups. The model is for generating molecules given one or two fragments, for application scenarios like general hit-to-lead and lead optimization stage drug design, PROTAC linker design; mapping to commonly used drug design strategies like fragment growing and scaffold hopping. In the pre-training stage, we adapted the Llama 3 architecture to create FragLlama, training it to learn conditional probabilities of these fragment-level tokens. The subsequent alignment stage employed fine-tuning to guide the model towards generating molecules with desired properties. The effectiveness of FragLlama is demonstrated through its applications in designing molecular glue libraries, PROTAC linkers and EGFR binders. FragLlama demonstrates proficiency in reproducing expert-level designs while also exploring novel and promising chemical spaces, highlighting its potential to augment the capabilities of medicinal chemists in drug design.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- LinkLlama: Enabling Large Language Model for Chemically Reasonable Linker Design
Kunyang Sun, Yingze Wang, … Teresa L. Head-Gordon·Journal of Chemical Information and ModelingPeer-reviewed·Aug 18, 2026
- FragmentScope - exploring the fragment space with learned surface representations
Evgenia Elizarova, Irina Morozova, … Bruno E. Correia·bioRxiv·Dec 18, 2025
- Multi-Modal Large Language Model Enables All-Purpose Prediction of Drug Mechanisms and Properties
Youwei Liang, Ruiyi Zhang, … Pengtao Xie·bioRxiv·Sep 29, 2024
- MedSAGE: Bridging Generative AI and Medicinal Chemistry for Structure-Based Design of Small Molecule Drugs
Alexander S. Powers, Tianyu Lu, … Ron O. Dror·bioRxiv·May 10, 2025
- DrugGPT: A GPT-based Strategy for Designing Potential Ligands Targeting Specific Proteins
Yuesen Li, Chengyi Gao, … Suxia Han·bioRxiv·Jun 29, 2023
- Deep Generative Models for 3D Compound Design
Fergus Imrie, Anthony R Bradley, … Charlotte Mary Deane·Journal of Chemical Information and ModelingPeer-reviewed·Mar 20, 2020