Skip to main content
QUICK REVIEW

[论文解读] SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equations

Chenlin Meng, Yutong He|arXiv (Cornell University)|Aug 2, 2021
Generative Adversarial Networks and Image SynthesisComputer Science被引用 299
一句话总结

SDEdit 使用预训练的基于分数的扩散模型,在不需要任务特定训练的情况下,借助用户引导进行受引导的图像合成与编辑,在真实感与忠实度之间取得平衡。

ABSTRACT

Guided image synthesis enables everyday users to create and edit photo-realistic images with minimum effort. The key challenge is balancing faithfulness to the user input (e.g., hand-drawn colored strokes) and realism of the synthesized image. Existing GAN-based methods attempt to achieve such balance using either conditional GANs or GAN inversions, which are challenging and often require additional training data or loss functions for individual applications. To address these issues, we introduce a new image synthesis and editing method, Stochastic Differential Editing (SDEdit), based on a diffusion model generative prior, which synthesizes realistic images by iteratively denoising through a stochastic differential equation (SDE). Given an input image with user guide of any type, SDEdit first adds noise to the input, then subsequently denoises the resulting image through the SDE prior to increase its realism. SDEdit does not require task-specific training or inversions and can naturally achieve the balance between realism and faithfulness. SDEdit significantly outperforms state-of-the-art GAN-based methods by up to 98.09% on realism and 91.72% on overall satisfaction scores, according to a human perception study, on multiple tasks, including stroke-based image synthesis and editing as well as image compositing.

研究动机与目标

  • 推动并实现受引导的图像合成与编辑,使其对用户引导保持忠实同时又具真实感。
  • 避免为新的编辑任务进行任务特定的训练数据与损失设计。
  • 利用预训练的基于扩散的生成先验,将用户引导与图像真实感整合起来。

提出的方法

  • 将图像合成/编辑表述为从用户引导的嘈杂版本出发、反转一个VE-SDE的过程。
  • 在时间 t0 对引导添加高斯噪声,并运行反向 SDE 以产生 x(0)。
  • 使用通过去噪分数匹配训练得到的预训练分数模型 s_theta(x(t), t) 来近似 grad log p_t(x)。
  • 用欧拉-马鲁雅玛离散化反向 SDE(方程式4)以生成最终图像。
  • 通过超参数 t0 提供真实感-忠实度的权衡,t0 越大越真实但忠实度越低。

实验结果

研究问题

  • RQ1一个单一的预训练扩散式先验是否可以在不进行任务特定训练的情况下对多种引导实现既真实又忠实的编辑?
  • RQ2反向 SDE 中起始时间 t0 如何影响真实感与忠实度之间的平衡?
  • RQ3与基于 GAN 的基线相比,SDEdit 在笔画生成、笔画编辑和图像合成方面的表现如何?

主要发现

  • SDEdit 在笔画生成的真实感和人类研究的总体满意度方面优于最先进的基于 GAN 的方法(在特定基线下,LSUN Bedroom 数据集的真实感高达 98.09%、满意度高达 91.72%)。
  • SDEdit 在 LSUN 和 CelebA-HQ 数据集的笔画编辑方面比基线方法实现更高的忠实度与真实感。
  • 在图像合成中,SDEdit 的忠实度与真实感更佳,在总体满意度方面比传统混合和 GAN 基线提升高达 83.73%。
  • 真实感-忠实度的权衡可通过 t0 控制,通常对合理的引导而言需要 t0 处于区间 [0.3, 0.6]。
  • 一个命题给出对引导输出偏差的概率界限,该界限随 t0 增大而增大,解释了该权衡。
  • 该方法仅需要一个预训练的 SDE 模型,并不依赖任务特定的训练数据。

阅读本论文

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

在 Nubint 中阅读本论文

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