arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.11236cs.CV
收藏

Ctrl-U:通过不确定性感知奖励建模实现鲁棒的条件图像生成

Ctrl-U: Robust Conditional Image Generation via Uncertainty-aware Reward Modeling

University of Macau(澳门大学);Tsinghua University(清华大学)

Guiyu Zhang, Huan-ang Gao, Zijian Jiang, Hao Zhao, Zhedong Zheng

AI总结:

针对条件图像生成中奖励模型反馈不准确的问题,提出名为Ctrl-U的不确定性感知奖励建模方法,通过预测方差估计不确定性并自适应调整奖励权重,有效提升生成图像的可控性、质量及场景扩展性。

摘要:

本文聚焦于条件图像生成任务,即根据用户指令合成图像。该任务的核心挑战在于既要保证生成图像的保真度,又要确保其与给定条件的语义对齐。为解决这一问题,以往研究采用从预训练模型(即奖励模型)中提取的监督感知损失,来强制条件与生成结果之间的对齐。然而,我们发现了一个固有缺陷:考虑到合成图像的多样性,奖励模型在遇到新生成的数据时通常会提供不准确的反馈,这可能会破坏训练过程。\n为解决这一局限,我们提出了一种不确定性感知奖励建模方法,名为Ctrl-U,它包含不确定性估计和不确定性感知正则化两个部分,旨在减少奖励模型不精确反馈带来的负面影响。鉴于奖励模型内部存在固有的认知不确定性,即使是在相同条件下生成的图像,其奖励损失也往往存在较大差异。受这一观察的启发,我们明确利用这种预测方差作为不确定性指标。基于不确定性估计,我们通过自适应调整奖励来对模型训练进行正则化。具体而言,不确定性较低的奖励被赋予更高的损失权重,而不确定性较高的奖励则被赋予较低的权重,以允许更大的可变性。所提出的不确定性正则化通过构建一致性来促进奖励微调。大量实验验证了我们的方法在提升可控性和生成质量方面的有效性,以及其在多种条件场景下的可扩展性。代码已公开于https://grenoble-zhang.github.io/Ctrl-U-Page/。

英文摘要:

In this paper, we focus on the task of conditional image generation, where an image is synthesized according to user instructions. The critical challenge underpinning this task is ensuring both the fidelity of the generated images and their semantic alignment with the provided conditions. To tackle this issue, previous studies have employed supervised perceptual losses derived from pre-trained models, i.e., reward models, to enforce alignment between the condition and the generated result. However, we observe one inherent shortcoming: considering the diversity of synthesized images, the reward model usually provides inaccurate feedback when encountering newly generated data, which can undermine the training process. To address this limitation, we propose an uncertainty-aware reward modeling, called Ctrl-U, including uncertainty estimation and uncertainty-aware regularization, designed to reduce the adverse effects of imprecise feedback from the reward model. Given the inherent cognitive uncertainty within reward models, even images generated under identical conditions often result in a relatively large discrepancy in reward loss. Inspired by the observation, we explicitly leverage such prediction variance as an uncertainty indicator. Based on the uncertainty estimation, we regularize the model training by adaptively rectifying the reward. In particular, rewards with lower uncertainty receive higher loss weights, while those with higher uncertainty are given reduced weights to allow for larger variability. The proposed uncertainty regularization facilitates reward fine-tuning through consistency construction. Extensive experiments validate the effectiveness of our methodology in improving the controllability and generation quality, as well as its scalability across diverse conditional scenarios. Codes are publicly available at https://grenoble-zhang.github.io/Ctrl-U-Page/.

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

↑