paper-with-me

Papers

Smoothed Energy Guidance: Guiding Diffusion Models with Reduced Energy Curvature of Attention

2024-08-01 · Susung Hong

Conditional diffusion models have shown remarkable success in visual content generation, producing high-quality samples across various domains, largely due to classifier-free guidance (CFG). Recent attempts to extend guidance to unconditional models have relied on heuristic techniques, resulting in suboptimal generation quality and unintended effects. In this work, we propose Smoothed Energy Guidance (SEG), a novel training- and condition-free approach that leverages the energy-based perspective of the self-attention mechanism to enhance image generation. By defining the energy of self-attention, we introduce a method to reduce the curvature of the energy landscape of attention and use the output as the unconditional prediction. Practically, we control the curvature of the energy landscape by adjusting the Gaussian kernel parameter while keeping the guidance scale parameter fixed. Additionally, we present a query blurring method that is equivalent to blurring the entire attention weights without incurring quadratic complexity in the number of tokens. In our experiments, SEG achieves a Pareto improvement in both quality and the reduction of side effects. The code is available at https://github.com/SusungHong/SEG-SDXL.

📄 PDF Abstract BibTeX arXiv:2408.00760

Code (1)

susunghong/seg-sdxl 공식 구현 pytorch

Tasks

Image Generation

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

In-situ Autoguidance: Eliciting Self-Correction in Diffusion Models

2025-10-20 · Enhao Gu, Haolin Hou arxiv

The generation of high-quality, diverse, and prompt-aligned images is a central goal in image-generating diffusion models. The popular classifier-free guidance (CFG) approach improves quality and alignment at the cost of…

Guiding a Diffusion Model with a Bad Version of Itself

2024-06-04 · Tero Karras, Miika Aittala, Tuomas Kynkäänniemi, Jaakko Lehtinen 외

The primary axes of interest in image-generating diffusion models are image quality, the amount of variation in the results, and how well the results align with a given condition, e.g., a class label or a text prompt. Th…

Image Generation

DAG: Depth-Aware Guidance with Denoising Diffusion Probabilistic Models

2022-12-17 · Gyeongnyeon Kim, Wooseok Jang, Gyuseong Lee, Susung Hong 외

Generative models have recently undergone significant advancement due to the diffusion models. The success of these models can be often attributed to their use of guidance techniques, such as classifier or classifier-fre…

DenoisingDepth EstimationDiversityImage Generation

Variational Control for Guidance in Diffusion Models

2025-02-06 · Kushagra Pandey, Farrin Marouf Sofian, Felix Draxler, Theofanis Karaletsos 외

Diffusion models exhibit excellent sample quality, but existing guidance methods often require additional model training or are limited to specific tasks. We revisit guidance in diffusion models from the perspective of v…

SpecificityVariational Inference

GeoGuide: Geometric guidance of diffusion models

2024-07-17 · Mateusz Poleski, Jacek Tabor, Przemysław Spurek

Diffusion models are among the most effective methods for image generation. This is in particular because, unlike GANs, they can be easily conditioned during training to produce elements with desired class or properties.…

DenoisingImage Generation