arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2307.08698cs.CVcs.LG
收藏

潜空间中的 Flow Matching

Flow Matching in Latent Space

VinAI Research(VinAI研究院);National University of Singapore(新加坡国立大学)

Quan Dao, Hao Phung, Binh Nguyen, Anh Tran

AI总结:

本文提出在预训练自编码器潜空间中进行 flow matching,以提升高分辨率图像生成的效率与可扩展性,并支持多类条件生成,实验与理论均验证其有效性。

摘要:

Flow matching 是近期用于训练生成模型的框架,展现出令人瞩目的实证性能,同时与基于扩散的模型相比相对更易训练。尽管其具有优势,先前方法仍面临像素空间中计算昂贵以及现成求解器需要大量函数评估的挑战。此外,尽管基于潜变量的生成方法近年来取得了巨大成功,但这一特定模型类型在该领域仍未得到充分探索。在本工作中,我们提出在预训练自编码器的潜空间中应用 flow matching,从而为高分辨率图像合成提供更高的计算效率和可扩展性。这使得 flow matching 训练能够在受限计算资源下进行,同时保持其质量和灵活性。此外,我们的工作是将多种条件集成到 flow matching 以完成条件生成任务的开创性贡献,这些任务包括标签条件图像生成、图像修复以及语义到图像生成。通过大量实验,我们的方法在 CelebA-HQ、FFHQ、LSUN Church & Bedroom 和 ImageNet 等多个数据集上的定量与定性结果中均证明了其有效性。我们还对重建的潜流分布与真实数据分布之间的 Wasserstein-2 距离给出了理论控制,表明该距离以潜 flow matching 目标为上界。我们的代码将在 https://github.com/VinAIResearch/LFM.git 提供。

英文摘要:

Flow matching is a recent framework to train generative models that exhibits impressive empirical performance while being relatively easier to train compared with diffusion-based models. Despite its advantageous properties, prior methods still face the challenges of expensive computing and a large number of function evaluations of off-the-shelf solvers in the pixel space. Furthermore, although latent-based generative methods have shown great success in recent years, this particular model type remains underexplored in this area. In this work, we propose to apply flow matching in the latent spaces of pretrained autoencoders, which offers improved computational efficiency and scalability for high-resolution image synthesis. This enables flow-matching training on constrained computational resources while maintaining their quality and flexibility. Additionally, our work stands as a pioneering contribution in the integration of various conditions into flow matching for conditional generation tasks, including label-conditioned image generation, image inpainting, and semantic-to-image generation. Through extensive experiments, our approach demonstrates its effectiveness in both quantitative and qualitative results on various datasets, such as CelebA-HQ, FFHQ, LSUN Church & Bedroom, and ImageNet. We also provide a theoretical control of the Wasserstein-2 distance between the reconstructed latent flow distribution and true data distribution, showing it is upper-bounded by the latent flow matching objective. Our code will be available at https://github.com/VinAIResearch/LFM.git.

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

↑