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

MIRA:面向缓解文生图扩散模型推理时对齐中的奖励破解问题

MIRA: Towards Mitigating Reward Hacking in Inference-Time Alignment of T2I Diffusion Models

University of Central Florida(中央佛罗里达大学);University of Maryland, College Park(马里兰大学学院公园分校);Oracle(Oracle公司)

Kevin Zhai, Utsav Singh, Anirudh Thatipelli, Souradip Chakraborty, Anit Kumar Sahu, Furong Huang, Amrit Singh Bedi, Mubarak Shah

AI总结:

针对文生图扩散模型推理时噪声优化对齐存在的奖励破解问题,提出无需训练的MIRA方法,通过图像空间KL代理项约束输出分布,在多模型、多奖励和数据集上实现超60%胜率且保持提示遵循度,还扩展出支持不可微奖励的MIRA-DPO。

摘要:

扩散模型擅长根据文本提示生成图像,但生成的图像往往无法满足用标量奖励(如美学分数Aesthetic Scores)衡量的用户特定标准。这类对齐通常需要微调,计算成本极高。近期,通过噪声优化实现的推理时对齐成为一种高效替代方案,它通过修改初始输入噪声,引导扩散去噪过程生成高奖励图像。然而,该方法存在奖励破解(reward hacking)问题,即模型生成的图像得分很高,但与原始提示偏差极大。我们发现噪声空间正则化不足以解决该问题,防止奖励破解需要显式的图像空间约束。为此,我们提出MIRA(MItigating Reward hAcking,缓解奖励破解),这是一种无需训练的推理时对齐方法。MIRA引入了一种基于分数的图像空间KL散度代理项,利用冻结的骨干网络对采样轨迹进行正则化,约束输出分布,从而在提升奖励的同时避免分布外漂移(即奖励破解)。我们利用扩散分数推导出KL散度的可处理近似。在SDv1.5和SDXL模型、多种奖励函数(Aesthetic、HPSv2、PickScore)及公开数据集(如Animal-Animal、HPDv2)上的实验表明,MIRA相较于强基线的胜率超过60%,同时保持了提示遵循度;机制分析图显示,MIRA在奖励提升的同时漂移几乎为零,而DNO的漂移量随计算量增加而上升。我们进一步提出MIRA-DPO,将偏好优化映射到推理阶段,结合冻结骨干网络,将MIRA扩展到不可微奖励场景,且无需微调。

英文摘要:

Diffusion models excel at generating images conditioned on text prompts, but the resulting images often do not satisfy user-specific criteria measured by scalar rewards such as Aesthetic Scores. This alignment typically requires fine-tuning, which is computationally demanding. Recently, inference-time alignment via noise optimization has emerged as an efficient alternative, modifying initial input noise to steer the diffusion denoising process towards generating high-reward images. However, this approach suffers from reward hacking, where the model produces images that score highly, yet deviate significantly from the original prompt. We show that noise-space regularization is insufficient and that preventing reward hacking requires an explicit image-space constraint. To this end, we propose MIRA (MItigating Reward hAcking), a training-free, inference-time alignment method. MIRA introduces an image-space, score-based KL surrogate that regularizes the sampling trajectory with a frozen backbone, constraining the output distribution so reward can increase without off-distribution drift (reward hacking). We derive a tractable approximation to KL using diffusion scores. Across SDv1.5 and SDXL, multiple rewards (Aesthetic, HPSv2, PickScore), and public datasets (e.g., Animal-Animal, HPDv2), MIRA achieves >60\% win rate vs. strong baselines while preserving prompt adherence; mechanism plots show reward gains with near-zero drift, whereas DNO drifts as compute increases. We further introduce MIRA-DPO, mapping preference optimization to inference time with a frozen backbone, extending MIRA to non-differentiable rewards without fine-tuning.

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

↑