arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.07619cs.CL
收藏

DRUM: 面向大型多模态模型的演示样本检索器学习

DRUM: Learning Demonstration Retriever for Large MUlti-modal Models

Carnegie Mellon University(卡内基梅隆大学);University of Virginia(弗吉尼亚大学);University of Hong Kong(香港大学)

Ellen Yi-Ge, Jiechao Gao, Wei Han, Wei Zhu

AI总结:

针对大型视觉-语言模型现有上下文学习演示样本选择策略适配性不足的问题,提出DRUM框架,通过微调嵌入模型、重排序及迭代挖掘策略,提升多模态任务的上下文学习效果。

摘要:

近期,大语言模型(LLM)凭借上下文学习(ICL)在处理新任务方面展现出出色能力。在大型视觉-语言模型(LVLM)研究中,研究者实现ICL时通常采用简单策略,比如不同样本使用固定演示样本,或直接通过视觉-语言嵌入模型选择演示样本。这些方法无法保证配置的演示样本契合LVLM的需求。为解决该问题,本文提出新型框架——大型多模态模型演示样本检索器(DRUM),该框架对视觉-语言嵌入模型进行微调以更好匹配LVLM的需求。首先,本文探讨了给定嵌入模型时视觉-语言任务的检索策略,提出拼接图像与文本嵌入以提升检索性能。其次,提出借助LVLM的反馈对嵌入模型检索到的演示样本进行重排序,并计算列表式排序损失用于训练嵌入模型。第三,提出迭代式演示样本挖掘策略以优化嵌入模型的训练。通过在3类视觉-语言任务、7个基准数据集上开展的大量实验,DRUM框架被证实可通过检索更合适的演示样本,有效提升LVLM的上下文学习性能。

英文摘要:

Recently, large language models (LLMs) have demonstrated impressive capabilities in dealing with new tasks with the help of in-context learning (ICL). In the study of Large Vision-Language Models (LVLMs), when implementing ICL, researchers usually adopts the naive strategies like fixed demonstrations across different samples, or selecting demonstrations directly via a visual-language embedding model. These methods does not guarantee the configured demonstrations fit the need of the LVLMs. To address this issue, we now propose a novel framework, \underline{d}emonstration \underline{r}etriever for large m\underline{u}lti-modal \underline{m}odel (DRUM), which fine-tunes the visual-language embedding model to better meet the LVLM's needs. First, we discuss the retrieval strategies for a visual-language task, assuming an embedding model is given. And we propose to concate the image and text embeddings to enhance the retrieval performance. Second, we propose to re-rank the demonstrations retrieved by the embedding model via the LVLM's feedbacks, and calculate a list-wise ranking loss for training the embedding model. Third, we propose an iterative demonstration mining strategy to improve the training of the embedding model. Through extensive experiments on 3 types of visual-language tasks, 7 benchmark datasets, our DRUM framework is proven to be effective in boosting the LVLM's in-context learning performance via retrieving more proper demonstrations.

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

↑