通过辛伴随方法实现精确的引导扩散采样
Towards Accurate Guided Diffusion Sampling through Symplectic Adjoint Method
AI总结:
针对扩散模型免训练引导采样中早期干净图像单步估计不准导致引导偏差的问题,提出辛伴随引导SAG,通过n次函数调用估计干净图像并以辛伴随法高效准确求梯度,提升了图像和视频生成质量。
摘要:
扩散模型中的免训练引导采样利用现成的预训练网络(例如美学评估模型)来引导生成过程。当前的免训练引导采样算法基于对干净图像的单步估计来获取引导能量函数。然而,由于现成的预训练网络是在干净图像上训练的,对干净图像的单步估计过程可能不准确,尤其是在扩散模型生成过程的早期阶段。这导致早期时间步的引导不准确。为解决这一问题,我们提出了辛伴随引导(Symplectic Adjoint Guidance, SAG),它在两个内部阶段计算梯度引导。首先,SAG通过$n$次函数调用估计干净图像,其中$n$是可灵活调整的超参数,可根据特定图像质量需求进行定制。其次,SAG使用辛伴随方法在内存需求方面准确且高效地获取梯度。大量实验表明,在引导图像和视频生成任务中,SAG生成的图像质量均优于基线方法。
英文摘要:
Training-free guided sampling in diffusion models leverages off-the-shelf pre-trained networks, such as an aesthetic evaluation model, to guide the generation process. Current training-free guided sampling algorithms obtain the guidance energy function based on a one-step estimate of the clean image. However, since the off-the-shelf pre-trained networks are trained on clean images, the one-step estimation procedure of the clean image may be inaccurate, especially in the early stages of the generation process in diffusion models. This causes the guidance in the early time steps to be inaccurate. To overcome this problem, we propose Symplectic Adjoint Guidance (SAG), which calculates the gradient guidance in two inner stages. Firstly, SAG estimates the clean image via $n$ function calls, where $n$ serves as a flexible hyperparameter that can be tailored to meet specific image quality requirements. Secondly, SAG uses the symplectic adjoint method to obtain the gradients accurately and efficiently in terms of the memory requirements. Extensive experiments demonstrate that SAG generates images with higher qualities compared to the baselines in both guided image and video generation tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。