arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.13703cs.CVcs.AIcs.LG
收藏

端到端扩散潜在优化改进分类器引导

End-to-End Diffusion Latent Optimization Improves Classifier Guidance

Salesforce Research(赛富时研究院);Stanford University(斯坦福大学)

Bram Wallace, Akash Gokul, Stefano Ermon, Nikhil Naik

AI总结:

本文提出DOODL方法,通过直接优化扩散潜在并利用可逆扩散过程实现内存高效反向传播,解决了传统分类器引导中梯度错位问题,在多种引导任务上优于一步分类器引导。

摘要:

分类器引导——利用图像分类器的梯度来引导扩散模型的生成——有潜力大幅扩展对图像生成和编辑的创造性控制。然而,目前的分类器引导要么需要训练新的噪声感知模型以获得准确梯度,要么使用对最终生成的一步去噪近似,这会导致梯度错位和次优控制。我们强调了这种近似的缺点,并提出了一种新的引导方法:扩散潜在直接优化(DOODL),该方法通过利用可逆扩散过程实现内存高效的反向传播,针对预训练分类器在真实生成像素上的梯度来优化扩散潜在,从而实现即插即用的引导。为了展示更精确引导的潜力,DOODL在不同形式的引导上优于一步分类器引导,在计算和人类评估指标上均表现更佳:使用CLIP引导改进DrawBench中复杂提示的生成,使用细粒度视觉分类器扩展Stable Diffusion的词汇表,利用CLIP视觉编码器实现图像条件生成,以及使用美学评分网络改善图像美学。代码见https://github.com/salesforce/DOODL。

英文摘要:

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, currently classifier guidance requires either training new noise-aware models to obtain accurate gradients or using a one-step denoising approximation of the final generation, which leads to misaligned gradients and sub-optimal control. We highlight this approximation's shortcomings and propose a novel guidance method: Direct Optimization of Diffusion Latents (DOODL), which enables plug-and-play guidance by optimizing diffusion latents w.r.t. the gradients of a pre-trained classifier on the true generated pixels, using an invertible diffusion process to achieve memory-efficient backpropagation. Showcasing the potential of more precise guidance, DOODL outperforms one-step classifier guidance on computational and human evaluation metrics across different forms of guidance: using CLIP guidance to improve generations of complex prompts from DrawBench, using fine-grained visual classifiers to expand the vocabulary of Stable Diffusion, enabling image-conditioned generation with a CLIP visual encoder, and improving image aesthetics using an aesthetic scoring network. Code at https://github.com/salesforce/DOODL.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑