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

面向一致性模型的强化学习:更快的奖励引导文本到图像生成

RL for Consistency Models: Faster Reward Guided Text-to-Image Generation

Cornell University(康奈尔大学)

Owen Oertell, Jonathan D. Chang, Yiyi Zhang, Kianté Brantley, Wen Sun

AI总结:

本研究提出RLCM框架,将一致性模型的迭代推理过程构建为强化学习流程,用于微调文本到图像一致性模型,相比RL微调的扩散模型,训练更快、生成质量更高且推理步骤更少。

摘要:

强化学习(RL)通过直接优化表征图像质量、美学效果和指令遵循能力的奖励,已改进了扩散模型的引导图像生成。然而,由此得到的生成策略继承了扩散模型的迭代采样过程,导致生成速度缓慢。为克服这一局限,一致性模型提出学习一类新型生成模型,可直接将噪声映射到数据,使得模型最少仅需一次采样迭代即可生成图像。本研究中,为针对特定任务奖励优化文本到图像生成模型,并实现快速训练与推理,我们提出一种通过强化学习微调一致性模型的框架。我们的框架名为Reinforcement Learning for Consistency Model(RLCM,一致性模型强化学习),将一致性模型的迭代推理过程构建为一个强化学习流程。与经强化学习微调的扩散模型相比,RLCM的训练速度显著更快,提升了在奖励目标下衡量的生成质量,且最少仅需两步推理即可生成高质量图像,从而加快了推理过程。实验表明,RLCM能够让文本到图像一致性模型适配难以通过提示词表达的目标(如图像可压缩性),以及源自人类反馈的目标(如美学质量)。我们的代码可在https://rlcm.owenoertell.com获取。

英文摘要:

Reinforcement learning (RL) has improved guided image generation with diffusion models by directly optimizing rewards that capture image quality, aesthetics, and instruction following capabilities. However, the resulting generative policies inherit the same iterative sampling process of diffusion models that causes slow generation. To overcome this limitation, consistency models proposed learning a new class of generative models that directly map noise to data, resulting in a model that can generate an image in as few as one sampling iteration. In this work, to optimize text-to-image generative models for task specific rewards and enable fast training and inference, we propose a framework for fine-tuning consistency models via RL. Our framework, called Reinforcement Learning for Consistency Model (RLCM), frames the iterative inference process of a consistency model as an RL procedure. Comparing to RL finetuned diffusion models, RLCM trains significantly faster, improves the quality of the generation measured under the reward objectives, and speeds up the inference procedure by generating high quality images with as few as two inference steps. Experimentally, we show that RLCM can adapt text-to-image consistency models to objectives that are challenging to express with prompting, such as image compressibility, and those derived from human feedback, such as aesthetic quality. Our code is available at https://rlcm.owenoertell.com.

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

↑