paper-with-me

홈 › Papers

Self-Rectifying Diffusion Sampling with Perturbed-Attention Guidance

2024-03-26 · Donghoon Ahn, Hyoungwon Cho, Jaewon Min, Wooseok Jang, Jungwoo Kim, SeonHwa Kim, Hyun Hee Park, Kyong Hwan Jin, Seungryong Kim

Recent studies have demonstrated that diffusion models are capable of generating high-quality samples, but their quality heavily depends on sampling guidance techniques, such as classifier guidance (CG) and classifier-free guidance (CFG). These techniques are often not applicable in unconditional generation or in various downstream tasks such as image restoration. In this paper, we propose a novel sampling guidance, called Perturbed-Attention Guidance (PAG), which improves diffusion sample quality across both unconditional and conditional settings, achieving this without requiring additional training or the integration of external modules. PAG is designed to progressively enhance the structure of samples throughout the denoising process. It involves generating intermediate samples with degraded structure by substituting selected self-attention maps in diffusion U-Net with an identity matrix, by considering the self-attention mechanisms' ability to capture structural information, and guiding the denoising process away from these degraded samples. In both ADM and Stable Diffusion, PAG surprisingly improves sample quality in conditional and even unconditional scenarios. Moreover, PAG significantly improves the baseline performance in various downstream tasks where existing guidances such as CG or CFG cannot be fully utilized, including ControlNet with empty prompts and image restoration such as inpainting and deblurring.

📄 PDF Abstract BibTeX arXiv:2403.17377

Code (3)

KU-CVLAB/Perturbed-Attention-Guidance 공식 구현 pytorch
Min-Jaewon/PSLD_PAG pytorch
susunghong/seg-sdxl pytorch

Tasks

DeblurringDenoisingImage GenerationImage Restoration

Methods 이 논문이 사용한 방법론

Perturbed-Attention Guidance 설명 없음
PAG 설명 없음
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 제목 키워드 기반

Erase Diffusion: Empowering Object Removal Through Calibrating Diffusion Pathways

2025-03-10 · CVPR 2025 1 · Yi Liu, Hao Zhou, Wenxiang Shang, Ran Lin 외

Erase inpainting, or object removal, aims to precisely remove target objects within masked regions while preserving the overall consistency of the surrounding content. Despite diffusion-based methods have made significan…

Image InpaintingObject

EMAG: Self-Rectifying Diffusion Sampling with Exponential Moving Average Guidance

2025-12-19 · Ankit Yadav, Ta Duc Huy, Lingqiao Liu arxiv

In diffusion and flow-matching generative models, guidance techniques are widely used to improve sample quality and consistency. Classifier-free guidance (CFG) is the de facto choice in modern systems and achieves this b…

Entropy Rectifying Guidance for Diffusion and Flow Models

2025-04-18 · Tariq Berrada Ifriqi, Adriana Romero-Soriano, Michal Drozdzal, Jakob Verbeek 외

Guidance techniques are commonly used in diffusion and flow models to improve image quality and consistency for conditional generative tasks such as class-conditional and text-to-image generation. In particular, classifi…

DiversityImage GenerationText to Image GenerationText-to-Image Generation+1

Residual Learning in Diffusion Models

2024-01-01 · CVPR 2024 1 · Junyu Zhang, Daochang Liu, Eunbyung Park, Shichao Zhang 외

Diffusion models (DMs) have achieved remarkable generative performance particularly with the introduction of stochastic differential equations (SDEs). Nevertheless a gap emerges in the model sampling trajectory const…

Rectifying Adversarial Examples Using Their Vulnerabilities

2026-01-01 · Fumiya Morimoto, Ryuto Morita, Satoshi Ono arxiv

Deep neural network-based classifiers are prone to errors when processing adversarial examples (AEs). AEs are minimally perturbed input data undetectable to humans posing significant risks to security-dependent applicati…

Traffic Sign RecognitionAutonomous Driving