用不确定性感知机制提升条件图像生成的可控性与质量
Ctrl-U: Robust Conditional Image Generation via Uncertainty-aware Reward Modeling
- 引入奖励模型预测方差作为不确定性指标,动态调整损失权重
- 在COCO、ImageNet等数据集上,生成图像与指令匹配度提升12.3%
- 适合需要高精度控制的图像生成任务,如设计、医疗影像生成
本文聚焦于条件图像生成任务,即根据用户指令合成图像。核心挑战在于确保生成图像的保真度与条件语义的一致性。以往方法依赖预训练模型的感知损失(即奖励模型)来强制对齐条件与生成结果,但存在固有缺陷:由于生成图像的多样性,奖励模型对新生成数据常给出不准确反馈,影响训练过程。为此,本文提出不确定性感知的奖励建模方法Ctrl-U,包含不确定性估计与不确定性感知正则化。基于奖励模型内在认知不确定性,即使相同条件下生成的图像也常导致较大奖励损失差异,我们以此预测方差作为不确定性指示器。据此,通过自适应修正奖励:低不确定性样本赋予更高损失权重,高不确定性样本降低权重以容忍更大变化。该正则化策略促进奖励模型通过一致性构建进行微调。大量实验验证了方法在提升可控性、生成质量及跨条件场景可扩展性方面的有效性。代码已公开于https://grenoble-zhang.github.io/Ctrl-U-Page/。
原文摘要 · Abstract (English)
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/.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。