acceptodds
Under review as a conference paper at ICLR 2027

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

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), in which 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 provides a dense learning signal even when the initial domain-specific 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 molecules 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.

Then back it, or bet against it.

Related papers

Open the market on this paper to see 7 more related papers.