Skip to main content
QUICK REVIEW

[论文解读] Matryoshka Diffusion Models

Jiatao Gu, Shuangfei Zhai|arXiv (Cornell University)|Oct 23, 2023
Generative Adversarial Networks and Image SynthesisComputer Science被引用 10
一句话总结

MDM 是一个端到端的高分辨率扩散框架,使用 NestedUNet 共同去噪多分辨率输入,采用渐进式训练,分辨率可达到 1024^2。

ABSTRACT

Diffusion models are the de facto approach for generating high-quality images and videos, but learning high-dimensional models remains a formidable task due to computational and optimization challenges. Existing methods often resort to training cascaded models in pixel space or using a downsampled latent space of a separately trained auto-encoder. In this paper, we introduce Matryoshka Diffusion Models(MDM), an end-to-end framework for high-resolution image and video synthesis. We propose a diffusion process that denoises inputs at multiple resolutions jointly and uses a NestedUNet architecture where features and parameters for small-scale inputs are nested within those of large scales. In addition, MDM enables a progressive training schedule from lower to higher resolutions, which leads to significant improvements in optimization for high-resolution generation. We demonstrate the effectiveness of our approach on various benchmarks, including class-conditioned image generation, high-resolution text-to-image, and text-to-video applications. Remarkably, we can train a single pixel-space model at resolutions of up to 1024x1024 pixels, demonstrating strong zero-shot generalization using the CC12M dataset, which contains only 12 million images. Our code is released at https://github.com/apple/ml-mdm

研究动机与目标

  • 在没有级联扩散或潜变量扩散管线的情况下,激励高分辨率图像/视频生成。
  • 在扩展空间引入多分辨率扩散过程。
  • 提出 NestedUNet 架构,以在不同分辨率之间共享计算。
  • 开发渐进式训练计划,稳步引入更高分辨率。
  • 在类别条件图像生成、文本到图像、以及文本到视频任务中展示有效性。

提出的方法

  • 将标准扩散扩展到一个含有多个分辨率的扩展空间 z^r_t,通过下采样算子 D^r(.) 相连。
  • 引入 NestedUNet,在单一去噪函数内实现跨分辨率的参数和计算共享。
  • 使用多分辨率去噪目标(Eq. 3)进行训练,对各分辨率的损失进行加权(ω_t^r)。
  • 采用从低分辨率开始,逐步添加更高分辨率的渐进式训练(多阶段训练)。
  • 实现混合分辨率训练,以同时学习具有不同最终分辨率的样本。
  • 在测试时提供并行推理,使所有分辨率同时生成。

实验结果

研究问题

  • RQ1在扩展空间中的多分辨率扩散如何影响高分辨率生成的收敛速度和最终质量?
  • RQ2端到端的高分辨率扩散是否能在简化训练/推理管线的同时,达到或超越级联和潜变量扩散方法?
  • RQ3渐进式训练和嵌套层数深度对图像和视频生成的效率与质量有何影响?
  • RQ4多分辨率扩散模型是否能在使用有限数据的情况下很好地泛化到文本到图像和文本到视频任务?

主要发现

  • MDM 在高分辨率(最高到 1024^2)实现更快的收敛和更高质量,且无需级联或潜变量扩散。
  • 带有渐进式训练的多分辨率损失显著提高了训练效率和最终结果。
  • 在可比设置下,级联 DM 的表现不及 MDM,尽管参数总数和推理步数更多。
  • MDM 在 1024^2 分辨率的文本到图像任务上,使用 CC12M(12M 图像)展现出强大的零-shot 能力。
  • 消融研究显示多分辨率损失和渐进式训练都很有益;增加嵌套层数在成本最小化的情况下提升了收敛性。
  • MDM 在 ImageNet 和 MS-COCO 的 FID 指标方面与若干基线相当甚至优越,并且在 WebVid-10M 上实现高分辨率的文本到视频生成。

阅读本论文

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

在 Nubint 中阅读本论文

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