Measuring and Improving Chain-of-Thought Reasoning in Vision-Language Models

Yangyi Chen, Karan Sikka, Michael Cogswell, Heng Ji, Ajay Divakaran

TL;DR

This paper introduces CURE, a new benchmark for evaluating whether Vision-Language Models (VLMs) can reason consistently through fine-grained steps. The authors also propose CoTBLIP, a training framework that uses Reinforcement Learning from AI Feedback (RLAIF) to significantly improve a model's ability to generate logical, grounded reasoning chains that lead to correct high-level inferences.

What Problem Does This Paper Address?

While modern VLMs like GPT-4V or BLIP-2 can generate impressive human-like responses, their internal reasoning remains a "black box." A model might correctly guess that a girl is having a birthday party (high-level inference) but fail to identify the candles on the cake that lead to that conclusion (intermediate reasoning).

This lack of reasoning consistency—where the final answer isn't supported by the model's own perceived evidence—is a major hurdle for reliability. Existing benchmarks often focus only on the final answer or use coarse-grained rationales. Furthermore, creating high-quality, fine-grained reasoning datasets is prohibitively expensive and prone to human error.

Methods

The authors tackle these issues with a two-pronged approach:

  1. LLM-Human-in-the-Loop Pipeline: To build a high-quality benchmark without massive manual labor, they developed a semi-automatic pipeline. A human practitioner identifies "failure modes" (e.g., hallucinations or irrelevant sub-questions), and an LLM (GPT-4) is then used to filter the dataset based on these rules across multiple iterations. The dataset construction pipeline uses human-defined rules to guide LLM filtering.
The dataset construction pipeline uses human-defined rules to guide LLM filtering.
  1. CoTBLIP Training Framework: To improve reasoning, they propose a two-stage process:
  2. Stage 1: Supervised Fine-Tuning (SFT): The model is trained on refined reasoning samples to learn the structure of Chain-of-Thought (CoT) reasoning.
  3. Stage 2: RLAIF: The model generates multiple reasoning chains for an image. An LLM (GPT-3.5) then ranks these chains based on Sophistication (non-triviality), Consistency (logical flow), and Groundedness (lack of hallucination). The VLM is then optimized to prefer the higher-ranked chains using conditional reinforcement learning. The two-stage training framework uses SFT followed by RLAIF to align VLM reasoning with logical principles.
Figure 3: The two-stage training framework consisting of SFT and RLAIF. We instruct LLMs to examine the reasoning process of VLMs to improve the challenging high-level inferences.

Datasets

  • CURE (Chain-of-Thought VisUAl Reasoning Evaluation): The paper's primary contribution, containing 1,622 human-verified samples. Each sample includes a high-level inference and a multi-step CoT reasoning chain formulated as multiple-choice questions.
  • Sherlock: The base dataset used to derive CURE's high-level inferences.
  • LLaVA & SBU Captions: Used for the SFT and RLAIF training stages, respectively.
Figure 1: Besides the high-level inference about the images (e.g., The girl is turning two years old today.), CURE also contains CoT reasoning chains to evaluate VLMs’ reasoning performance and consistency. We only show 2 (of 6) candidate options for presentation. We highlight the ground truth answers. More examples are shown in Figure 9.

Key Insights and Ideas

  • The Perception-Cognition Gap: A surprising finding is that VLMs often struggle more with the initial visual perception steps (e.g., "What is on the cake?") than with the high-level inference itself once the facts are provided. They are better at "cognition" than "recognition."
  • Chat-tuning isn't Reasoning-tuning: Models like LLaVA and miniGPT-4, which are fine-tuned for chat, performed poorly on reasoning consistency. The authors suggest that informal chat data lacks the rigorous supervision needed for systematic logic.
  • Scalability of RLAIF: The authors found that increasing the amount of unlabeled web-scale image-caption data during the RLAIF stage consistently improved performance, suggesting a path toward even stronger models without more human annotation.

Key Results

  • Performance Gain: The CoTBLIP framework achieved a 4% relative improvement in both high-level reasoning performance ($R_h$) and forward reasoning consistency ($C_f$) compared to the BLIP-2-T5xl baseline.
  • Consistency Metrics: The authors introduced new metrics like $C_f$ (does the model get the final answer right if it got the steps right?) and $C_b$ (does it get the steps right if it got the final answer right?).
  • Human Gap: Despite the improvements, a massive gap remains. Humans score ~85% on overall reasoning ($R_o$), while the best model (CoTBLIP) only reaches ~57%.

Limitations and Future Work

The authors acknowledge that CoTBLIP currently generates general visual inferences rather than being guided by specific user instructions. A key direction for future work is enabling instruction-guided reasoning chains, allowing the model to explain its logic for specific, complex user queries. Additionally, the significant gap between model and human performance indicates that current VLMs are still far from achieving human-level systematic visual reasoning.

Summary updated

Abstract

Vision-language models (VLMs) have recently demonstrated strong efficacy as visual assistants that can parse natural queries about the visual content and generate human-like outputs. In this work, we explore the ability of these models to demonstrate human-like reasoning based on the perceived information. To address a crucial concern regarding the extent to which their reasoning capabilities are fully consistent and grounded, we also measure the reasoning consistency of these models. We achieve this by proposing a chain-of-thought (CoT) based consistency measure. However, such an evaluation requires a benchmark that encompasses both high-level inference and detailed reasoning chains, which is costly. We tackle this challenge by proposing a LLM-Human-in-the-Loop pipeline, which notably reduces cost while simultaneously ensuring the generation of a high-quality dataset. Based on this pipeline and the existing coarse-grained annotated dataset, we build the CURE benchmark to measure both the zero-shot reasoning performance and consistency of VLMs. We evaluate existing state-of-the-art VLMs, and find that even the best-performing model is unable to demonstrate strong visual reasoning capabilities and consistency, indicating that substantial efforts are required to enable VLMs to perform visual reasoning as systematically and consistently as humans. As an early step, we propose a two-stage training framework aimed at improving both the reasoning performance and consistency of VLMs. The first stage involves employing supervised fine-tuning of VLMs using step-by-step reasoning samples automatically generated by LLMs. In the second stage, we further augment the training process by incorporating feedback provided by LLMs to produce reasoning chains that are highly consistent and grounded. We empirically highlight the effectiveness of our framework in both reasoning performance and consistency.
BibTeX
@inproceedings{chen2024measuring,
  author = {Yangyi Chen and Karan Sikka and Michael Cogswell and Heng Ji and Ajay Divakaran},
  title = {{Measuring and Improving Chain-of-Thought Reasoning in Vision-Language Models}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=WqqisqbmKb},
}
Figure