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

利用 Flow Matching 增强潜在扩散模型

Boosting Latent Diffusion with Flow Matching

LMU Munich(慕尼黑大学);CompVis(CompVis实验室);MCML(慕尼黑计算与机器学习中心)

Johannes Schusterbauer, Ming Gui, Pingchuan Ma, Nick Stracke, Stefan A. Baumann, Vincent Tao Hu, Björn Ommer

AI总结:

本文提出在冻结扩散模型与卷积解码器之间引入 Flow Matching,以低计算成本兼顾多样性与高分辨率图像合成,并可扩展至 2048²。

摘要:

视觉合成最近在性能上取得了显著飞跃,这在很大程度上得益于生成模型的突破。扩散模型一直是关键推动因素,因为它们在图像多样性方面表现出色。然而,这是以缓慢的训练和合成为代价的,而潜在扩散仅能部分缓解这一问题。为此,flow matching 是一种颇具吸引力的方法,因为它具有互补特性:训练和推理更快,但合成的多样性较低。我们证明,在冻结的扩散模型与卷积解码器之间引入 flow matching,能够以更低的计算成本和更小的模型规模实现高分辨率图像合成。随后,一个小型扩散模型可以有效提供必要的视觉多样性,而 flow matching 通过将小型潜在空间映射到高维潜在空间,高效增强分辨率和细节。这些潜在表示随后由潜在扩散方法中的后续卷积解码器投影为高分辨率图像。通过结合扩散模型的多样性、flow matching 的效率以及卷积解码器的有效性,该方法以极低的计算成本在 1024² 像素下实现了最先进的高分辨率图像合成。进一步扩展我们的方法后,可以达到最高 2048² 像素的分辨率。重要的是,我们的方法与底层模型近期的近似和加速策略正交,因此可以轻松集成到各种扩散模型框架中。

英文摘要:

Visual synthesis has recently seen significant leaps in performance, largely due to breakthroughs in generative models. Diffusion models have been a key enabler, as they excel in image diversity. However, this comes at the cost of slow training and synthesis, which is only partially alleviated by latent diffusion. To this end, flow matching is an appealing approach due to its complementary characteristics of faster training and inference but less diverse synthesis. We demonstrate that introducing flow matching between a frozen diffusion model and a convolutional decoder enables high-resolution image synthesis at reduced computational cost and model size. A small diffusion model can then effectively provide the necessary visual diversity, while flow matching efficiently enhances resolution and detail by mapping the small to a high-dimensional latent space. These latents are then projected to high-resolution images by the subsequent convolutional decoder of the latent diffusion approach. Combining the diversity of diffusion models, the efficiency of flow matching, and the effectiveness of convolutional decoders, state-of-the-art high-resolution image synthesis is achieved at $1024^2$ pixels with minimal computational cost. Further scaling up our method we can reach resolutions up to $2048^2$ pixels. Importantly, our approach is orthogonal to recent approximation and speed-up strategies for the underlying model, making it easily integrable into the various diffusion model frameworks.

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

↑