arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.09685cs.AIcs.LGq-bio.QMstat.ML
收藏

扩散模型中推理时对齐与奖励引导生成:教程与综述

Inference-Time Alignment in Diffusion Models with Reward-Guided Generation: Tutorial and Review

Genentech(基因泰克);Princeton University(普林斯顿大学);MIT(麻省理工学院);Texas A&M University(德克萨斯农工大学);UC Berkeley(加州大学伯克利分校)

Masatoshi Uehara, Yulai Zhao, Chenyu Wang, Xiner Li, Aviv Regev, Sergey Levine, Tommaso Biancalani

AI总结:

本教程系统综述了扩散模型推理时对齐方法,统一了SMC引导、价值采样等算法框架,并提出了新算法,探讨了与微调、搜索算法及语言模型的联系,附有蛋白质设计代码。

摘要:

本教程深入探讨了扩散模型中用于优化下游奖励函数的推理时引导和对齐方法。尽管扩散模型以其生成建模能力著称,但在生物学等领域的实际应用中,通常需要生成能够最大化特定指标(如蛋白质的稳定性、亲和力,以及接近目标结构的程度)的样本。在这些场景下,扩散模型不仅可以生成逼真的样本,还可以在推理时无需微调即可显式地最大化期望度量。本教程探讨了此类推理时算法的基础方面。我们从统一视角回顾这些方法,证明当前技术——如基于序贯蒙特卡洛(SMC)的引导、基于价值的采样和分类器引导——旨在近似软最优去噪过程(即强化学习中的策略),该过程将预训练的去噪过程与价值函数相结合,价值函数作为前瞻函数,从中间状态预测到最终奖励。在此框架内,我们提出了文献中尚未涵盖的几种新算法。此外,我们讨论了(1)与推理时技术相结合的微调方法,(2)基于搜索算法(如蒙特卡洛树搜索)的推理时算法,这些算法在当前研究中受到的关注有限,以及(3)语言模型与扩散模型中推理时算法之间的联系。本教程关于蛋白质设计的代码可在 https://github.com/masa-ue/AlignInversePro 获取。

英文摘要:

This tutorial provides an in-depth guide on inference-time guidance and alignment methods for optimizing downstream reward functions in diffusion models. While diffusion models are renowned for their generative modeling capabilities, practical applications in fields such as biology often require sample generation that maximizes specific metrics (e.g., stability, affinity in proteins, closeness to target structures). In these scenarios, diffusion models can be adapted not only to generate realistic samples but also to explicitly maximize desired measures at inference time without fine-tuning. This tutorial explores the foundational aspects of such inference-time algorithms. We review these methods from a unified perspective, demonstrating that current techniques -- such as Sequential Monte Carlo (SMC)-based guidance, value-based sampling, and classifier guidance -- aim to approximate soft optimal denoising processes (a.k.a. policies in RL) that combine pre-trained denoising processes with value functions serving as look-ahead functions that predict from intermediate states to terminal rewards. Within this framework, we present several novel algorithms not yet covered in the literature. Furthermore, we discuss (1) fine-tuning methods combined with inference-time techniques, (2) inference-time algorithms based on search algorithms such as Monte Carlo tree search, which have received limited attention in current research, and (3) connections between inference-time algorithms in language models and diffusion models. The code of this tutorial on protein design is available at https://github.com/masa-ue/AlignInversePro

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑