Deciphering Scientific Reasoning Steps from Outcome Data for Molecule Optimization

Zequn Liu, Kehan Wu, Shufang Xie, Zekun Guo, Wei Zhang, Tao Qin, Renhe Liu, Yingce XiaarXiv 2026

TL;DR

DESRO is a novel framework that bridges the "supervision gap" in scientific AI by automatically deciphering latent design rationales from raw experimental outcomes. By training a LLaMA-3-8B model on these extracted reasoning steps, DESRO achieves state-of-the-art performance in molecule optimization, outperforming much larger models and demonstrating an uncanny ability to generalize to entirely unseen molecular properties.

What Problem Does This Paper Address?

In fields like drug discovery, we are swimming in experimental outcome data (e.g., "Molecule A has a high binding affinity, while Molecule B does not"). However, the intermediate step-by-step reasoning that led a medicinal chemist to modify a specific chemical structure is rarely documented at scale.

Because of this supervision gap, existing computational methods typically treat molecule optimization as a direct, black-box generation task. They map an input molecule directly to an optimized output without modeling the underlying chemical logic. This lack of explicit reasoning makes models less interpretable, prone to errors, and poor at generalizing to novel or out-of-distribution (OOD) scenarios.

Methods

The authors introduce DESRO (Deciphering Scientific Reasoning from Outcomes), a framework based on the insight that latent reasoning leaves distinct traces in experimental data.

The pipeline operates in two primary phases:

  1. Deciphering Reasoning Steps (Data Generation):
  2. Fragment Mining: Using a connection-aware motif mining algorithm (MiCaM), molecules are broken down into shared core fragments and unique substituents.
  3. Groupwise Contrasts: Molecules sharing the same core are grouped together.
  4. LLM Rationale Induction: The authors prompt a powerful reasoning model (o1-mini) with these groups, instructing it to analyze how structural variations correlate with property differences. The LLM outputs a global property analysis, a set of induced optimization rules, and supporting molecule pairs.
  5. Training the Reasoning Model:
  6. The authors fine-tune a more compact LLaMA-3-8B model using Supervised Fine-Tuning (SFT) on a multi-task learning framework. The model learns to predict the property analysis, the optimization rules, and the final molecular modification steps based on various input configurations.
Overview of the DESRO pipeline for molecule optimization

Datasets

The authors curated a massive dataset of 2.3 million molecular property outcome records, which was distilled into 197k distinct molecule optimization reasoning processes:

  • Bioactivity Data: 1.4 million molecule-bioactivity pairs extracted from PubChem BioAssay.
  • ADMET Data: 589k molecule-property pairs from Prompt-MolOpt and GeLLMO, covering blood-brain barrier permeability (BBBP), water solubility, hERG inhibition, human intestinal absorption (HIA), and mutagenicity.
  • Physicochemical Features: 154k molecules annotated with hydrogen-bond acceptors (HBA) and donors (HBD) from DrugAssist.

Key Insights and Ideas

  • The Student Can Surpass the Teacher: Remarkably, the fine-tuned LLaMA-3-8B model outperformed o1-mini (the very model used to generate its training data) on domain-specific optimization tasks. This proves that structured reasoning induction successfully endows smaller models with specialized expertise.
  • Compositional Reasoning via Sub-Rules: For multi-property optimization, the model implicitly learns independent sub-rules for each property. It can then compose these rules on-the-fly to satisfy multiple constraints simultaneously, navigating complex trade-offs without explicit multi-property training data.
  • Zero-Shot Generalization via Textual Descriptions: Because the model is trained on textual chemical principles rather than just molecular graphs, it can optimize for entirely unseen properties given only a natural language description of the target objective.

Key Results

DESRO was benchmarked against general-purpose reasoning models (o1-mini), chemistry-specific LLMs (ether0, LLaSMol), and specialized molecule optimization models (DrugAssist, GeLLMO).

  • Top-Tier Performance: DESRO achieved the highest success rates on 15 out of 18 tasks, spanning single- and multi-property optimization of bioactivity and ADMET properties.
  • Real-World Lead Optimization: In retrospective case studies using strict temporal splits (testing on data published after October 2025), DESRO autonomously reconstructed expert-level trajectories. It successfully guided the chemical evolution of an initial lead molecule into the actual clinical candidate SGR-1505 (a MALT1 inhibitor).
Evaluation of DESRO on ADMET and bioactivity tasks
  • Beyond Molecules: The authors demonstrated the framework's versatility by extending it to reaction ligand selection in transition-metal catalysis, proving that DESRO can decipher condition-dependent reasoning in broader chemical reactivity contexts.

Limitations and Future Work

While highly effective, the authors note a few areas for improvement:

  • Teacher Model Dependency: The initial dataset generation relies heavily on o1-mini. Integrating even more advanced reasoning models could yield higher-quality training data.
  • Lack of 3D Structural Info: The current bioactivity optimization formulation does not incorporate 3D target structure information (like protein binding pockets), which could enable more precise, target-aware optimizations.
  • No Reinforcement Learning Loop: The framework currently lacks a reinforcement learning component (such as GRPO) for self-improvement of the reasoning process, which the authors identify as a key direction for future work.

Summary updated

BibTeX
@misc{liu2026deciphering,
  author = {Zequn Liu and Kehan Wu and Shufang Xie and Zekun Guo and Wei Zhang and Tao Qin and Renhe Liu and Yingce Xia},
  title = {{Deciphering Scientific Reasoning Steps from Outcome Data for Molecule Optimization}},
  year = {2026},
  eprint = {2603.20262},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.20262},
}
Figure