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

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

ETH Zurich · ETH AI Center · Technische Universität Wien · AITHYRA · University of Pennsylvania · University of Oxford

Published October 12, 2026 · on the feed October 15, 2026 · ▲ 11 · arXiv 2610.17246

LLM training & RLScience & medicine Full code arXiv ↗Hugging Face ↗

The 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.

The Brief

2:41

A short podcast summary of the paper. Written and voiced by AI.

Transcript

LLM-to-Flow Distillation. Teaching Natural Language Goals to Scientific Generators. By Riccardo De Santi and eight others, from ETH Zurich, the ETH AI Center, and four other institutions. Published on the twelfth of October. Its code repository is worked out: about two hundred source files, with a readme.

Generative discovery in science needs two capabilities joined together: high-level scientific reasoning, and the ability to generate samples that respect the structure of a design space. Today they remain largely separated. Foundation language models encode broad chemical and biological knowledge. Domain-specific flow- and diffusion-based generators capture the priors needed to produce valid sequences and geometries. One could align such a generator to a goal through an explicit proxy reward, but in experimental sciences that reward is often unavailable, or poorly captured by learned predictors. The knowledge of what a good peptide or molecule might be sits in one kind of model. The ability to produce something structurally valid sits in another. The question is how to connect them when there is no score to optimize in between.

LLM-to-Flow Distillation, or LFD, aligns a scientific generator to a high-level natural-language discovery goal without requiring a proxy reward. A frozen language model acts as an adaptive teacher for the domain-specific generator. The teacher is never trained. Its role is to judge, and to decide what to ask for next, while all of the learning happens in the generator.

Take a goal such as generating peptides with promising anticancer activity. The teacher does not demand that outright. It constructs a curriculum of intermediate sub-goals that is aware of what the flow can currently do, and progressively directs those sub-goals toward the original discovery goal. In each round, the language model judges sampled candidates under the current objective.

Those judgments induce preferences, and the preferences are iteratively distilled into the generator through DPO. The curriculum is what keeps the signal alive. Even when the initial model places negligible probability on designs that satisfy the final goal, the procedure still provides dense learning signals, which lets the generator adapt toward regions that are poorly covered and out of distribution.

Experiments cover two domains: therapeutic peptides, and small-molecule structure design. The authors present the outcome as a new form of generative control: aligning arbitrary domain-specific scientific generators to discovery tasks expressed as high-level natural-language goals.

The design is a division of labour. The language model contributes judgment and a sense of direction. The flow keeps its learned priors over what a valid design looks like. Preference distillation is the channel between them, and the curriculum is what lets that channel carry signal from the very start, when the final goal is still almost out of reach.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.