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

LIVE:面向视觉问答的可学习上下文向量

LIVE: Learnable In-Context Vector for Visual Question Answering

Southeast University(东南大学);Nanyang Technological University(南洋理工大学)

Yingzhe Peng, Chenduo Hao, Xu Yang, Jiawei Peng, Xinting Hu, Xin Geng

AI总结:

针对大多模态模型中上下文学习存在的推理慢、对示例选择敏感的问题,提出可学习上下文向量LIVE,从示例中提炼任务信息,在视觉问答任务上实现了降本提效。

摘要:

随着语言模型规模持续扩大,大语言模型(LLMs)已展现出新兴的上下文学习(ICL)能力,能够通过在输入前添加少量上下文示例(ICDs)作为上下文来解决语言任务。受这些进展启发,研究人员将相关技术拓展,开发出具备ICL能力的大多模态模型(LMMs)。然而,应用ICL通常面临两大挑战:1)使用更多ICD会大幅增加推理时间;2)模型性能对ICD的选择十分敏感。在LMMs中,由于多数据类型的融合以及多模态ICD的组合复杂性,这些挑战进一步加剧。近期,为应对这些挑战,部分自然语言处理(NLP)研究引入了不可学习的上下文向量(ICVs),这类方法将ICD中的有用任务信息提取为单个向量,再将其插入LLM以辅助解决对应任务。不过,这类不可学习方法虽在简单NLP任务中有效,却无法处理视觉问答(VQA)这类复杂的多模态任务。本研究提出可学习上下文向量(Learnable In-Context VEctor, LIVE),从示例中提炼核心任务信息,以提升LMMs的ICL性能。实验表明,与传统ICL及其他不可学习ICV方法相比,LIVE在VQA任务中能显著降低计算成本,同时提升准确率。代码可访问https://github.com/ForJadeForest/LIVE-Learnable-In-Context-Vector 获取。

英文摘要:

As language models continue to scale, Large Language Models (LLMs) have exhibited emerging capabilities in In-Context Learning (ICL), enabling them to solve language tasks by prefixing a few in-context demonstrations (ICDs) as context. Inspired by these advancements, researchers have extended these techniques to develop Large Multimodal Models (LMMs) with ICL capabilities. However, applying ICL usually faces two major challenges: 1) using more ICDs will largely increase the inference time and 2) the performance is sensitive to the selection of ICDs. These challenges are further exacerbated in LMMs due to the integration of multiple data types and the combinational complexity of multimodal ICDs. Recently, to address these challenges, some NLP studies introduce non-learnable In-Context Vectors (ICVs) which extract useful task information from ICDs into a single vector and then insert it into the LLM to help solve the corresponding task. However, although useful in simple NLP tasks, these non-learnable methods fail to handle complex multimodal tasks like Visual Question Answering (VQA). In this study, we propose Learnable In-Context VEctor (LIVE) to distill essential task information from demonstrations, improving ICL performance in LMMs. Experiments show that LIVE can significantly reduce computational costs while enhancing accuracy in VQA tasks compared to traditional ICL and other non-learnable ICV methods. The code is available at \url{https://github.com/ForJadeForest/LIVE-Learnable-In-Context-Vector}.

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

↑