arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.11027cs.CVcs.AI
收藏

奖励引导的潜在一致性蒸馏

Reward Guided Latent Consistency Distillation

University of California, Santa Barbara(加利福尼亚大学圣巴巴拉分校);University of Waterloo(滑铁卢大学)

Jiachen Li, Weixi Feng, Wenhu Chen, William Yang Wang

AI总结:

针对潜在一致性蒸馏(LCD)生成图像质量下降的问题,提出奖励引导LCD(RG-LCD),通过潜在代理奖励模型整合人类偏好反馈,实现25倍推理加速且无质量损失,多项指标优于基线。

摘要:

潜在一致性蒸馏(LCD)已成为高效文本到图像合成的一种颇具前景的范式。通过从预训练的教师潜在扩散模型(LDM)中蒸馏出潜在一致性模型(LCM),LCD 仅需 2 到 4 个推理步即可生成高保真图像。然而,LCM 的高效推理是以牺牲样本质量为代价的。在本文中,我们提出通过在训练期间将 LCM 的输出与人类偏好对齐来弥补质量损失。具体而言,我们提出了奖励引导 LCD(RG-LCD),该方法将奖励模型(RM)的反馈整合到 LCD 流程中,通过最大化与 LCM 单步生成相关的奖励这一目标,对原始 LCD 损失进行扩充。正如人类评估所验证的那样,当使用优质 RM 的反馈进行训练时,我们的 RG-LCD 生成的 2 步结果比教师 LDM 的 50 步 DDIM 样本更受人类青睐,实现了 25 倍的推理加速且无质量损失。\n由于直接针对可微 RM 进行优化可能会出现过优化问题,我们率先提出使用潜在代理 RM(LRM)来克服这一难题。这一新型组件充当中介,连接我们的 LCM 与 RM。实验证明,将 LRM 整合到我们的 RG-LCD 中成功避免了生成图像中的高频噪声,既提升了在 MS-COCO 上的弗雷歇 inception 距离(FID),也提高了在 HPSv2 测试集上的 HPSv2.1 分数,表现优于基线 LCM。

英文摘要:

Latent Consistency Distillation (LCD) has emerged as a promising paradigm for efficient text-to-image synthesis. By distilling a latent consistency model (LCM) from a pre-trained teacher latent diffusion model (LDM), LCD facilitates the generation of high-fidelity images within merely 2 to 4 inference steps. However, the LCM's efficient inference is obtained at the cost of the sample quality. In this paper, we propose compensating the quality loss by aligning LCM's output with human preference during training. Specifically, we introduce Reward Guided LCD (RG-LCD), which integrates feedback from a reward model (RM) into the LCD process by augmenting the original LCD loss with the objective of maximizing the reward associated with LCM's single-step generation. As validated through human evaluation, when trained with the feedback of a good RM, the 2-step generations from our RG-LCM are favored by humans over the 50-step DDIM samples from the teacher LDM, representing a 25-time inference acceleration without quality loss. As directly optimizing towards differentiable RMs can suffer from over-optimization, we take the initial step to overcome this difficulty by proposing the use of a latent proxy RM (LRM). This novel component serves as an intermediary, connecting our LCM with the RM. Empirically, we demonstrate that incorporating the LRM into our RG-LCD successfully avoids high-frequency noise in the generated images, contributing to both improved Fréchet Inception Distance (FID) on MS-COCO and a higher HPSv2.1 score on HPSv2's test set, surpassing those achieved by the baseline LCM.

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

↑