[论文解读] LLaVA-CoT: Let Vision Language Models Reason Step-by-Step
LLaVA-CoT 提出了一种视觉语言模型,通过独立的总结、描述、推理和结论四个阶段实现结构化、多阶段推理,在多模态推理任务上显著提升性能。仅使用 100k 个微调样本,并结合推理时的 SWIRES 缩放技术,其性能超越了更大规模的开源模型,甚至优于 Gemini-1.5-Pro 和 GPT-4o-mini 等闭源模型。
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.
研究动机与目标
- 解决视觉语言模型(VLMs)在复杂视觉问答任务中缺乏系统性推理的问题。
- 开发一种能够自主执行结构化、多阶段推理的视觉语言模型,而非直接预测。
- 构建大规模、高质量的数据集,包含详细的推理标注,用于结构化推理的训练。
- 通过一种新颖的分阶段重演方法,实现实现有效的推理时缩放。
- 在极小的训练数据量和高效的推理缩放下,实现卓越的推理性能。
提出的方法
- 提出四阶段推理框架:总结、描述、推理和结论,实现结构化、自主的推理。
- 通过整合多样化的 VQA 数据源,并为每个阶段提供完整的推理标注,构建 LLaVA-CoT-100k 数据集。
- 提出 SWIRES(分阶段重演搜索),一种推理时缩放方法,可在推理过程中进行迭代式、分阶段优化。
- 应用分阶段束搜索(beam search)与回溯机制,提升推理准确率,无需重新训练。
- 使用单个 A800 节点进行评估,结合 VLMEvalKit,对时间轴采用对数缩放以分析性能提升。
- 基于 Llama-3.2-11B-Vision-Instruct 基础模型,在 LLaVA-CoT-100k 数据集上使用结构化推理监督进行有监督微调。
实验结果
研究问题
- RQ1通过将推理分解为独立且顺序的阶段,视觉语言模型能否实现更优的推理性能?
- RQ2经过精心筛选的结构化推理数据集是否能显著提升视觉语言模型的推理准确率?
- RQ3通过分阶段重演(SWIRES)实现的推理时缩放,能否超越标准方法如束搜索和 best-of-N?
- RQ4仅使用 100k 个训练样本的小型模型能否在推理基准测试中超越更大规模和闭源模型?
- RQ5LLaVA-CoT 在使用 SWIRES 时,性能如何随推理时间增加而变化?
主要发现
- LLaVA-CoT 在六个多模态推理基准上的平均得分为 66.3,相比其基础模型提升 9.4%。
- 通过 SWIRES 实现推理时缩放后,LLaVA-CoT 达到 66.3 的平均得分,超越了 Llama-3.2-90B-Vision-Instruct 和 Qwen2-VL-7B 等更大规模的开源模型。
- LLaVA-CoT 在相同基准上优于 Gemini-1.5-Pro(63.6)和 GPT-4o-mini(63.8)等闭源模型。
- SWIRES 展现出优越的缩放能力,在超过 10,000 秒后仍持续提升性能,而束搜索和 best-of-N 方法则趋于平台期或性能下降。
- 在 MMStar 数据集上,LLaVA-CoT 未使用缩放时得分为 62.5,使用 SWIRES 后提升至 65.5,显示出强劲的推理时缩放增益。
- 尽管其微调基于比较中性能最弱的基础模型(Llama-3.2-11B-Vision-Instruct),LLaVA-CoT 仍在推理密集型基准上实现了最先进性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。