mlsanityData to 7 Oct 2026

Self-Rectifying Diffusion Sampling with Perturbed-Attention Guidance

arXiv 2403.17377 ↗First posted 26 Mar 2024cs.CV cs.AI cs.LGcited by 108

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

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.

Key facts. Cited by 108 papers in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 22 of its 64 references that are in the map. First posted on arXiv 26 Mar 2024.

Builds on

22 of 64 references.

Closest ancestors · 4

Same direction, newest first

  1. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis4 Jul
  2. 2022Classifier-Free Diffusion Guidance26 Jul
  3. 2020Score-Based Generative Modeling through Stochastic Differential Equations26 Nov
  4. 2020Denoising Diffusion Implicit Models6 Oct

Other references · 18

  1. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
  2. 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,006
  3. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  4. 2022Diffusion Posterior Sampling for General Noisy Inverse Problemscited by 1,375
  5. 2022eDiff-I: Text-to-Image Diffusion Models with an Ensemble of Expert Denoiserscited by 921
  6. 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 897
  7. 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 722
  8. 2023Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generatorscited by 666
  9. 2022Zero-Shot Image Restoration Using Denoising Diffusion Null-Space Modelcited by 574
  10. 2023FateZero: Fusing Attentions for Zero-shot Text-based Video Editingcited by 462
  11. 2020Hopfield Networks is All You Needcited by 461
  12. 2023Rethinking FID: Towards a Better Evaluation Metric for Image Generationcited by 303
6 more
  1. 2023Noise-Free Score Distillationcited by 99
  2. 2023Return of Unconditional Generation: A Self-supervised Representation Generation Methodcited by 95
  3. 2023Beyond First-Order Tweedie: Solving Inverse Problems using Latent Diffusioncited by 78
  4. 2024DreamMatcher: Appearance Matching Self-Attention for Semantically-Consistent Text-to-Image Personalizationcited by 60
  5. 2023Readout Guidance: Learning Control from Diffusion Featurescited by 52
  6. 2023LIME: Localized Image Editing via Attention Regularization in Diffusion Modelscited by 27

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 19; 2025: 52; 2026: 37.

108 papers.

Sort:

By area:

  1. 2024Guiding a Diffusion Model with a Bad Version of Itselfcited by 286
  2. 2024Golden Noise for Diffusion Models: A Learning Frameworkcited by 91
  3. 2024Phased Consistency Modelscited by 83
  4. 2024Smoothed Energy Guidance: Guiding Diffusion Models with Reduced Energy Curvature of Attentioncited by 55
  5. 2024Diffusion Models and Representation Learning: A Surveycited by 53
  6. 2024No Training, No Problem: Rethinking Classifier-Free Guidance for Diffusion Modelscited by 52
  7. 2024A Noise is Worth Diffusion Guidancecited by 48
  8. 2025Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Modelscited by 35
  9. 2024Self-Improving Diffusion Models with Synthetic Datacited by 34
  10. 2024Spatiotemporal Skip Guidance for Enhanced Video Diffusion Samplingcited by 33
  11. 2025Emergent Temporal Correspondences from Video Diffusion Transformerscited by 30
  12. 2025Seg4Diff: Unveiling Open-Vocabulary Segmentation in Text-to-Image Diffusion Transformerscited by 24
38 more
  1. 2024Self-Guidance: Boosting Flow and Diffusion Generation on Their Owncited by 22
  2. 2025Diffusion-NPO: Negative Preference Optimization for Better Preference Aligned Generation of Diffusion Modelscited by 21
  3. 2025Lookahead Unmasking Elicits Accurate Decoding in Diffusion Language Modelscited by 15
  4. 2025Token Perturbation Guidance for Diffusion Modelscited by 14
  5. 2025FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Computecited by 12
  6. 2025TCFG: Tangential Damping Classifier-free Guidancecited by 12
  7. 2025Normalized Attention Guidance: Universal Negative Guidance for Diffusion Modelscited by 12
  8. 2025Entropy Rectifying Guidance for Diffusion and Flow Modelscited by 11
  9. 2025It's Never Too Late: Noise Optimization for Collapse Recovery in Trained Diffusion Modelscited by 9
  10. 2024TV-3DG: Mastering Text-to-3D Customized Generation with Visual Promptcited by 8
  11. 2024Gradient-Free Classifier Guidance for Diffusion Model Samplingcited by 8
  12. 2025CAMEO: Correspondence-Attention Alignment for Multi-View Diffusion Modelscited by 8
  13. 2025PLADIS: Pushing the Limits of Attention in Diffusion Models at Inference Time by Leveraging Sparsitycited by 7
  14. 2025Unconditional Priors Matter! Improving Conditional Generation of Fine-Tuned Diffusion Modelscited by 7
  15. 2025Understanding Attention Mechanism in Video Diffusion Modelscited by 7
  16. 2025DFBench: Benchmarking Deepfake Image Detection Capability of Large Multimodal Modelscited by 7
  17. 2025Steering Guidance for Personalized Text-to-Image Diffusion Modelscited by 7
  18. 2025Massive Activations are the Key to Local Detail Synthesis in Diffusion Transformerscited by 7
  19. 2026ARGUS: Stacked Multi-View Identity Mosaic Injection for Subject-Preserving Video Generationcited by 7
  20. 2024Geometry-Aware Score Distillation via 3D Consistent Noising and Gradient Consistency Modelingcited by 6
  21. 2024FreeEnhance: Tuning-Free Image Enhancement via Content-Consistent Noising-and-Denoising Processcited by 6
  22. 2025Increasing the Utility of Synthetic Images through Chamfer Guidancecited by 6
  23. 2026Dual-Channel Attention Guidance for Training-Free Image Editing Control in Diffusion Transformerscited by 6
  24. 2024Infinite-Resolution Integral Noise Warping for Diffusion Modelscited by 5
  25. 2025Skrr: Skip and Re-use Text Encoder Layers for Memory Efficient Text-to-Image Generationcited by 4
  26. 2025CHATS: Combining Human-Aligned Optimization and Test-Time Sampling for Text-to-Image Generationcited by 4
  27. 2025MusicInfuser: Making Video Diffusion Listen and Dancecited by 4
  28. 2025Where and How to Perturb: On the Design of Perturbation Guidance in Diffusion and Flow Modelscited by 4
  29. 2025Rethinking Oversaturation in Classifier-Free Guidance via Low Frequencycited by 4
  30. 2025FreeAction: Training-Free Techniques for Enhanced Fidelity of Trajectory-to-Video Generationcited by 4
  31. 2025MATRIX: Mask Track Alignment for Interaction-aware Video Generationcited by 4
  32. 2026Denoising, Fast and Slow: Difficulty-Aware Adaptive Sampling for Image Generationcited by 4
  33. 2024Text-to-Image Generation Via Energy-Based CLIPcited by 3
  34. 2025Identity-preserving Distillation Sampling by Fixed-Point Iteratorcited by 3
  35. 2025PickStyle: Video-to-Video Style Transfer with Context-Style Adapterscited by 3
  36. 2025Noise Projection: Closing the Prompt-Agnostic Gap Behind Text-to-Image Misalignment in Diffusion Modelscited by 3
  37. 2026Delta Score Matters! Spatial Adaptive Multi Guidance in Diffusion Modelscited by 3
  38. 2025DC-VSR: Spatially and Temporally Consistent Video Super-Resolution with Video Diffusion Priorcited by 2

50 most cited of 108 All 108 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2022Improving Sample Quality of Diffusion Models Using Self-Attention Guidance
  2. 2024Rectified Diffusion Guidance for Conditional Generation
  3. 2025Diffusion Sampling Path Tells More: An Efficient Plug-and-Play Strategy for Sample Filtering
  4. 2025Learn to Guide Your Diffusion Model
  5. 2025Guiding a Diffusion Transformer with the Internal Dynamics of Itself
  6. 2025Feedback Guidance of Diffusion Models
  7. 2025Improving Classifier-Free Guidance in Masked Diffusion: Low-Dim Theoretical Insights with High-Dim Impact
  8. 2025Navigating with Annealing Guidance Scale in Diffusion Space