arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.07987cs.CVcs.AIcs.LG
收藏

ControlNet++:利用高效一致性反馈改进条件控制

ControlNet++: Improving Conditional Controls with Efficient Consistency Feedback

University of Central Florida(中佛罗里达大学);ByteDance(字节跳动)

Ming Li, Taojiannan Yang, Huafeng Kuang, Jie Wu, Zhaoning Wang, Xuefeng Xiao, Chen Chen

AI总结:

本文提出 ControlNet++,通过像素级循环一致性损失和高效单步去噪奖励微调策略,在分割掩码、线稿边缘和深度等多种条件控制下显著提升文本到图像扩散模型的可控性。

摘要:

为了增强文本到图像扩散模型的可控性,ControlNet 等现有工作引入了基于图像的条件控制。本文揭示现有方法在生成与图像条件控制对齐的图像方面仍面临显著挑战。为此,我们提出 ControlNet++,一种通过显式优化生成图像与条件控制之间的像素级循环一致性来改进可控生成的新方法。具体而言,对于输入条件控制,我们使用预训练的判别式奖励模型提取生成图像对应的条件,然后优化输入条件控制与提取条件之间的一致性损失。一种直接实现方式是从随机噪声生成图像后计算一致性损失,但这种方法需要存储多个采样时间步的梯度,导致大量时间和内存开销。为解决该问题,我们引入一种高效奖励策略,通过故意向输入图像添加噪声进行扰动,然后使用单步去噪图像进行奖励微调。这避免了与图像采样相关的大量成本,从而实现更高效的奖励微调。大量实验表明,ControlNet++ 在各种条件控制下显著提升了可控性。例如,在分割掩码、线稿边缘和深度条件下,它相较 ControlNet 分别实现了 11.1% mIoU、13.4% SSIM 和 7.6% RMSE 的提升。所有代码、模型、演示和有组织的数据均已在我们的 Github 仓库开源。

英文摘要:

To enhance the controllability of text-to-image diffusion models, existing efforts like ControlNet incorporated image-based conditional controls. In this paper, we reveal that existing methods still face significant challenges in generating images that align with the image conditional controls. To this end, we propose ControlNet++, a novel approach that improves controllable generation by explicitly optimizing pixel-level cycle consistency between generated images and conditional controls. Specifically, for an input conditional control, we use a pre-trained discriminative reward model to extract the corresponding condition of the generated images, and then optimize the consistency loss between the input conditional control and extracted condition. A straightforward implementation would be generating images from random noises and then calculating the consistency loss, but such an approach requires storing gradients for multiple sampling timesteps, leading to considerable time and memory costs. To address this, we introduce an efficient reward strategy that deliberately disturbs the input images by adding noise, and then uses the single-step denoised images for reward fine-tuning. This avoids the extensive costs associated with image sampling, allowing for more efficient reward fine-tuning. Extensive experiments show that ControlNet++ significantly improves controllability under various conditional controls. For example, it achieves improvements over ControlNet by 11.1% mIoU, 13.4% SSIM, and 7.6% RMSE, respectively, for segmentation mask, line-art edge, and depth conditions. All the code, models, demo and organized data have been open sourced on our Github Repo.

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

↑