Large Language Models for Controllable Multi-property Multi-objective Molecule Optimization

Vishal Dey, Xiaohua Hu, Xia Ning2025

Abstract

Lead optimization in drug discovery requires precisely modifying specific molecular properties while preserving others. Current computational methods often fail to handle these multi-objective trade-offs effectively, often requiring manual reward-function tuning. This paper introduces C-MuMOInstruct, a comprehensive instruction-tuning dataset for "surgical" molecule optimization, and GeLLM$^4$O-Cs, a family of large language models (LLMs) fine-tuned for this task. The generalist models demonstrate up to a 126% improvement in success rates over state-of-the-art baselines and exhibit strong zero-shot generalization to unseen optimization tasks.

Introduction

In the lead optimization phase of drug discovery, medicinal chemists rarely need to improve every single property of a molecule. Instead, they face a complex balancing act: a "hit" molecule might possess excellent bioactivity but suffer from poor solubility or high toxicity. The objective is to fix specific flaws while maintaining existing strengths—a process defined as Controllable Multi-property Multi-objective Optimization (C-MuMO).

Existing computational methods struggle with this nuance. Most models either focus on a single property or attempt to improve all properties simultaneously, failing to capture the trade-offs required in real-world chemistry. Furthermore, many current tools lack the flexibility to handle diverse drug-design scenarios without extensive manual configuration. This research addresses these gaps by treating molecule optimization as a natural language instruction-following task.

The C-MuMOInstruct Dataset

A primary contribution of this work is the creation of C-MuMOInstruct, the first large-scale instruction-tuning dataset designed specifically for controllable molecule optimization.

Dataset Composition:

  • Scale: 256,185 molecule pairs and 28,266 unique optimization tasks.
  • Properties: The dataset covers 10 pharmacologically relevant properties, including toxicity (hERG, LIV, MUT, CARC), permeability (BBBP, AMP, HIA), and drug-likeness (QED, PlogP).
  • Linguistic Diversity: To ensure the model learns chemical principles rather than specific word patterns, the authors utilized 30 distinctly phrased natural language instruction templates.
  • Controllability: Unlike previous datasets, C-MuMOInstruct uses explicit instructions to either "improve property X to threshold Y" or "keep property Z unchanged."

Methodology

The researchers developed the GeLLM$^4$O-Cs family of models by fine-tuning general-purpose LLMs (Mistral-7B and Llama-3.1-8B) using LoRA (Low-Rank Adaptation). The study explored two distinct training strategies:

  1. Specialists: Models trained on a single combination of properties.
  2. Generalists: Models trained across diverse property combinations and objectives.

The generalist approach was designed to help the models learn "shared chemical semantics"—an understanding of how specific structural modifications (such as adding a functional group or altering a ring system) impact multiple properties simultaneously. During inference, the models generate 20 candidate molecules via beam search, with the final selection based on cumulative property improvement.

Key Insights and Results

The "Generalist" Advantage

One of the most significant findings is that generalist models consistently outperform specialists. By training on a wide array of property combinations, the models develop a more robust mapping of the relationship between molecular structure and function. This allows them to navigate the chemical space more effectively than models limited to a narrow scope.

Performance Metrics

  • Success Rate (SR): GeLLM$^4$O-Cs significantly outperformed strong baselines, including GPT-4o and LlaSMol. On the challenging DHMQ task (optimizing DRD2, HIA, MUT, and QED), the generalist model achieved a 126% higher success rate than the best baseline.
  • Relative Improvement (RI): Beyond simply meeting thresholds, the models provided higher magnitude improvements across sub-optimal properties compared to general-purpose LLMs.
  • Zero-Shot Generalization: The generalist models showed a 27% improvement over baselines on Out-of-Distribution (OOD) tasks. This suggests that the LLM has developed a foundational understanding of molecular optimization, allowing it to tackle property combinations it never encountered during training.

Implicit Chemical Knowledge

Through instruction tuning, the LLMs appear to implicitly learn medicinal chemistry rules. For example, the models can learn to increase lipophilicity to improve blood-brain barrier permeability without being explicitly programmed with those specific chemical heuristics.

Limitations and Future Directions

While GeLLM$^4$O-Cs represents a significant step forward, several challenges remain:

  • Iterative Optimization: The current framework focuses on single-step optimization. Real-world drug design is an iterative "Design-Make-Test-Analyze" cycle. Future work should explore feedback mechanisms or intermediate reward signals.
  • Predictor Dependency: The dataset relies on computational property predictors (e.g., ADMET-AI). While standard, these are proxies for experimental results. Incorporating wet-lab data would further ground the model's suggestions.
  • Linguistic Complexity: While the 30 templates provide diversity, the instructions are still synthetically generated. Testing the models against more diverse, human-like linguistic variations will be essential for real-world deployment.

Conclusion

By framing molecule optimization as an instruction-following task, this research provides a scalable and highly controllable framework for lead optimization. The success of the GeLLM$^4$O-Cs models demonstrates the potential for LLMs to serve as powerful assistants in the drug discovery process, capable of balancing complex, multi-objective chemical requirements.

Summary updated

BibTeX
@misc{dey2025large,
  author = {Vishal Dey and Xiaohua Hu and Xia Ning},
  title = {{Large Language Models for Controllable Multi-property Multi-objective Molecule Optimization}},
  year = {2025},
  doi = {10.18653/v1/2025.findings-emnlp.1145},
}
Figure