Denoising diffusion models (DDMs) have attracted attention due to their exceptional sample quality and diversity. This success is largely attributed to the use of class- or text-conditional diffusion guidance methods. In this paper, we propose a more comprehensive approach that expands beyond traditional guidance methods. By adopting this generalized perspective, we introduce two novel condition-free strategies to enhance the quality of generated images: blur guidance and advanced Self-Attention Guidance (SAG). Employing benign properties of Gaussian blur, blur guidance enhances the suitability of intermediate samples for fine-scale information and generates higher quality samples with a moderate guidance scale. Improving upon this, SAG utilizes intermediate self-attention maps to enhance the stability and efficacy. Specifically, SAG leverages intermediate attention maps of diffusion models at each iteration to capture essential information for the generative process and guide it accordingly. Our experimental results demonstrate that our zero-shot method enhances the performance of various diffusion models, including ADM, IDDPM, and Stable Diffusion. Furthermore, combining SAG with conventional guidance methods, such as classifier-free guidance, results in further improvement.
翻译:去噪扩散模型(DDMs)因其卓越的样本质量和多样性而备受关注,这一成功主要归功于基于类别或文本条件的扩散引导方法。本文提出了一种更全面的方法,超越了传统引导方法的范畴。通过采用这种广义视角,我们引入了两种新颖的无条件策略来提升生成图像的质量:模糊引导和先进的自注意力引导(SAG)。利用高斯模糊的良性特性,模糊引导增强了中间样本对精细尺度信息的适用性,并在适中的引导尺度下生成更高质量的样本。在此基础上,SAG利用中间自注意力图来提升稳定性和有效性。具体而言,SAG在每个迭代步骤中利用扩散模型的中间注意力图来捕获生成过程中的关键信息,并据此进行引导。实验结果表明,我们的零样本方法增强了多种扩散模型的性能,包括ADM、IDDPM和Stable Diffusion。此外,将SAG与常规引导方法(如无分类器引导)相结合,可带来进一步改进。