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

检索增强的多模态语言建模

Retrieval-Augmented Multimodal Language Modeling

Stanford University(斯坦福大学);Meta AI;University of Washington(华盛顿大学)

Michihiro Yasunaga, Armen Aghajanyan, Weijia Shi, Rich James, Jure Leskovec, Percy Liang, Mike Lewis, Luke Zettlemoyer, Wen-tau Yih

AI总结:

针对多模态模型参数化存储知识导致规模与训练成本上升的问题,提出RA-CM3,通过CLIP检索外部图文并由CM3生成,在MS-COCO上显著提升性能且训练计算量低于DALL-E的30%。

摘要:

近期,DALL-E和CM3等多模态模型在文本到图像以及图像到文本生成方面取得了显著进展。然而,这些模型将所有学到的知识(例如埃菲尔铁塔的外观)存储在模型参数中,需要越来越大的模型和训练数据来捕获更多知识。为了以更具可扩展性和模块化的方式整合知识,我们提出了一种检索增强的多模态模型,使基础多模态模型(生成器)能够参考由检索器从外部记忆(例如网络上的文档)中获取的相关文本和图像。具体而言,对于检索器,我们使用预训练的CLIP;对于生成器,我们在LAION数据集上训练一个CM3 Transformer。我们得到的模型名为Retrieval-Augmented CM3(RA-CM3),是首个能够同时检索并生成文本和图像的多模态模型。我们表明,RA-CM3在图像和描述生成任务上均显著优于DALL-E和CM3等基线多模态模型(在MS-COCO上FID改善12、CIDEr改善17),同时训练所需的计算量要少得多(低于DALL-E的30%)。此外,我们表明RA-CM3展现出新颖能力,例如忠实的图像生成和多模态上下文学习(例如根据演示进行图像生成)。

英文摘要:

Recent multimodal models such as DALL-E and CM3 have achieved remarkable progress in text-to-image and image-to-text generation. However, these models store all learned knowledge (e.g., the appearance of the Eiffel Tower) in the model parameters, requiring increasingly larger models and training data to capture more knowledge. To integrate knowledge in a more scalable and modular way, we propose a retrieval-augmented multimodal model, which enables a base multimodal model (generator) to refer to relevant text and images fetched by a retriever from external memory (e.g., documents on the web). Specifically, for the retriever, we use a pretrained CLIP, and for the generator, we train a CM3 Transformer on the LAION dataset. Our resulting model, named Retrieval-Augmented CM3 (RA-CM3), is the first multimodal model that can retrieve and generate both text and images. We show that RA-CM3 significantly outperforms baseline multimodal models such as DALL-E and CM3 on both image and caption generation tasks (12 FID and 17 CIDEr improvements on MS-COCO), while requiring much less compute for training (<30% of DALL-E). Moreover, we show that RA-CM3 exhibits novel capabilities, such as faithful image generation and multimodal in-context learning (e.g., image generation from demonstrations).

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

↑