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

UniRAG:面向大型视觉语言模型的通用检索增强技术

UniRAG: Universal Retrieval Augmentation for Large Vision Language Models

Sahel Sharifymoghaddam, Shivani Upadhyay, Wenhu Chen, Jimmy Lin

AI总结:

本文提出UniRAG,一种即插即用的检索增强技术,通过为大型视觉语言模型提示添加相关少样本示例,在MSCOCO常见实体上显著提升GPT-4o、LLaVA等多类模型的生成质量。

摘要:

近年来,大型视觉语言模型(LVLMs)解锁了许多复杂的用例,这些用例需要多模态(MM)理解能力(例如图像描述或视觉问答)以及多模态生成能力(例如文本引导的图像生成或编辑)。为了进一步提高LVLMs的输出保真度,我们提出了UniRAG,这是一种即插即用的技术,在推理过程中将相关的检索信息作为少样本示例添加到提示中。与普遍认为检索增强(RA)主要改善不常见实体的生成或理解的观点不同,我们在MSCOCO数据集上针对常见实体的评估结果表明,无论是像GPT-4o和Gemini-Pro这样的专有模型,还是像LLaVA、LaVIT和Emu2这样较小的开源模型,当它们的输入提示通过视觉-语言(VL)检索器(如UniIR模型)检索到的相关信息进行增强时,生成质量都得到了显著提升。复现我们结果所需的所有代码可在https://github.com/castorini/UniRAG获取。

英文摘要:

Recently, Large Vision Language Models (LVLMs) have unlocked many complex use cases that require Multi-Modal (MM) understanding (e.g., image captioning or visual question answering) and MM generation (e.g., text-guided image generation or editing) capabilities. To further improve the output fidelityof LVLMs we introduce UniRAG, a plug-and-play technique that adds relevant retrieved information to prompts as few-shot examples during inference. Unlike the common belief that Retrieval Augmentation (RA) mainly improves generation or understanding of uncommon entities, our evaluation results on the MSCOCO dataset with common entities show that both proprietary models like GPT-4o and Gemini-Pro and smaller open-source models like LLaVA, LaVIT, and Emu2 significantly enhance their generation quality when their input prompts are augmented with relevant information retrieved by Vision-Language (VL) retrievers like UniIR models. All the necessary code to reproduce our results is available at https://github.com/castorini/UniRAG

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

↑