GeLLM3O: Generalizing Large Language Models for Multi-property Molecule Optimization

Vishal Dey, Xiao Hu, Xia Ning · DOI

Abstract

In drug discovery, lead optimization is a complex balancing act requiring the simultaneous improvement of multiple molecular properties. Traditional computational methods often struggle with the trade-offs inherent in multi-property optimization and lack the flexibility to generalize to novel tasks. We present GeLLM³O, a framework that leverages Large Language Models (LLMs) for multi-property molecule optimization. Central to this work is MuMOInstruct, a comprehensive instruction-tuning dataset containing over 255,000 molecule pairs across 63 distinct tasks. Our results demonstrate that GeLLM³O models not only excel at seen property combinations but also exhibit superior zero-shot generalization to unseen tasks, outperforming state-of-the-art baselines and massive closed-source models like GPT-4o.

Introduction

The transition from a "hit" molecule to a viable drug candidate—lead optimization—is one of the most challenging phases of drug discovery. A molecule with high bioactivity against a target may fail due to poor solubility, high toxicity, or an inability to cross the blood-brain barrier. Optimizing these conflicting properties simultaneously is a high-stakes task that typically requires specialized models or hand-crafted reward functions for every new therapeutic objective.

GeLLM³O explores whether the general-purpose reasoning and "chemical grammar" of LLMs can be harnessed to navigate these trade-offs. By treating molecule optimization as a natural language translation task, the model can be instructed to modify structures to meet specific multi-property criteria.

The MuMOInstruct Dataset

The foundation of this work is MuMOInstruct, the first high-quality instruction-tuning dataset specifically designed for multi-property molecule optimization. It comprises 255,174 molecule pairs covering all 63 possible combinations of six key properties.

Overview of the multi-property optimization tasks in MuMOInstruct, ranging from single to sextuple property improvements.

The dataset focuses on six critical drug-discovery metrics:

  • BBBP: Blood-Brain Barrier Permeability
  • DRD2: Dopamine Receptor D2 binding
  • HIA: Human Intestinal Absorption
  • Mutag: Mutagenicity
  • plogP: Lipophilicity (Penalized LogP)
  • QED: Quantitative Estimate of Drug-Likeness

While previous datasets focused on single-property changes, MuMOInstruct provides a rigorous test for multi-objective optimization by including tasks that require the simultaneous improvement of up to six properties.

Composition of the MuMOInstruct dataset, featuring 255,174 molecule pairs, six key molecular properties, and diverse instruction templates.

Methodology

The researchers developed GeLLM³O using a two-pronged approach:

  1. Instruction Tuning: Molecule optimization is framed as a sequence-to-sequence task. Given a starting molecule (SMILES string) and a natural language instruction, the model generates an optimized SMILES string.
  2. Fine-tuning: Open-weights models, specifically Mistral-7B and Llama-3.1-8B, were fine-tuned using LoRA (Low-Rank Adaptation). The study compared "Specialist" models trained on single tasks with "Generalist" models trained on diverse property combinations.
  3. Instruction Diversity: To ensure the models understood chemical intent rather than memorizing keywords, six different instruction templates were used during training.

Key Results and Insights

GeLLM³O demonstrates significant performance gains over existing baselines:

  • In-Distribution Success: On tasks seen during training, GeLLM³O models outperformed state-of-the-art baselines by up to 186.6% in Success Rate (SR).
  • Zero-Shot Generalization: The "Generalist" models exhibited a foundational capability to tackle Out-of-Distribution (OOD) tasks—optimizing property combinations they had never encountered together. In these settings, GeLLM³O outperformed the best baselines by as much as 159.9%.
  • Surpassing Closed-Source Giants: In zero-shot settings, GeLLM³O consistently outperformed much larger models like GPT-4o and Claude-3.5, suggesting that domain-specific instruction tuning is more critical than raw model scale for chemical reasoning.

A key insight from the study is the Synergy Effect: Generalist models often outperformed Specialists even on simple tasks. Learning to balance multiple properties simultaneously appears to foster a more robust understanding of chemical structure-property relationships.

Limitations and Future Directions

While GeLLM³O represents a significant step forward, several challenges remain:

  • Iterative Optimization: The current model performs single-step modifications, whereas real-world optimization is often an iterative process.
  • Data Source: Training relies on empirical property predictors (like ADMET-AI); future work could incorporate high-fidelity wet-lab experimental data.
  • Synthetic Feasibility: While the model aims for minimal structural changes, it does not explicitly guarantee that the proposed molecules are easily synthesizable.
  • Property Scope: Expanding the framework beyond the current six properties to include broader toxicity and bioactivity metrics is a priority for future development.

Summary updated

BibTeX
@misc{dey2025gellm,
  author = {Vishal Dey and Xiao Hu and Xia Ning},
  title = {{GeLLM3O: Generalizing Large Language Models for Multi-property Molecule Optimization}},
  year = {2025},
  eprint = {2502.13398},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.13398},
}
Figure