cs.LGOct 12, 2026

LLM-to-Flow Distillation: Teaching Natural Language Goals to Scientific Generators

Authors: Riccardo De Santi, Federico Di Gennaro, Angelo Gnazzo, Sophia Tang, Pranam Chatterjee, Fanny Yang, İsmail İlkan Ceylan, Michael M. Bronstein, 

Organizations: ETH Zurich · ETH AI Center · Technische Universität Wien · AITHYRA · 

Abstract

Generative discovery in science requires coupling high-level scientific reasoning with the ability to generate samples respecting the structure of a design space. Yet these capabilities remain largely separated: foundation LLMs encode broad chemical and biological knowledge, while domain-specific flow- and diffusion-based generators capture the priors needed to produce valid sequences and geometries. We study how to align such scientific generators to high-level natural-language discovery goals without requiring an explicit proxy reward, which is often unavailable or poorly captured by learned predictors in experimental sciences. We introduce LLM-to-Flow Distillation (LFD), where a frozen LLM acts as an adaptive teacher for a domain-specific generator. Given a goal such as 'generate peptides with promising anticancer activity', the teacher constructs a curriculum of intermediate sub-goals aware of the flow's current capabilities, and progressively directs them toward the original discovery goal. At each round, the LLM judges sampled candidates under the current objective. These judgments induce preferences that are iteratively distilled into the generator through DPO. This procedure provides dense learning signals even when the initial model places negligible probability on designs satisfying the final goal, enabling adaptation toward poorly covered, out-of-distribution regions. Experiments on therapeutic peptides and small-molecule structure design demonstrate that LFD enables a new form of generative control: aligning arbitrary domain-specific scientific generators to scientific discovery tasks expressed via high-level natural-language goals.

Figures & tables

Explore similar work

CardsList
  1. Scientific Knowledge-driven Decoding Constraints Improving the Reliability of LLMs

    Apr 8, 2026Maotian Ma, Zheni Zeng, Zhenghao Liu +1LLM Hallucination MitigationKnowledge Augmentation for Language Models

  2. Language-Informed Flow Matching for Trend-Guided Structure-Based 3D Molecular Generation

    Aug 31, 2026Tianyu Gao, Zhikai Su, Jiashu Li +5Flow MatchingStructure-Based Drug Design

  3. Bridging the Know-Act Gap via Task-Level Autoregressive Reasoning

    Mar 23, 2026Jihyun Janice Ahn, Ryo Kamoi, Berk Atil +34Scientific Reasoning in Language Models