Improving Sample Quality of Diffusion Models Using Self-Attention Guidance

10/03/2022
by   Susung Hong, et al.
0

Following generative adversarial networks (GANs), a de facto standard model for image generation, denoising diffusion models (DDMs) have been actively researched and attracted strong attention due to their capability to generate images with high quality and diversity. However, the way the internal self-attention mechanism works inside the UNet of DDMs is under-explored. To unveil them, in this paper, we first investigate the self-attention operations within the black-boxed diffusion models and build hypotheses. Next, we verify the hypotheses about the self-attention map by conducting frequency analysis and testing the relationships with the generated objects. In consequence, we find out that the attention map is closely related to the quality of generated images. On the other hand, diffusion guidance methods based on additional information such as labels are proposed to improve the quality of generated images. Inspired by these methods, we present label-free guidance based on the intermediate self-attention map that can guide existing pretrained diffusion models to generate images with higher fidelity. In addition to the enhanced sample quality when used alone, we show that the results are further improved by combining our method with classifier guidance on ImageNet 128x128.

READ FULL TEXT

page 1

page 2

page 4

page 5

page 12

page 13

page 14

page 17

research
06/01/2023

Diffusion Self-Guidance for Controllable Image Generation

Large-scale generative models are capable of producing high-quality imag...
research
06/18/2021

A Unified Generative Adversarial Network Training via Self-Labeling and Self-Attention

We propose a novel GAN training scheme that can handle any level of labe...
research
05/31/2021

Diffusion Self-Organizing Map on the Hypersphere

We discuss a diffusion based implementation of the self-organizing map o...
research
07/31/2023

Don't be so negative! Score-based Generative Modeling with Oracle-assisted Guidance

The maximum likelihood principle advocates parameter estimation via opti...
research
05/31/2022

Improved Vector Quantized Diffusion Models

Vector quantized diffusion (VQ-Diffusion) is a powerful generative model...
research
06/29/2023

Filtered-Guided Diffusion: Fast Filter Guidance for Black-Box Diffusion Models

Recent advances in diffusion-based generative models have shown incredib...
research
07/24/2023

Data-free Black-box Attack based on Diffusion Model

Since the training data for the target model in a data-free black-box at...

Please sign up or login with your details

Forgot password? Click here to reset