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

LLaVA-CoT:让视觉语言模型逐步推理

LLaVA-CoT: Let Vision Language Models Reason Step-by-Step

Peking University(北京大学);Tsinghua University(清华大学);Alibaba Group(阿里巴巴集团);Lehigh University(利哈伊大学)

Guowei Xu, Peng Jin, Ziang Wu, Hao Li, Yibing Song, Lichao Sun, Li Yuan

AI总结:

本文提出LLaVA-CoT模型,通过自主多阶段推理和逐阶段回溯搜索方法,仅用100k训练样本即在多模态推理任务上超越更大规模及闭源模型。

摘要:

大型语言模型在推理能力方面已展现出显著进步。然而,当前的视觉语言模型(VLMs)在进行系统化和结构化推理时往往存在困难,尤其是在处理复杂的视觉问答任务时。本文中,我们提出了 LLaVA-CoT,这是一种大型视觉语言模型,旨在进行自主的多阶段推理。与思维链提示不同,LLaVA-CoT 独立地依次进行摘要、视觉解释、逻辑推理和结论生成等阶段。这种结构化方法使 LLaVA-CoT 在推理密集型任务上取得了显著改进。为实现这一目标,我们构建了 LLaVA-CoT-100k 数据集,整合了来自多个视觉问答来源的样本,并提供了结构化推理标注。此外,我们提出了一种测试时逐阶段回溯搜索方法(SWIRES),能够实现有效且高效的测试时扩展。值得注意的是,仅使用 100k 训练样本和测试时扩展,LLaVA-CoT 不仅在广泛的多模态推理基准上比其基础模型性能提升了 9.4%,还超越了更大规模甚至闭源模型的性能,如 Gemini-1.5-pro、GPT-4o-mini 和 Llama-3.2-90B-Vision-Instruct。代码、数据集和预训练权重已在 https://github.com/PKU-YuanGroup/LLaVA-CoT 公开。

英文摘要:

Large language models have demonstrated substantial advancements in reasoning capabilities. However, current Vision-Language Models (VLMs) often struggle to perform systematic and structured reasoning, especially when handling complex visual question-answering tasks. In this work, we introduce LLaVA-CoT, a large VLM designed to conduct autonomous multistage reasoning. Unlike chain-of-thought prompting, LLaVA-CoT independently engages in sequential stages of summarization, visual interpretation, logical reasoning, and conclusion generation. This structured approach enables LLaVA-CoT to achieve marked improvements on reasoning-intensive tasks. To accomplish this, we construct the LLaVA-CoT-100k dataset, integrating samples from various visual question answering sources and providing structured reasoning annotations. Besides, we propose a test-time stage-wise retracing search method (SWIRES), which enables effective and efficient test-time scaling. Remarkably, with only 100k training samples and test-time scaling, LLaVA-CoT not only outperforms its base model by 9.4% on a wide range of multimodal reasoning benchmarks, but also surpasses the performance of larger and even closed-source models, such as Gemini-1.5-pro, GPT-4o-mini, and Llama-3.2-90B-Vision-Instruct. The code, dataset, and pre-trained weights are publicly available at https://github.com/PKU-YuanGroup/LLaVA-CoT.

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

↑