Skip to main content
QUICK REVIEW

[论文解读] Guidance with Spherical Gaussian Constraint for Conditional Diffusion

Lingxiao Yang, Shutong Ding|arXiv (Cornell University)|Feb 5, 2024
Guidance and Control SystemsEngineering被引用 3
一句话总结

本文提出了一种无需训练的方法——球形高斯约束扩散模型(DSG),通过在中间数据流形内约束引导步骤,缓解了条件扩散模型中的流形偏离问题。DSG 允许使用更大的步长,显著提升了推理速度与生成质量,仅需极少代码修改且计算开销可忽略不计,在多种条件生成任务中超越了当前最先进方法。

ABSTRACT

Recent advances in diffusion models attempt to handle conditional generative tasks by utilizing a differentiable loss function for guidance without the need for additional training. While these methods achieved certain success, they often compromise on sample quality and require small guidance step sizes, leading to longer sampling processes. This paper reveals that the fundamental issue lies in the manifold deviation during the sampling process when loss guidance is employed. We theoretically show the existence of manifold deviation by establishing a certain lower bound for the estimation error of the loss guidance. To mitigate this problem, we propose Diffusion with Spherical Gaussian constraint (DSG), drawing inspiration from the concentration phenomenon in high-dimensional Gaussian distributions. DSG effectively constrains the guidance step within the intermediate data manifold through optimization and enables the use of larger guidance steps. Furthermore, we present a closed-form solution for DSG denoising with the Spherical Gaussian constraint. Notably, DSG can seamlessly integrate as a plugin module within existing training-free conditional diffusion methods. Implementing DSG merely involves a few lines of additional code with almost no extra computational overhead, yet it leads to significant performance improvements. Comprehensive experimental results in various conditional generation tasks validate the superiority and adaptability of DSG in terms of both sample quality and time efficiency.

研究动机与目标

  • 识别并形式化训练-free 条件扩散模型中由损失引导导致的流形偏离问题。
  • 解决现有方法因引导步长过小而导致的生成质量与推理速度之间的权衡问题。
  • 开发一种即插即用模块,使引导步长更大,同时保持数据流形结构。
  • 为高效集成到现有训练-free 条件扩散框架中,提供闭式解。
  • 在包括图像修复、超分辨率和风格引导在内的多种条件生成任务中验证该方法的有效性。

提出的方法

  • 该方法利用高斯分布的高维集中现象,推导出围绕中间数据流形的高置信区域的球形高斯约束。
  • 将引导步长建模为带有球形高斯约束和引导损失目标的优化问题,确保步长保持在流形内部。
  • 推导出约束去噪步骤的闭式解,实现高效计算,几乎不增加额外计算成本。
  • 该方法设计为即插即用模块,仅需几行代码即可集成到现有训练-free 条件扩散模型中。
  • 该方法将去噪步骤投影到以模型预测均值为中心、半径由噪声分布标准差决定的超球面上。
  • 球形约束使引导步长可显著增大,同时不偏离数据流形,从而减少采样步数,提升效率。

实验结果

研究问题

  • RQ1现有训练-free 条件扩散模型中,样本质量下降与推理时间增加的根本原因是什么?
  • RQ2能否为损失引导采样中因流形偏离导致的估计误差建立理论下界?
  • RQ3如何约束引导步长,使其保持在中间数据流形内,以同时提升质量与速度?
  • RQ4能否推导出约束引导的闭式解,以实现高效集成到现有模型中?
  • RQ5球形高斯约束是否能在多种条件生成任务中显著提升性能?

主要发现

  • DSG 通过消除流形偏离,显著降低损失引导的估计误差,其理论误差上限由 Jensen 间隙界定。
  • 在图像修复、超分辨率和去模糊任务中,DSG 相较于基线方法 DPS,FID 分数最高提升达 40%,在 100 步时 FID 从 0.424 降至 0.132。
  • 仅使用 20 步去噪,DSG 仍能保持高质量生成(FID = 0.272),而基线 DPS 显著退化(FID = 0.609),表明其对步数减少具有强鲁棒性。
  • 消融实验表明,DSG 允许的步长比基线方法大 100 倍而无伪影,该结果基于 PDSG(基于投影的 DSG 变体)验证。
  • 该方法在所有评估任务中均实现更优的样本质量与更快的推理速度,包括分割-文本引导与风格引导生成,且仅需极少代码修改与可忽略的计算开销。
  • 尽管性能提升显著,DSG 因确定性引导导致样本多样性略有下降,此为未来工作需注意的局限性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。