arXivDaily arXiv每日学术速递 周一至周五更新
​通知:联邦节假日调休:哥伦布日 / 原住民日(Columbus Day / Indigenous Peoples' Day),今日(13日)无更新。
arXiv 2312.01714cs.CL

面向大型语言模型的检索增强多模态思维链推理

Retrieval-augmented Multi-modal Chain-of-Thoughts Reasoning for Large Language Models

Xiamen University(厦门大学);MBZUAI(穆罕默德·本·扎耶德人工智能大学);Tencent AI Lab(腾讯人工智能实验室)

Bingshuai Liu, Chenyang Lyu, Zijun Min, Zhanyu Wang, Jinsong Su, Longyue Wang

AI总结:

针对多模态 CoT 示范示例选择难题,本文提出基于跨模态与模态内相似性的检索方法及分层抽样策略,显著提升 GPT-4 与 GPT-4V 在 ScienceQA 和 MathVista 上的推理性能。

摘要:

大型语言模型(LLM)的进展使思维链(CoT)方法受到广泛关注,这主要是因为它能够增强 LLM 在复杂推理任务上的能力。此外,CoT 方法的重要性还延伸到 LLM 在多模态任务中的应用。然而,由于多模态示例固有的复杂性,如何在多模态推理中为 LLM 选择最优的 CoT 示范示例仍未得到充分研究。本文提出一种新方法,通过检索机制依据跨模态与模态内相似性,动态且自动地选择示范示例,从而应对这一挑战。此外,我们采用分层抽样方法,根据示范示例的类型将其划分为不同组,再分别从不同组中检索示例,以提升示范示例的多样性。通过在 ScienceQA 和 MathVista 两个流行基准数据集上开展一系列实验,我们证明该方法使 GPT-4 在 ScienceQA 上的性能显著提升 6%,在 MathVista 上显著提升 12.9%,并使 GPT-4V 在两个数据集上的性能提升 2.7%,显著增强了最先进的 LLM 和 LMM 在复杂多模态推理任务上的表现。

英文摘要:

The advancement of Large Language Models (LLMs) has brought substantial attention to the Chain of Thought (CoT) approach, primarily due to its ability to enhance the capability of LLMs on complex reasoning tasks. Moreover, the significance of CoT approaches extends to the application of LLMs for multi-modal tasks. However, the selection of optimal CoT demonstration examples in multi-modal reasoning remains less explored for LLMs due to the inherent complexity of multi-modal examples. In this paper, we introduce a novel approach that addresses this challenge by using retrieval mechanisms to dynamically and automatically select demonstration examples based on cross-modal and intra-modal similarities. Furthermore, we employ a Stratified Sampling method of categorising demonstration examples into groups based on their types and then retrieving examples from different groups respectively to promote the diversity of demonstration examples. Through a series of experiments on two popular benchmark datasets: ScienceQA and MathVista, we demonstrate that our approach significantly improves the performance of GPT-4 by 6% on ScienceQA and 12.9% on MathVista, and enhances the performance of GPT-4V on two datasets by 2.7%, substantially improving the performance of the most advanced LLMs and LMMs for complex multi-modal reasoning tasks.

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

↑