LLM到流蒸馏:将自然语言目标教给科学生成器
研究论文 · 2026/10/15
科学中的生成式发现需要将高层科学推理与生成符合设计空间结构样本的能力相结合。然而,这两类能力在很大程度上仍是分离的:基础大语言模型编码了广泛的化学和生物知识,而领域特定的流模型和扩散生成器则捕获了生成有效序列和几何结构所需的先验。我们研究如何将此类科学生成器对齐到高层自然语言发现目标,而无需显式代理奖励——在实验科学中,这种奖励往往不可用或难以被学习到的预测器充分捕捉。我们提出LLM-to-Flow蒸馏(LFD),其中冻结的LLM充当领域特定生成器的自适应教师。给定诸如“生成具有前景抗癌活性的肽”这样的目标,教师会构建一个感知流模型当前能力的中间子目标课程,并逐步将其导向原始发现目标。每一轮中,LLM在当前目标下评判采样候选。这些评判产生偏好,并通过DPO迭代蒸馏到生成器中。即使初始模型对满足最终目标的设计赋予的概率可忽略不计,该过程也能提供密集的学习信号,从而实现对覆盖不足的分布外区域的适应。在治疗性肽和小分子结构设计上的实验表明,LFD实现了一种新的生成控制形式:将任意领域特定的科学生成器对齐到以高层自然语言目标表达的科学发现任务。
该研究提出了一种无需显式奖励即可将领域科学生成器对齐到自然语言目标的新方法,解决了实验科学中奖励难以获取的关键问题,并在治疗性肽和小分子设计上得到验证,对AI驱动的科学发现具有重要价值。
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.