Visual CoT: Advancing Multi-Modal Language Models with a Comprehensive Dataset and Benchmark for Chain-of-Thought Reasoning

Hao Shao, Shengju Qian, Han Xiao, Guanglu Song, Zhuofan Zong, Letian Wang, Yu Liu, Hongsheng Li

TL;DR

Visual CoT introduces a massive dataset of 438k QA pairs designed to train Multi-Modal Large Language Models (MLLMs) to identify and "zoom in" on critical image regions before answering a prompt. By incorporating intermediate bounding boxes as a form of visual Chain-of-Thought (CoT), the proposed VisCoT framework significantly boosts performance and interpretability. This approach is particularly effective in tasks requiring high-resolution detail, such as document analysis and fine-grained recognition.

The Problem: Finding the Needle in the Haystack

While MLLMs like LLaVA have shown impressive general capabilities, they often operate as "black boxes." When faced with complex scenes, they struggle to find small, crucial details buried in high-resolution images.

Current models typically process images at a fixed, relatively low resolution, leading to two major issues:

  1. Hallucinations: The model guesses based on global context because it cannot clearly "see" fine details.
  2. Lack of Interpretability: Users have no way to verify if the model actually looked at the right part of the image to arrive at its conclusion.

The authors argue that MLLMs lack a Visual Chain-of-Thought—the ability to break down a visual task into intermediate steps of localization and reasoning, much like a human would scan a page before reading a specific paragraph.

The VisCoT Method

To solve this, the researchers propose a novel multi-turn processing pipeline called VisCoT alongside a two-stage training strategy:

  • Turn 1 (Localization): The model receives the image and question, then predicts a CoT Bounding Box (BBox) representing the most informative region.
  • Visual Sampler: A dynamic cropping module takes this BBox and extracts a high-resolution sub-patch from the original image.
  • Turn 2 (Reasoning): The model processes both the original global image and the new localized crop to generate the final, grounded answer.

Architecturally, the authors use a standard ViT-L/14 (CLIP) vision encoder and Vicuna (7B/13B) as the language backbone, connected by a simple linear projector. The true innovation lies in the training data and the iterative inference process.

The Visual CoT Dataset

The core contribution of the paper is the Visual CoT Dataset, a large-scale collection of 438k question-answer pairs spanning five distinct domains:

  1. Text/Doc: Focusing on OCR and document layout (e.g., TextVQA, DocVQA).
  2. Fine-Grained: Identifying subtle visual differences (e.g., Birds-200-2011).
  3. General VQA: Standard object-based queries (e.g., Flickr30k, Visual7W).
  4. Charts: Interpreting graphical data (e.g., InfographicsVQA).
  5. Relation Reasoning: Understanding spatial and logical links between objects (e.g., GQA, VSR).
Examples from the Visual CoT dataset showing questions, answers, and the intermediate CoT bounding boxes.

Crucially, every item is annotated with an intermediate bounding box. Additionally, 98k items include detailed, step-by-step textual reasoning paths generated with the help of GPT-4. The authors also release a dedicated Visual CoT Benchmark to evaluate how well models can identify specific local regions.

Key Insights

  • Visual Zooming as Logic: Just as text-based CoT ("Let's think step by step") improves LLM logic, visual CoT ("Let's look at this region first") improves MLLM perception.
  • Token Efficiency: VisCoT is remarkably more efficient than simply increasing input resolution. VisCoT at a 224px base resolution can outperform a standard model at 448px while using only half the total visual tokens. This suggests that where a model looks is more important than how many pixels it processes globally.
  • Interpretability by Design: Because the model must output a bounding box before the answer, users can visually verify the model's "thought process." If the BBox is wrong, the answer is likely a hallucination.

Key Results

  • Benchmark Dominance: VisCoT-7B/13B consistently outperformed LLaVA-1.5 and SPHINX across the new benchmark.
  • Document Specialist: In the SROIE (receipt extraction) task, VisCoT achieved an impressive 8x performance boost over standard pipelines, proving that "zooming" is essential for reading small text.
Zooming in on a document to extract specific text details.
  • Zero-Shot Capability: Even on datasets not used during training (like SROIE and DUDE), the model showed strong generalization, indicating it learned a robust, general strategy for visual search.
  • Performance Ceiling: Ablation studies using Ground Truth (GT) bounding boxes showed even higher scores (e.g., 0.752 vs 0.550 average). This suggests that as region-proposal accuracy improves in the future, the potential for this framework is massive.

Limitations and Future Work

While highly effective, the framework has limitations. Cascading errors are a primary concern: if the model predicts an incorrect initial bounding box, the subsequent "zoom" is useless, almost guaranteeing a wrong answer. Additionally, the current framework only performs a single-step zoom. Future work could involve recursive, multi-step zooming for extremely complex or "nested" visual queries. Finally, while token-efficient, the multi-turn nature of the pipeline does increase inference latency compared to single-turn models.

Summary updated

BibTeX
@inproceedings{shao2024visual,
  author = {Hao Shao and Shengju Qian and Han Xiao and Guanglu Song and Zhuofan Zong and Letian Wang and Yu Liu and Hongsheng Li},
  title = {{Visual CoT: Advancing Multi-Modal Language Models with a Comprehensive Dataset and Benchmark for Chain-of-Thought Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
}
Figure