arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.19453cs.CV
收藏

FIND:基于策略优化微调扩散模型初始噪声分布

FIND: Fine-tuning Initial Noise Distribution with Policy Optimization for Diffusion Models

East China Normal University(华东师范大学)

Changgu Chen, Libing Yang, Xiaoyan Yang, Lianggangxu Chen, Gaoqi He, CHangbo Wang, Yang Li

AI总结:

针对扩散模型生成内容偏离提示词的问题,提出FIND框架,将去噪过程重构为单步马尔可夫决策过程并采用策略优化直接微调初始噪声分布,结合动态奖励校准和比率裁剪确保训练稳定,在图文与文生视频任务上超越SOTA且速度提升10倍。

摘要:

近年来,大规模预训练扩散模型在图像和视频生成任务中展现了卓越的能力。然而,现有模型倾向于生成训练数据集中常见的视觉对象,这与用户输入的提示词相背离。生成结果不准确的深层原因在于,模型难以从与提示词对应的初始噪声分布的特定区间中进行采样。此外,由于扩散过程包含多个去噪步骤,直接优化初始分布颇具挑战。本文提出了一个基于策略优化的微调初始噪声分布(FIND)框架,通过直接优化初始分布使生成内容与用户输入提示词对齐,从而释放预训练扩散网络的强大潜力。为此,我们首先将扩散去噪过程重构为单步马尔可夫决策过程,并采用策略优化直接优化初始分布。此外,提出了动态奖励校准模块以确保优化过程中的训练稳定性。进一步地,我们引入比率裁剪算法,利用历史数据进行网络训练,并防止优化后的分布偏离原始策略过远,以抑制过度的优化幅度。大量实验证明了本方法在文本到图像和文本到视频任务中的有效性,在实现提示词与生成内容的一致性方面超越了SOTA方法。本方法的速度比SOTA方法快10倍。

英文摘要:

In recent years, large-scale pre-trained diffusion models have demonstrated their outstanding capabilities in image and video generation tasks. However, existing models tend to produce visual objects commonly found in the training dataset, which diverges from user input prompts. The underlying reason behind the inaccurate generated results lies in the model's difficulty in sampling from specific intervals of the initial noise distribution corresponding to the prompt. Moreover, it is challenging to directly optimize the initial distribution, given that the diffusion process involves multiple denoising steps. In this paper, we introduce a Fine-tuning Initial Noise Distribution (FIND) framework with policy optimization, which unleashes the powerful potential of pre-trained diffusion networks by directly optimizing the initial distribution to align the generated contents with user-input prompts. To this end, we first reformulate the diffusion denoising procedure as a one-step Markov decision process and employ policy optimization to directly optimize the initial distribution. In addition, a dynamic reward calibration module is proposed to ensure training stability during optimization. Furthermore, we introduce a ratio clipping algorithm to utilize historical data for network training and prevent the optimized distribution from deviating too far from the original policy to restrain excessive optimization magnitudes. Extensive experiments demonstrate the effectiveness of our method in both text-to-image and text-to-video tasks, surpassing SOTA methods in achieving consistency between prompts and the generated content. Our method achieves 10 times faster than the SOTA approach. Our homepage is available at \url{https://github.com/vpx-ecnu/FIND-website}.

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

↑