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

Context Diffusion:具备上下文感知能力的图像生成

Context Diffusion: In-Context Aware Image Generation

Meta GenAI(Meta 生成式人工智能);University of Amsterdam(阿姆斯特丹大学)

Ivona Najdenkoska, Animesh Sinha, Abhimanyu Dubey, Dhruv Mahajan, Vignesh Ramanathan, Filip Radenovic

AI总结:

本文提出 Context Diffusion 框架,通过分离视觉上下文编码与图像布局保持,使图像生成模型可在有、无文本提示及少样本场景下真正从视觉示例学习,并提升域内外任务的图像质量与上下文保真度。

摘要:

我们提出 Context Diffusion,这是一个基于扩散模型的框架,使图像生成模型能够从上下文中呈现的视觉示例进行学习。近期研究处理了这类面向图像生成的上下文学习任务,即在提供查询图像的同时给出上下文示例和文本提示。然而,当提示不存在时,生成图像的质量和上下文保真度会下降,这表明这些模型并不能真正从视觉上下文中学习。为解决该问题,我们提出一种新颖框架,将视觉上下文的编码与所需图像布局的保持分离开来。由此,模型不仅能够结合视觉上下文和提示进行学习,也能够仅依赖二者中的任意一种进行学习。此外,我们使模型能够处理少样本设置,以有效应对多样化的上下文学习场景。我们的实验和人工评估表明,Context Diffusion 在域内和域外任务中均表现优异;与对照模型相比,其在图像质量和上下文保真度方面均实现了整体提升。

英文摘要:

We propose Context Diffusion, a diffusion-based framework that enables image generation models to learn from visual examples presented in context. Recent work tackles such in-context learning for image generation, where a query image is provided alongside context examples and text prompts. However, the quality and context fidelity of the generated images deteriorate when the prompt is not present, demonstrating that these models cannot truly learn from the visual context. To address this, we propose a novel framework that separates the encoding of the visual context and the preservation of the desired image layout. This results in the ability to learn from the visual context and prompts, but also from either of them. Furthermore, we enable our model to handle few-shot settings, to effectively address diverse in-context learning scenarios. Our experiments and human evaluation demonstrate that Context Diffusion excels in both in-domain and out-of-domain tasks, resulting in an overall enhancement in image quality and context fidelity compared to counterpart models.

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

↑