LLaVA-CoT: Let Vision Language Models Reason Step-by-Step
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Multimodal Evaluation | MME | -- | 902 | |
| Multimodal Understanding | MMBench | Accuracy75 | 887 | |
| Mathematical Reasoning | MathVista | Score54.8 | 566 | |
| Multimodal Reasoning | MM-Vet | MM-Vet Score60.3 | 551 | |
| Multimodal Understanding | MMStar | Accuracy57.6 | 511 | |
| Diagram Question Answering | AI2D | AI2D Accuracy78.7 | 509 | |
| Visual Mathematical Reasoning | MathVista | Accuracy54.8 | 448 | |
| Chart Question Answering | ChartQA | Accuracy81.9 | 404 | |
| Visual Mathematical Reasoning | MathVision | Accuracy19.9 | 298 | |
| Mathematical Reasoning | MathVerse | Accuracy43.2 | 266 |