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

Guowei Xu, Peng Jin, Hao Li, Yibing Song, Lichao Sun, Li Yuan · DOI

TL;DR

This paper introduces LLaVA-CoT, a vision-language model that tackles the challenge of systematic reasoning in complex visual question-answering tasks. By breaking down reasoning into distinct stages (summary, caption, reasoning, conclusion) and employing a novel "stage-wise retracing search" at inference time, LLaVA-CoT significantly outperforms its base model and even larger, closed-source models on multimodal reasoning benchmarks.

What Problem Does This Paper Address?

Current Vision-Language Models (VLMs) often struggle with complex reasoning tasks that require a structured, step-by-step approach. While large language models (LLMs) have shown promise in reasoning through techniques like Chain-of-Thought (CoT) prompting, VLMs often exhibit a lack of systematicity. This means they might jump to conclusions without a clear logical progression, or their reasoning process is not well-organized. This can lead to errors, hallucinations, and an inability to handle nuanced visual questions. The paper aims to bridge this gap by enabling VLMs to perform more robust and reliable reasoning.

Methods

The core innovation of LLaVA-CoT lies in its structured, multi-stage reasoning process and its inference-time scaling method.

  • Structured Reasoning Stages: LLaVA-CoT decomposes the reasoning process into four distinct, self-initiated stages, each marked by special tags:
  • Summary: A high-level overview of the problem and the approach.
  • Caption: A description of relevant visual elements.
  • Reasoning: A detailed, step-by-step logical analysis.
  • Conclusion: The final answer, derived from the reasoning. This structured approach helps the model organize its thoughts and ensures a more systematic progression.

  • Stage-wise Retracing Search (SWIRES): At inference time, LLaVA-CoT employs SWIRES to enhance its reasoning. This method involves:

  • Generating multiple candidate responses at each stage.
  • Using a reward model to select the top candidates.
  • Crucially, if the candidates at a given stage are deemed low-quality, the model retraces to the previous stage to regenerate responses. This allows for self-correction and error mitigation, improving reliability.

Datasets

  • LLaVA-CoT-100k Dataset: The authors created this dataset by leveraging GPT-4o to generate structured, multi-stage reasoning annotations for existing VQA datasets. This dataset integrates samples from various sources, including general VQA datasets (ShareGPT4V, ChartQA, A-OKVQA, DocVQA, PISC, CLEVR) and science-targeted VQA datasets (AI2D, GeoQA+, ScienceQA, CLEVR-Math). The dataset is designed to train models capable of advanced, structured reasoning.

Key Insights and Ideas

  • Structured Reasoning is Key: The paper strongly suggests that simply providing more data isn't enough. The structure of the reasoning process (summary, caption, reasoning, conclusion) is critical for improving VLM performance on complex tasks.
  • Inference-Time Scaling Matters: The proposed SWIRES method demonstrates that optimizing the reasoning process after training can significantly boost accuracy and robustness, especially on challenging benchmarks.
  • Retracing for Self-Correction: The ability to "retrace" and correct errors from previous stages is a powerful mechanism for improving VLM reliability, preventing the propagation of early mistakes.
  • CoT Alone Isn't Sufficient for VLMs: While CoT prompting helps, the paper shows that for VLMs, structured CoT training is more effective than just prompting, highlighting the need for specialized training data.

Key Results

  • Significant Performance Gains: LLaVA-CoT, trained on the 100k dataset and using SWIRES, achieved an average score increase of 5.8% over its base model (Llama-3.2-11B-Vision-Instruct) on multimodal reasoning benchmarks.
  • Outperforms Larger Models: LLaVA-CoT surpasses not only its base model but also larger open-source models and even some closed-source models like GPT-4o-mini and Gemini-1.5-pro on various reasoning tasks.
  • Structured Tags are Essential: Removing the structured tags from the training data led to a significant drop in performance, underscoring their importance.
  • Reasoning-Intensive Improvements: The gains were most pronounced in areas requiring systematic reasoning, such as instance reasoning, logical reasoning, math, and science & technology.

Limitations and Future Work

  • Hallucinations and Complexity: In rare cases, LLaVA-CoT can still get "lost" during retracing or hallucinate to reach an answer. Overly complex input images can also challenge the model's visual understanding, leading to potential failures even with retracing.
  • Future Work: The authors suggest exploring reinforcement learning to further enhance complex multimodal reasoning capabilities.

Summary updated

BibTeX
@inproceedings{xu2025llava,
  author = {Guowei Xu and Peng Jin and Hao Li and Yibing Song and Lichao Sun and Li Yuan},
  title = {{LLaVA-CoT: Let Vision Language Models Reason Step-by-Step}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure