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

Guowei Xu, Peng Jin, Ziang Wu, Hao Li, Yibing Song +2 more
11/15/2024
614 citations
cs.CV

Official code: PKU-YuanGroup/LLaVA-CoT (2,131 stars, Python, Apache-2.0, last commit 2025-12-12).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ICCV 2025] LLaVA-CoT, a visual language model capable of spontaneous, systematic reasoning

2,13181PythonNov 17, 202411 months agoApache-2.0

Similar Papers

Cite this paper

@article{xu2024llavacot,
  title  = {LLaVA-CoT: Let Vision Language Models Reason Step-by-Step},
  author = {Guowei Xu and Peng Jin and Ziang Wu and Hao Li and Yibing Song and Lichao Sun and Li Yuan},
  year   = {2024},
  eprint = {2411.10440},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.10440v6},
  journal = {ICCV 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.10440.svg)](https://codeofpaper.com/paper/2411.10440)

Discussion