arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.10997cs.CVcs.AIcs.LG
收藏

MarkovGen:用于高效文本到图像生成的结构化预测

MarkovGen: Structured Prediction for Efficient Text-to-Image Generation

Google Research(谷歌研究院)

Sadeep Jayasumana, Daniel Glasner, Srikumar Ramalingam, Andreas Veit, Ayan Chakrabarti, Sanjiv Kumar

AI总结:

本文提出 MarkovGen,以可微 MRF 建模图像 token 间空间兼容性,在 Muse 上将采样推理加速 1.5 倍并减少伪影、提升图像质量。

摘要:

现代文本到图像生成模型能够生成既具有照片级真实感又忠实于文本提示的高质量图像。然而,这种质量伴随着巨大的计算成本:几乎所有这些模型都是迭代式的,并且需要使用大型模型多次运行采样。需要这一迭代过程,是为了确保图像的不同区域不仅与文本提示对齐,而且彼此之间相互兼容。在本文中,我们提出了一种轻量级方法,利用 Markov Random Field(MRF,马尔可夫随机场)模型实现图像不同区域之间的这种兼容性。我们在基于潜在 token 的 Muse 文本到图像模型之上展示了该方法的有效性。MRF 丰富地编码了不同空间位置上图像 token 之间的兼容性,从而提升质量并显著减少 Muse 所需的采样步数。使用 MRF 进行推理的成本显著更低,并且通过将 MRF 推理建模为一个可微神经网络层,可以借助反向传播快速学习其参数。我们的完整模型 MarkovGen 使用所提出的 MRF 模型,不仅将 Muse 加速 1.5 倍,还通过减少不良图像伪影生成了更高质量的图像。

英文摘要:

Modern text-to-image generation models produce high-quality images that are both photorealistic and faithful to the text prompts. However, this quality comes at significant computational cost: nearly all of these models are iterative and require running sampling multiple times with large models. This iterative process is needed to ensure that different regions of the image are not only aligned with the text prompt, but also compatible with each other. In this work, we propose a light-weight approach to achieving this compatibility between different regions of an image, using a Markov Random Field (MRF) model. We demonstrate the effectiveness of this method on top of the latent token-based Muse text-to-image model. The MRF richly encodes the compatibility among image tokens at different spatial locations to improve quality and significantly reduce the required number of Muse sampling steps. Inference with the MRF is significantly cheaper, and its parameters can be quickly learned through back-propagation by modeling MRF inference as a differentiable neural-network layer. Our full model, MarkovGen, uses this proposed MRF model to both speed up Muse by 1.5X and produce higher quality images by decreasing undesirable image artifacts.

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

↑