[论文解读] SinDiffusion: Learning a Diffusion Model from a Single Natural Image
SinDiffusion 提出了一种单尺度、基于图像块的扩散模型,从单张自然图像中学习内部图像块统计特性,实现无误差累积的高保真、多样化图像生成。其在图像质量和多样性方面优于基于 GAN 的方法(如 SinGAN),在 SIFID 和 LPIPS 指标上达到最先进水平。
We present SinDiffusion, leveraging denoising diffusion models to capture internal distribution of patches from a single natural image. SinDiffusion significantly improves the quality and diversity of generated samples compared with existing GAN-based approaches. It is based on two core designs. First, SinDiffusion is trained with a single model at a single scale instead of multiple models with progressive growing of scales which serves as the default setting in prior work. This avoids the accumulation of errors, which cause characteristic artifacts in generated results. Second, we identify that a patch-level receptive field of the diffusion network is crucial and effective for capturing the image's patch statistics, therefore we redesign the network structure of the diffusion model. Coupling these two designs enables us to generate photorealistic and diverse images from a single image. Furthermore, SinDiffusion can be applied to various applications, i.e., text-guided image generation, and image outpainting, due to the inherent capability of diffusion models. Extensive experiments on a wide range of images demonstrate the superiority of our proposed method for modeling the patch distribution.
研究动机与目标
- 为解决基于 GAN 的单图像生成方法的局限性,例如生成图像中的误差累积和特征伪影。
- 探索使用扩散模型而非渐进式 GAN 来从单张图像中学习内部图像块统计特性的可行性和有效性。
- 通过重新设计网络架构,聚焦于局部图像块级统计特性而非全局图像记忆,以提升图像的多样性与保真度。
- 通过利用扩散模型的固有能力,实现无需微调的灵活、条件引导图像生成与操作。
提出的方法
- SinDiffusion 在单张自然图像上训练单尺度扩散模型,避免了先前基于 GAN 的方法所采用的多尺度渐进式训练。
- 引入基于图像块的去噪网络,减少下采样并使用残差块,以限制感受野并促进局部图像块统计特性的学习。
- 模型采用修改后的跳跃连接机制的去噪 U-Net 架构,在保留局部结构的同时支持图像生成。
- 对于条件生成,采用基于梯度的采样过程,利用得分函数(如 CLIP 或 Lp 距离)将生成图像与条件(如文本或参考图像)对齐。
- 在图像外补绘(outpainting)中应用修改后的采样规则:$\hat{x}_{\theta}(z_{t}) = \phi_{N}(y_{t-1}) + x_{\theta}(z_{t}) - \phi_{N}(x_{\theta}(z_{t}))$,其中 $\phi_{N}$ 为低通滤波器。
- 在训练和推理过程中采用掩码去噪策略,其中掩码 $m^{a}$ 定义需要生成的区域(例如外补绘区域)。
实验结果
研究问题
- RQ1单尺度扩散模型能否在无需渐进式多尺度训练的情况下,有效学习并从单张自然图像中生成多样且高保真的图像?
- RQ2扩散模型的感受野如何影响单图像生成中图像保真度与多样性的平衡?
- RQ3在未微调的情况下,基于单张图像训练的扩散模型能否泛化到多样化下游任务(如文本到图像生成和图像外补绘)?
- RQ4用单尺度扩散模型替代多尺度 GAN 是否能消除误差累积并减少生成图像中的伪影?
主要发现
- SinDiffusion 在 Places50 数据集上取得 SIFID 得分为 0.11 和 LPIPS 得分为 0.432,显著优于多尺度扩散基线模型(SIFID:0.74,LPIPS:0.349)。
- 感受野为全图 0.36(相对值)的模型在多样性(LPIPS:0.432)与保真度(SIFID:0.11)之间达到最佳平衡。
- 与 SinGAN 相比,SinDiffusion 生成的图像更具真实感和多样性,避免了基于 GAN 方法常见的模糊纹理和边界伪影。
- 该方法实现了高保真度的文本引导图像生成与图像外补绘,生成结果语义一致且逼真,无需重新训练。
- 与多尺度扩散基线相比,SinDiffusion 减少了模型参数量和计算成本,同时提升了性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。