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

Re-Imagen:检索增强的文本到图像生成器

Re-Imagen: Retrieval-Augmented Text-to-Image Generator

Google Research(谷歌研究院)

Wenhu Chen, Hexiang Hu, Chitwan Saharia, William W. Cohen

摘要:

文本到图像生成的研究在生成多样化和照片般逼真的图像方面取得了重大进展,这是由大规模图像-文本数据训练的扩散和自回归模型驱动的。虽然最先进的模型可以生成常见实体的高质量图像,但它们通常难以生成不常见实体的图像,例如“Chortai(狗)”或“Picarones(食物)”。为了解决这个问题,我们提出了检索增强的文本到图像生成器(Re-Imagen),这是一种生成模型,它使用检索到的信息来生成高保真和忠实的图像,即使是罕见或看不见的实体。给定文本提示,Re-Imagen访问外部多模态知识库以检索相关(图像,文本)对,并将它们用作生成图像的参考。通过这个检索步骤,Re-Imagen被增强了所提到的实体的高级语义和低级视觉细节的知识,从而提高了其在生成实体的视觉外观时的准确性。我们在一个包含(图像,文本,检索)三元组的构造数据集上训练Re-Imagen,以教会模型基于文本提示和检索。此外,我们开发了一种新的抽样策略,以交错的无分类器引导的文本和检索条件,以平衡文本和检索对齐。Re-Imagen在FID评分上比COCO和WikiImage有显著提高。为了进一步评估该模型的能力,我们引入了一个新的基准,它可以评估不同实体的图像生成,从常见到罕见,跨越多个对象类别,包括狗,食物,地标,鸟类和角色。人类对QuestityDrawBench的评价表明,Re-Imagen可以显着提高生成图像的保真度,特别是在不太频繁的实体上。

英文摘要:

Research on text-to-image generation has witnessed significant progress in generating diverse and photo-realistic images, driven by diffusion and auto-regressive models trained on large-scale image-text data. Though state-of-the-art models can generate high-quality images of common entities, they often have difficulty generating images of uncommon entities, such as `Chortai (dog)' or `Picarones (food)'. To tackle this issue, we present the Retrieval-Augmented Text-to-Image Generator (Re-Imagen), a generative model that uses retrieved information to produce high-fidelity and faithful images, even for rare or unseen entities. Given a text prompt, Re-Imagen accesses an external multi-modal knowledge base to retrieve relevant (image, text) pairs and uses them as references to generate the image. With this retrieval step, Re-Imagen is augmented with the knowledge of high-level semantics and low-level visual details of the mentioned entities, and thus improves its accuracy in generating the entities' visual appearances. We train Re-Imagen on a constructed dataset containing (image, text, retrieval) triples to teach the model to ground on both text prompt and retrieval. Furthermore, we develop a new sampling strategy to interleave the classifier-free guidance for text and retrieval conditions to balance the text and retrieval alignment. Re-Imagen achieves significant gain on FID score over COCO and WikiImage. To further evaluate the capabilities of the model, we introduce EntityDrawBench, a new benchmark that evaluates image generation for diverse entities, from frequent to rare, across multiple object categories including dogs, foods, landmarks, birds, and characters. Human evaluation on EntityDrawBench shows that Re-Imagen can significantly improve the fidelity of generated images, especially on less frequent entities.

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

↑