cs.LGApr 14, 2026

Scaffold-Conditioned Preference Triplets for Controllable Molecular Optimization with Large Language Models

Authors: Yi Xiong, Liang Xiong, Xiaohong Ji, Sen Yang, Zhifeng Gao, Huaimin Wang, Kele Xu

Organizations: National Key Laboratory of Parallel and Distributed Processing College of Computer Science and Technology National University of DefenseTechnology · DP Technology

Abstract

Molecular property optimization is central to drug discovery, yet many deep learning methods rely on black-box scoring and offer limited control over scaffold preservation, often producing unstable or biologically implausible edits. While large language models (LLMs) are promising molecular generators, optimization remains constrained by the lack of chemistry-grounded preference supervision and principled data curation. We introduce Scaffold-Conditioned Preference Triplets (SCPT), a pipeline that constructs similarity-constrained triplets ⟨scaffold,better,worse⟩\langle\text{scaffold}, \text{better}, \text{worse}\rangle via scaffold alignment and chemistry-driven filters for validity, synthesizability, and meaningful property gains. Using these preferences, we align a pretrained molecular LLM as a conditional editor, enabling property-improving edits that retain the scaffold. Across single- and multi-objective benchmarks, SCPT improves optimization success and property gains while maintaining higher scaffold similarity than competitive baselines. Compared with representative non-LLM molecular optimization methods, SCPT-trained LLMs are better suited to scaffold-constrained and multi-objective optimization. In addition, models trained on single-property and two-property supervision generalize effectively to three-property tasks, indicating promising extrapolative generalization under limited higher-order supervision. SCPT also provides controllable data-construction knobs that yield a predictable similarity-gain frontier, enabling systematic adaptation to diverse optimization regimes.

Figures & tables

Appendix figures & tables16 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. C-MORAL: Controllable Multi-Objective Molecular Optimization with Reinforcement Alignment for LLMs

    Apr 24, 2026Rui Gao, Youngseung Jeon, Swastik Roy +2RL for Language ModelsMolecular Optimization

  2. FORGE: Fragment-Oriented Ranking and Generation for Context-Aware Molecular Optimization

    May 11, 2026Qingchuan Zhang, He Cao, Hao Li +6Molecular OptimizationLarge Language Model-Guided Optimization

  3. Small Molecule Optimization with Large Language Models

    Jul 26, 2024Philipp Guevorguian, Menua Bedrosian, Tigran Fahradyan +3Molecular OptimizationEvolutionary Optimization