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

使用自注意力引导提升扩散模型的样本质量

Improving Sample Quality of Diffusion Models Using Self-Attention Guidance

Korea University(高丽大学)

Susung Hong, Gyuseong Lee, Wooseok Jang, Seungryong Kim

AI总结:

本研究提出无需条件与训练的自注意力引导(SAG)方法,通过模糊扩散模型注意力区域提升生成质量,适用于多种扩散模型且可与传统引导方法结合进一步增效。

摘要:

去噪扩散模型(Denoising diffusion models, DDMs)凭借出色的生成质量与多样性受到广泛关注,这一成功很大程度上得益于类别或文本条件的扩散引导方法,例如分类器引导和无分类器引导。本文提出了一种超越传统引导方法的更全面视角,并基于该通用视角引入了无需条件、无需训练的新策略以提升生成图像的质量。作为一种简单方案,模糊引导(blur guidance)可提升中间样本在精细尺度信息与结构上的适配性,使扩散模型能以适中的引导尺度生成更高质量的样本。在此基础上改进的自注意力引导(Self-Attention Guidance, SAG)利用扩散模型的中间自注意力图来增强稳定性与有效性,具体而言,SAG在每次迭代中仅对抗性地模糊扩散模型关注的区域,并据此进行引导。实验结果表明,SAG可提升ADM、IDDPM、Stable Diffusion和DiT等多种扩散模型的性能,且将SAG与传统引导方法结合可实现进一步提升。

英文摘要:

Denoising diffusion models (DDMs) have attracted attention for their exceptional generation quality and diversity. This success is largely attributed to the use of class- or text-conditional diffusion guidance methods, such as classifier and classifier-free guidance. In this paper, we present a more comprehensive perspective that goes beyond the traditional guidance methods. From this generalized perspective, we introduce novel condition- and training-free strategies to enhance the quality of generated images. As a simple solution, blur guidance improves the suitability of intermediate samples for their fine-scale information and structures, enabling diffusion models to generate higher quality samples with a moderate guidance scale. Improving upon this, Self-Attention Guidance (SAG) uses the intermediate self-attention maps of diffusion models to enhance their stability and efficacy. Specifically, SAG adversarially blurs only the regions that diffusion models attend to at each iteration and guides them accordingly. Our experimental results show that our SAG improves the performance of various diffusion models, including ADM, IDDPM, Stable Diffusion, and DiT. Moreover, combining SAG with conventional guidance methods leads to further improvement.

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

↑