Research map / Image generation / Fast diffusion sampling
REG: Rectified Gradient Guidance for Conditional Diffusion Models
Read the paperCheck your idea against 108,967 papers
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Reframes diffusion guidance as approximating an optimal joint-distribution scaling and proposes REG, a gradient-based correction to CFG/AutoG/CG that improves FID and IS/CLIP on ImageNet and COCO text-to-image.
Problem
Guidance in conditional diffusion models is practically implemented in a way that does not match its theoretical motivation: scaling marginal distributions is shown to be invalid, so the sampler does not target the intended scaled distribution.
Approach
Replace the invalid marginal-scaling objective with a valid joint-distribution scaling objective, derive the exact guidance noise predictor (requiring future foresight), interpret existing guidance as its no-foresight approximation, and add a Jacobian-based gradient correction term (REG) that better approximates the optimal guidance.
Key results
- On ImageNet 256x256 with DiT-XL/2, REG with vanilla CFG lowers FID from 2.21 to 2.04 and raises IS from 248.36 to 276.26.
- On COCO-2017 5K with SD-XL, REG with vanilla CFG improves FID from 23.73 to 23.46 and CLIP score from 31.38 to 31.51; with cosine CFG FID drops from 32.14 to 25.62.
- REG adds roughly 1.2x to 1.9x runtime and 1.2x to 2.8x peak memory over CFG on a single A40 GPU.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Add REG to AutoG | EDM2-S · ImageNet 64×64 | FID: 1.044 -> 1.035 | Helped |
| Add REG to Interval CFG | DiT-XL/2 · ImageNet 256×256 | FID: 1.95 -> 1.86 | Helped |
| Add REG to Interval CFG | EDM2-S · ImageNet 512×512 | FID: 1.67 -> 1.67 | No clear effect |
| Add REG to Interval CFG | EDM2-XXL · ImageNet 512×512 | IS: 283.26 -> 288.72 | Helped |
| Add REG to Vanilla CFG | SD-v1-4 · COCO-2017 5K, 512×512 | FID: 20.27 -> 19.63 | Helped |
| Add REG to Vanilla CFG | SD-v1-4 · COCO-2017 5K, 512×512 | CLIP (%): 30.68 -> 30.75 | Helped |
| Add REG to Vanilla CFG | SD-XL · COCO-2017 5K, 1024×1024 | FID: 23.73 -> 23.46 | Helped |
| Add REG to Vanilla CFG | SD-XL · COCO-2017 5K, 1024×1024 | CLIP (%): 31.38 -> 31.51 | Helped |
| Add REG to Interval CFG | EDM2-S and EDM2-XXL · ImageNet 512×512 | FID: 2.29 -> 2.02; 2.16 -> 1.99; 2.21 -> 1.99; 1.67 -> 1.67; 1.83 -> 1.74; 1.80 -> 1.69; 1.81 -> 1.69; 1.45 -> 1.45 | No clear effect |
Surprising findings
- Cosine and linear CFG underperform vanilla CFG on COCO text-to-image, and SD-XL performs worse than SD-v1-4 on that benchmark.
- The guidance scheme implies the denoising start distribution should be modified, not kept as a standard Gaussian, which the authors leave as an open question.
Limitations
- REG requires a Jacobian-vector computation, adding memory and runtime overhead (up to 2.82x memory for SD-XL).
- The exact optimal guidance is intractable; REG uses diagonal and other approximations that are justified empirically.
- The modification of the denoising start distribution is not practically implemented.
Experimental setup
Datasets: ImageNet COCO-2017
Benchmarks: ImageNet 64x64 ImageNet 256x256 ImageNet 512x512 COCO-2017 5K
Metrics: FID Inception Score CLIP score runtime peak memory
Baselines: vanilla CFG cosine CFG linear CFG interval CFG AutoG classifier guidance
Builds on: classifier-free guidance classifier guidance auto-guidance DDPM interval guidance
Closest papers by meaning
- Feedback Guidance of Diffusion Models (NeurIPS 2025 · similarity 0.91)
- Adaptive Guidance: Training-free Acceleration of Conditional Diffusion Models (AAAI 2025 · similarity 0.91)
- Rectified Diffusion Guidance for Conditional Generation (CVPR 2025 · similarity 0.91)
- Towards a Golden Classifier-Free Guidance Path via Foresight Fixed Point Iterations (NeurIPS 2025 · similarity 0.91)
- Applying Guidance in a Limited Interval Improves Sample and Distribution Quality in Diffusion Models (NeurIPS 2024 · similarity 0.91)
- Elucidating the design space of classifier-guided diffusion generation (ICLR 2024 · similarity 0.90)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
