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

ReNeg:基于奖励引导的负嵌入学习

ReNeg: Learning Negative Embedding with Reward Guidance

Advanced Micro Devices Inc.(先进微器件公司);Dalian University of Technology(大连理工大学);Tsinghua University(清华大学)

Xiaomin Li, Yixuan Liu, Takashi Isobe, Xu Jia, Qinpeng Cui, Dong Zhou, Dong Li, You He, Huchuan Lu, Zhongdao Wang, Emad Barsoum

AI总结:

ReNeg提出端到端方法,利用奖励模型和CFG训练学习最优负嵌入,显著提升文本到图像生成质量,并展现出跨模型泛化能力。

摘要:

在文本到图像(T2I)生成应用中,负嵌入已被证明是一种简单而有效的提升生成质量的方法。通常,这些负嵌入源自用户定义的负提示,虽然功能上可行,但未必是最优的。在本文中,我们提出了ReNeg,一种端到端的方法,旨在通过奖励模型引导学习改进的负嵌入。我们采用奖励反馈学习框架,并将分类器无关引导(CFG)整合到训练过程中,该引导此前仅用于推理阶段,从而实现了负嵌入的有效学习。我们还提出了两种策略,用于学习全局和逐样本的负嵌入。大量实验表明,学习到的负嵌入显著优于空文本和手工设计的对应物,在人类偏好对齐方面取得了实质性改进。此外,在相同文本嵌入空间内学习的负嵌入展现出强大的泛化能力。例如,使用相同的CLIP文本编码器,在SD1.5上学习的负嵌入可以无缝迁移到文本到图像甚至文本到视频模型,如ControlNet、ZeroScope和VideoCrafter2,从而在各个模型上带来一致的性能提升。

英文摘要:

In text-to-image (T2I) generation applications, negative embeddings have proven to be a simple yet effective approach for enhancing generation quality. Typically, these negative embeddings are derived from user-defined negative prompts, which, while being functional, are not necessarily optimal. In this paper, we introduce ReNeg, an end-to-end method designed to learn improved Negative embeddings guided by a Reward model. We employ a reward feedback learning framework and integrate classifier-free guidance (CFG) into the training process, which was previously utilized only during inference, thus enabling the effective learning of negative embeddings. We also propose two strategies for learning both global and per-sample negative embeddings. Extensive experiments show that the learned negative embedding significantly outperforms null-text and handcrafted counterparts, achieving substantial improvements in human preference alignment. Additionally, the negative embedding learned within the same text embedding space exhibits strong generalization capabilities. For example, using the same CLIP text encoder, the negative embedding learned on SD1.5 can be seamlessly transferred to text-to-image or even text-to-video models such as ControlNet, ZeroScope, and VideoCrafter2, resulting in consistent performance improvements across the board.

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

↑