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

超充能的一步文本到图像扩散模型与负面提示

Supercharged One-step Text-to-Image Diffusion Models with Negative Prompts

Qualcomm AI Research(高通人工智能研究)

Viet Nguyen, Anh Nguyen, Trung Dao, Khoi Nguyen, Cuong Pham, Toan Tran, Anh Tran

AI总结:

针对单步扩散模型无法有效利用负面提示的问题,提出NASA方法,通过交叉注意力在中间表示空间抑制不期望属性,仅增1.89%FLOPs,HPSv2达31.21,提升可控性与质量。

摘要:

对实时图像合成日益增长的需求推动了单步扩散模型的显著进步,与传统多步方法相比,这些模型天生具有更快的生成速度。然而,这种增强的效率常常伴随着图像属性可控性的妥协。虽然负面提示(通常通过无分类器引导(CFG)实现)在多步模型中已被证明对细粒度控制有效,但其在单步生成器中的应用仍未得到充分解决。由于缺乏多步扩散中的迭代细化,直接将CFG应用于单步生成会导致混合伪影和输出质量下降。为了填补这一空白,我们引入了负面引导注意力(NASA),一种将负面提示集成到单步扩散模型中的高效方法。NASA在中间表示空间中运行,利用交叉注意力机制来抑制不希望的视觉属性。这种策略避免了输出空间引导中固有的混合伪影,并实现了高效率,仅增加1.89%的FLOPs,而CFG则使计算量翻倍。此外,NASA可以无缝集成到现有的时间步蒸馏框架中,提升学生模型的输出质量。实验结果表明,NASA显著提高了可控性和输出质量,HPSv2得分达到31.21,为单步扩散模型树立了新的最先进基准。

英文摘要:

The escalating demand for real-time image synthesis has driven significant advancements in one-step diffusion models, which inherently offer expedited generation speeds compared to traditional multi-step methods. However, this enhanced efficiency is frequently accompanied by a compromise in the controllability of image attributes. While negative prompting, typically implemented via classifier-free guidance (CFG), has proven effective for fine-grained control in multi-step models, its application to one-step generators remains largely unaddressed. Due to the lack of iterative refinement, as in multi-step diffusion, directly applying CFG to one-step generation leads to blending artifacts and diminished output quality. To fill this gap, we introduce \textbf{N}egative-\textbf{A}way \textbf{S}teer \textbf{A}ttention (NASA), an efficient method that integrates negative prompts into one-step diffusion models. NASA operates within the intermediate representation space by leveraging cross-attention mechanisms to suppress undesired visual attributes. This strategy avoids the blending artifacts inherent in output-space guidance and achieves high efficiency, incurring only a minimal 1.89\% increase in FLOPs compared to the computational doubling of CFG. Furthermore, NASA can be seamlessly integrated into existing timestep distillation frameworks, enhancing the student's output quality. Experimental results demonstrate that NASA substantially improves controllability and output quality, achieving an HPSv2 score of \textbf{31.21}, setting a new state-of-the-art benchmark for one-step diffusion models.

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

↑