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

从文字流向像素:一种面向跨模态演化的无噪声框架

Flowing from Words to Pixels: A Noise-Free Framework for Cross-Modality Evolution

Meta;Johns Hopkins University(约翰斯·霍普金斯大学)

Qihao Liu, Xi Yin, Alan Yuille, Andrew Brown, Mannat Singh

AI总结:

本研究提出跨模态流匹配框架CrossFlow,通过变分编码器与无分类器引导实现模态间直接映射,无需噪声分布与条件机制,在文本生成图像等多任务上性能优异且扩展性好。

摘要:

扩散模型及其泛化形式流匹配(flow matching)已在媒体生成领域产生了显著影响。该领域的传统方法是学习从高斯噪声这一简单源分布到目标媒体分布的复杂映射。对于文本到图像生成这类跨模态任务,研究人员会在模型中加入条件机制,同时学习同样的从噪声到图像的映射。\n流匹配有一个关键且目前相对未被充分探索的特性:与扩散模型不同,它的源分布并不受限于必须是噪声。因此,本文提出了一种范式转变,并探讨了一个问题:我们是否可以转而训练流匹配模型,学习从一种模态的分布到另一种模态分布的直接映射,从而同时省去噪声分布和条件机制的需求。\n我们提出了一个通用且简洁的跨模态流匹配框架CrossFlow。我们展示了对输入数据应用变分编码器的重要性,并介绍了一种实现无分类器引导(Classifier-free guidance)的方法。令人意外的是,在文本到图像任务中,采用不带交叉注意力的普通Transformer的CrossFlow,性能略优于标准流匹配模型;我们还证明它在训练步数和模型规模扩展时表现更优,同时还支持有趣的隐空间算术运算,能在输出空间产生具有语义意义的编辑效果。\n为了证明我们方法的泛化性,我们还展示了CrossFlow在多种跨模态/模态内映射任务上与现有最优方法持平或更优,这些任务包括图像描述(image captioning)、深度估计和图像超分辨率。我们希望本文能为加速跨模态媒体生成的进展做出贡献。

英文摘要:

Diffusion models, and their generalization, flow matching, have had a remarkable impact on the field of media generation. Here, the conventional approach is to learn the complex mapping from a simple source distribution of Gaussian noise to the target media distribution. For cross-modal tasks such as text-to-image generation, this same mapping from noise to image is learnt whilst including a conditioning mechanism in the model. One key and thus far relatively unexplored feature of flow matching is that, unlike Diffusion models, they are not constrained for the source distribution to be noise. Hence, in this paper, we propose a paradigm shift, and ask the question of whether we can instead train flow matching models to learn a direct mapping from the distribution of one modality to the distribution of another, thus obviating the need for both the noise distribution and conditioning mechanism. We present a general and simple framework, CrossFlow, for cross-modal flow matching. We show the importance of applying Variational Encoders to the input data, and introduce a method to enable Classifier-free guidance. Surprisingly, for text-to-image, CrossFlow with a vanilla transformer without cross attention slightly outperforms standard flow matching, and we show that it scales better with training steps and model size, while also allowing for interesting latent arithmetic which results in semantically meaningful edits in the output space. To demonstrate the generalizability of our approach, we also show that CrossFlow is on par with or outperforms the state-of-the-art for various cross-modal / intra-modal mapping tasks, viz. image captioning, depth estimation, and image super-resolution. We hope this paper contributes to accelerating progress in cross-modal media generation.

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

↑