Skip to main content
QUICK REVIEW

[Paper Review] LLaVA-CoT: Let Vision Language Models Reason Step-by-Step

Guowei Xu, Peng Jin|arXiv (Cornell University)|Nov 15, 2024
Natural Language Processing TechniquesComputer Science3 citations
TL;DR

LLaVA-CoT introduces a vision-language model that performs structured, multistage reasoning through distinct summarization, captioning, reasoning, and conclusion stages, significantly improving performance on multimodal reasoning tasks. With only 100k fine-tuning samples and test-time scaling via SWIRES, it outperforms larger open-source and even closed-source models like Gemini-1.5-Pro and GPT-4o-mini.

ABSTRACT

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.

Motivation & Objective

  • To address the lack of systematic reasoning in vision-language models (VLMs) on complex visual question-answering tasks.
  • To develop a VLM that autonomously performs structured, multistage reasoning instead of direct prediction.
  • To create a large-scale, high-quality dataset with detailed reasoning annotations for training structured reasoning.
  • To enable effective test-time scaling through a novel stage-wise retracing method.
  • To achieve superior reasoning performance with minimal training data and efficient inference scaling.

Proposed method

  • Introduces a four-stage reasoning framework: summary, caption, reasoning, and conclusion, enabling structured, autonomous reasoning.
  • Constructs the LLaVA-CoT-100k dataset by integrating diverse VQA sources with full reasoning annotations for each stage.
  • Proposes SWIRES (stage-wise retracing search), a test-time scaling method that performs iterative, stage-by-stage refinement during inference.
  • Applies stage-wise beam search and backtracking to improve reasoning accuracy without retraining.
  • Uses a single A800 node for evaluation with VLMEvalKit, applying logarithmic scaling on the time axis to analyze performance gains.
  • Fine-tunes the Llama-3.2-11B-Vision-Instruct base model on the LLaVA-CoT-100k dataset using supervised fine-tuning with structured reasoning supervision.

Experimental results

Research questions

  • RQ1Can a vision-language model achieve superior reasoning performance by decomposing reasoning into distinct, sequential stages?
  • RQ2Does a curated, structured reasoning dataset significantly improve reasoning accuracy in VLMs?
  • RQ3Can test-time scaling via stage-wise retracing (SWIRES) outperform standard methods like beam search and best-of-N?
  • RQ4Can a smaller model with only 100k training samples surpass larger and closed-source models in reasoning benchmarks?
  • RQ5How does the performance of LLaVA-CoT scale with increasing inference time using SWIRES?

Key findings

  • LLaVA-CoT achieves a 66.3 average score across six multimodal reasoning benchmarks, outperforming its base model by 9.4%.
  • With test-time scaling via SWIRES, LLaVA-CoT reaches 66.3 average score, surpassing larger open-source models like Llama-3.2-90B-Vision-Instruct and Qwen2-VL-7B.
  • LLaVA-CoT outperforms closed-source models including Gemini-1.5-Pro (63.6) and GPT-4o-mini (63.8) on the same benchmarks.
  • SWIRES demonstrates superior scaling capability, continuing to improve beyond 10,000 seconds, unlike beam search and best-of-N, which plateau or decline.
  • The model achieves a 62.5 average score on MMStar without scaling and improves to 65.5 with SWIRES, showing strong test-time scaling gains.
  • Despite being fine-tuned from the weakest base model (Llama-3.2-11B-Vision-Instruct) in the comparison, LLaVA-CoT achieves state-of-the-art performance on reasoning-intensive benchmarks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.