NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FragmentGPT: A Unified GPT Model for Fragment Growing, Linking, and Merging in Molecular Design

Xuefeng Liu, Songhao Jiang, Qinan Huang, Tinson Xu, Ian Foster, Mengdi Wang, Hening Lin, Rick Stevens

TL;DR

This paper introduces FRAGMENTGPT, a novel GPT-based framework that unifies fragment growing, linking, and merging for molecular design. By incorporating chemically-aware pre-training and a sophisticated reward-ranked alignment strategy, FRAGMENTGPT can generate chemically valid, high-quality molecules tailored for drug discovery, outperforming existing methods.

What Problem Does This Paper Address?

Fragment-based drug discovery (FBDD) is a powerful approach for identifying initial drug candidates. However, a significant challenge lies in transforming these small, weakly binding fragments into high-affinity, drug-like molecules. This typically involves three strategies: fragment growing (expanding a fragment), fragment linking (connecting two separate fragments with a linker), and fragment merging (combining overlapping fragments). Existing computational methods often specialize in only one of these tasks, and struggle with handling complex scenarios like redundant fragments. Furthermore, current generative models often rely on maximum likelihood training, lacking explicit optimization for multiple drug design objectives. This paper aims to address this gap by developing a unified framework that can perform all three tasks (growing, linking, and merging) and is optimized for multiple pharmaceutical goals.

Methods

The core of FRAGMENTGPT is a GPT-based language model enhanced with several novel components:

  • Chemically-Aware, Energy-Based Bond Cleavage Pre-training: This strategy equips the GPT model with an understanding of chemical stability and fragment relationships. It involves breaking down molecules into fragments by selectively cleaving weaker bonds, guided by dissociation energies and avoiding aromatic ring cleavages. This creates a rich pre-training corpus for fragment growing, linking, and merging.
  • Reward Ranked Alignment with Expert Exploration (RAE): This framework is designed to guide the generative model towards molecules with desirable properties. It combines:
  • Expert Imitation Learning: Leverages pretrained expert models to promote diversity in generated molecules.
  • Data Selection and Augmentation: Strategically selects and augments training data to optimize for Pareto optimality (finding solutions where no single objective can be improved without worsening another) and composite scores (a weighted combination of multiple objectives).
  • Supervised Fine-Tuning (SFT): Aligns the learner policy with these multi-objective goals.

Datasets

  • Pre-training: The ZINC dataset (approximately 11 million compounds) was used for initial pre-training of the GPT model on molecular data.
  • Finetuning: 1 million compounds from the ZINC15 dataset, docked against the human cancer protein RTCB (PDB ID: 4DWQ), were used for finetuning.
  • Evaluation: 1,280 molecules from the same cancer dataset, not overlapping with the finetuning set, were used for evaluation.

Key Insights and Ideas

  • Unified Framework for Fragment Design: The most significant insight is the development of a single model capable of handling fragment growing, linking, and merging. This simplifies the drug design workflow and allows for more flexible exploration of chemical space.
  • Importance of Chemical Intuition in Pre-training: Incorporating chemically-aware, energy-based bond cleavage into the pre-training process significantly improves the model's ability to generate chemically valid and stable fragments and molecules.
  • RAE for Multi-Objective Optimization: The RAE algorithm effectively guides the model towards molecules that balance multiple, often conflicting, drug design objectives (e.g., docking score, druglikeness, synthesizability, solubility), moving beyond simple maximum likelihood training.
  • Expert Exploration Enhances Diversity: Integrating expert knowledge helps to explore a broader range of potential molecular solutions, preventing the model from getting stuck in local optima.

Key Results

  • Superior Performance: FRAGMENTGPT consistently outperformed the baseline method, Link-INVENT, across linking and merging tasks on the RTCB dataset.
  • High Validity: FRAGMENTGPT achieved very high validity rates (e.g., 0.991 for finetuned version in linking) for generated molecules, indicating they are syntactically correct.
  • Improved Metrics: The finetuned FRAGMENTGPT showed improvements in key metrics such as druglikeness, synthesizability, and average normalized reward compared to the pretrained version and the baseline.
  • Successful Fragment Growing: The model demonstrated its ability to effectively expand and refine initial fragments into more complete and drug-like molecules, as shown in examples.
  • Realistic Linking and Merging: FRAGMENTGPT successfully identified reasonable linkage sites and proposed stable linkers for PROTAC molecules and reproduced human-designed fragment merging strategies from the COVID Moonshot dataset.

Limitations and Future Work

  • SMILES-Based Representation: The current implementation is limited to SMILES string representations. The authors acknowledge this limitation and are working to extend FRAGMENTGPT to broader molecular formats and structural representations.
  • Computational Cost: While not explicitly detailed as a limitation, the training process involves multiple stages and large datasets, suggesting significant computational resources are required.
  • Future Work: The authors plan to extend FRAGMENTGPT to handle more complex molecular representations and explore its application in other drug discovery tasks.

Summary updated

BibTeX
@inproceedings{liu2025fragmentgpt,
  author = {Xuefeng Liu and Songhao Jiang and Qinan Huang and Tinson Xu and Ian Foster and Mengdi Wang and Hening Lin and Rick Stevens},
  title = {{FragmentGPT: A Unified GPT Model for Fragment Growing, Linking, and Merging in Molecular Design}},
  booktitle = {AI4D3 @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=Nzjc0eGBJB},
}
Figure