paper-with-me

Papers

Adding Conditional Control to Diffusion Models with Reinforcement Learning

2024-06-17 · Yulai Zhao, Masatoshi Uehara, Gabriele Scalia, Tommaso Biancalani, Sergey Levine, Ehsan Hajiramezanali

Diffusion models are powerful generative models that allow for precise control over the characteristics of the generated samples. While these diffusion models trained on large datasets have achieved success, there is often a need to introduce additional controls in downstream fine-tuning processes, treating these powerful models as pre-trained diffusion models. This work presents a novel method based on reinforcement learning (RL) to add additional controls, leveraging an offline dataset comprising inputs and corresponding labels. We formulate this task as an RL problem, with the classifier learned from the offline dataset and the KL divergence against pre-trained models serving as the reward functions. We introduce our method, $\textbf{CTRL}$ ($\textbf{C}$onditioning pre-$\textbf{T}$rained diffusion models with $\textbf{R}$einforcement $\textbf{L}$earning), which produces soft-optimal policies that maximize the abovementioned reward functions. We formally demonstrate that our method enables sampling from the conditional distribution conditioned on additional controls during inference. Our RL-based approach offers several advantages over existing methods. Compared to commonly used classifier-free guidance, our approach improves sample efficiency, and can greatly simplify offline dataset construction by exploiting conditional independence between the inputs and additional controls. Furthermore, unlike classifier guidance, we avoid the need to train classifiers from intermediate states to additional controls.

📄 PDF Abstract BibTeX arXiv:2406.12120

Code (0)

등록된 구현이 없습니다.

Tasks

reinforcement-learningReinforcement LearningReinforcement Learning (RL)

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Conditional Diffusion with Less Explicit Guidance via Model Predictive Control

2022-10-21 · Max W. Shen, Ehsan Hajiramezanali, Gabriele Scalia, Alex Tseng 외

How much explicit guidance is necessary for conditional diffusion? We consider the problem of conditional sampling using an unconditional diffusion model and limited explicit guidance (e.g., a noised classifier, or a con…

Model Predictive Control

Adding Conditional Control to Text-to-Image Diffusion Models

2023-02-10 · ICCV 2023 1 · Lvmin Zhang, Anyi Rao, Maneesh Agrawala

We present ControlNet, a neural network architecture to add spatial conditioning controls to large, pretrained text-to-image diffusion models. ControlNet locks the production-ready large diffusion models, and reuses thei…

Image GenerationLayout-to-Image GenerationText to Image Generation

CCM: Adding Conditional Controls to Text-to-Image Consistency Models

2023-12-12 · Jie Xiao, Kai Zhu, Han Zhang, Zhiheng Liu 외

Consistency Models (CMs) have showed a promise in creating visual content efficiently and with high quality. However, the way to add new conditional controls to the pretrained CMs has not been explored. In this technical…

Understanding and Improving Training-free Loss-based Diffusion Guidance

2024-03-19 · Yifei Shen, Xinyang Jiang, Yezhen Wang, Yifan Yang 외

Adding additional control to pretrained diffusion models has become an increasingly popular research area, with extensive applications in computer vision, reinforcement learning, and AI for science. Recently, several stu…

Motion Generation

Condition-Aware Neural Network for Controlled Image Generation

2024-04-01 · CVPR 2024 1 · Han Cai, Muyang Li, Zhuoyang Zhang, Qinsheng Zhang 외

We present Condition-Aware Neural Network (CAN), a new method for adding control to image generative models. In parallel to prior conditional control methods, CAN controls the image generation process by dynamically mani…

Conditional Image GenerationImage GenerationText to Image GenerationText-to-Image Generation