TensorX
返回文献探索

Paper · arXiv 2404.03673

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

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

15 upvotesMarch 25, 2024arXiv 预印本
AI 摘要

A reinforcement learning approach for fine-tuning consistency models enhances text-to-image generation by improving quality and reducing inference time compared to diffusion models.

reinforcement learningdiffusion modelsconsistency modelsgenerative policiesiterative sampling processtext-to-image generationfine-tuningRL for Consistency Model (RLCM)iterative inferencehuman feedbackimage compressibilityaesthetic quality

Abstract

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. RLCM improves upon RL fine-tuned diffusion models on text-to-image generation capabilities and trades computation during inference time for sample quality. 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. 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. Our code is available at https://rlcm.owenoertell.com

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
RL for Consistency Models: Faster Reward Guided Text-to-Image Generation | TensorX