paper-with-me

Papers

Gradient Guidance for Diffusion Models: An Optimization Perspective

2024-04-23 · Yingqing Guo, Hui Yuan, Yukang Yang, Minshuo Chen, Mengdi Wang

Diffusion models have demonstrated empirical successes in various applications and can be adapted to task-specific needs via guidance. This paper studies a form of gradient guidance for adapting a pre-trained diffusion model towards optimizing user-specified objectives. We establish a mathematical framework for guided diffusion to systematically study its optimization theory and algorithmic design. Our theoretical analysis spots a strong link between guided diffusion models and optimization: gradient-guided diffusion models are essentially sampling solutions to a regularized optimization problem, where the regularization is imposed by the pre-training data. As for guidance design, directly bringing in the gradient of an external objective function as guidance would jeopardize the structure in generated samples. We investigate a modified form of gradient guidance based on a forward prediction loss, which leverages the information in pre-trained score functions and provably preserves the latent structure. We further consider an iteratively fine-tuned version of gradient-guided diffusion where guidance and score network are both updated with newly generated samples. This process mimics a first-order optimization iteration in expectation, for which we proved O(1/K) convergence rate to the global optimum when the objective function is concave. Our code will be released at https://github.com/yukang123/GGDMOptim.git.

📄 PDF Abstract BibTeX arXiv:2404.14743

Code (1)

yukang123/ggdmoptim 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

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 제목 키워드 기반

End-to-End Diffusion Latent Optimization Improves Classifier Guidance

2023-03-23 · ICCV 2023 1 · Bram Wallace, Akash Gokul, Stefano Ermon, Nikhil Naik

Classifier guidance -- using the gradients of an image classifier to steer the generations of a diffusion model -- has the potential to dramatically expand the creative control over image generation and editing. However,…

DenoisingImage Generation

Improving Classifier-Free Guidance of Flow Matching via Manifold Projection

2026-01-29 · Jian-Feng Cai, Haixia Liu, Zhengyi Su, Chao Wang arxiv

Classifier-free guidance (CFG) is a widely used technique for controllable generation in diffusion and flow-based models. Despite its empirical success, CFG relies on a heuristic linear extrapolation that is often sensit…

Computational Efficiency

Understanding and Improving Training-free Loss-based Diffusion Guidance

2024-03-19 · Yifei Shen, Xinyang Jiang, Yezhen Wang, Yifan Yang 외

Adding additional control to pretrained diffusion models has become an increasingly popular research area, with extensive applications in computer vision, reinforcement learning, and AI for science. Recently, several stu…

Motion Generation

Refining Alignment Framework for Diffusion Models with Intermediate-Step Preference Ranking

2025-02-01 · Jie Ren, Yuhang Zhang, Dongrui Liu, Xiaopeng Zhang 외

Direct preference optimization (DPO) has shown success in aligning diffusion models with human preference. Previous approaches typically assume a consistent preference label between final generations and noisy samples at…

Entropy-driven Sampling and Training Scheme for Conditional Diffusion Generation

2022-06-23 · Shengming Li, Guangcong Zheng, Hui Wang, Taiping Yao 외

Denoising Diffusion Probabilistic Model (DDPM) is able to make flexible conditional image generation from prior noise to real data, by introducing an independent noise-aware classifier to provide conditional gradient gui…

Conditional Image GenerationDenoisingImage Generation