arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.10752cs.CV
收藏

基于潜空间扩散模型的高分辨率图像合成

High-Resolution Image Synthesis with Latent Diffusion Models

Ludwig Maximilian University of Munich(慕尼黑大学);Heidelberg University(海德堡大学);Runway ML(Runway ML公司)

Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, Björn Ommer

摘要:

通过将图像形成过程分解为去噪自动编码器的顺序应用,扩散模型(DM)在图像数据和其他数据上实现了最先进的合成结果。此外,它们的制定允许引导机制来控制图像生成过程而无需重新训练。然而,由于这些模型通常直接在像素空间中操作,因此对强大DM的优化通常会消耗数百个GPU天,并且由于顺序评估,推断是昂贵的。为了在有限的计算资源上进行DM训练,同时保持其质量和灵活性,我们将其应用于功能强大的预训练自动编码器的潜在空间中。与以前的工作相比,在这样的表示上训练扩散模型允许第一次在复杂性降低和细节保留之间达到接近最佳的点,大大提高了视觉保真度。通过在模型架构中引入交叉注意层,我们将扩散模型转变为强大而灵活的生成器,用于文本或边界框等一般条件输入,并以卷积方式实现高分辨率合成。我们的潜空间扩散模型(LDMs)实现了图像修补的最新技术水平,并在各种任务上具有高度竞争力的性能,包括无条件图像生成,语义场景合成和超分辨率,同时与基于像素的DM相比显着降低了计算要求。代码可在https://github.com/CompVis/latent-diffusion上获得。

英文摘要:

By decomposing the image formation process into a sequential application of denoising autoencoders, diffusion models (DMs) achieve state-of-the-art synthesis results on image data and beyond. Additionally, their formulation allows for a guiding mechanism to control the image generation process without retraining. However, since these models typically operate directly in pixel space, optimization of powerful DMs often consumes hundreds of GPU days and inference is expensive due to sequential evaluations. To enable DM training on limited computational resources while retaining their quality and flexibility, we apply them in the latent space of powerful pretrained autoencoders. In contrast to previous work, training diffusion models on such a representation allows for the first time to reach a near-optimal point between complexity reduction and detail preservation, greatly boosting visual fidelity. By introducing cross-attention layers into the model architecture, we turn diffusion models into powerful and flexible generators for general conditioning inputs such as text or bounding boxes and high-resolution synthesis becomes possible in a convolutional manner. Our latent diffusion models (LDMs) achieve a new state of the art for image inpainting and highly competitive performance on various tasks, including unconditional image generation, semantic scene synthesis, and super-resolution, while significantly reducing computational requirements compared to pixel-based DMs. Code is available at https://github.com/CompVis/latent-diffusion .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑