Multimodal Chain-of-Thought Reasoning in Language Models

Zhuosheng Zhang, Aston Zhang, Mu Li, hai zhao, George Karypis, Alex Smola · Submission to ICLR 2024 · Rejected

Introduction

This paper introduces Multimodal-CoT, a two-stage framework that enables language models with under 1 billion parameters to outperform massive models like GPT-4 on complex reasoning tasks. By fusing visual features with text and separating rationale generation from answer inference, the authors significantly mitigate model hallucinations and set a new state-of-the-art on the ScienceQA benchmark.

The Challenge: Modality Gaps and Hallucinations

Chain-of-Thought (CoT) prompting—where a model generates intermediate reasoning steps before giving a final answer—has revolutionized how Large Language Models (LLMs) handle complex tasks. However, two major gaps remain in current research:

  1. The Modality Gap: Most CoT research focuses exclusively on text, ignoring the rich, grounding information available in images.
  2. The "Small Model" Struggle: While massive models (100B+ parameters) excel at CoT, smaller models (under 100B) often "hallucinate" illogical reasoning chains. When these small models try to reason, their incorrect intermediate steps actually mislead them, resulting in worse performance than if they had just guessed the answer directly.

The authors tackle the challenge of eliciting effective CoT reasoning in "1B-class" models by leveraging multimodal inputs to anchor the reasoning process in reality.

Methodology: A Two-Stage Framework

To prevent the model from becoming overwhelmed by generating both the reasoning and the answer simultaneously, the authors propose a two-stage framework to decouple the process:

Two-stage framework separating rationale generation and answer inference
  • Stage 1: Rationale Generation. The model receives the question, context, and image features. Its sole goal is to produce a high-quality rationale (the "why").
  • Stage 2: Answer Inference. The model receives the original input plus the rationale generated in Stage 1 to infer the final answer.

Technical Architecture: * Backbone: The framework utilizes the T5 encoder-decoder architecture (specifically FLAN-Alpaca). * Vision Integration: Instead of just using text captions for images (which loses critical detail), the model extracts patch-level features using a Vision Transformer (ViT). * Gated Fusion: To combine text and vision, they use a gated attention mechanism. This allows the model to dynamically decide how much weight to give to visual versus textual information at each step of the encoding process.

Key Insights: Grounding Reasoning in Vision

The model was evaluated on two major multimodal reasoning benchmarks: ScienceQA (a large-scale dataset of multimodal science questions) and A-OKVQA (a knowledge-based visual question-answering benchmark).

  • The Hallucination Correction: The authors found that in 1B-class models, 56% of errors in a text-only setup were due to hallucinated rationales (e.g., the model "seeing" magnet poles that weren't there). Adding vision features corrected 60.7% of these hallucination-based mistakes.
Ratio of hallucination mistakes and the correction rate when using vision features
  • Two Stages are Better Than One: In smaller models, trying to generate the rationale and the answer in a single pass leads to a "reasoning decline." Separating them allows the answer-inference stage to benefit from a more focused, multimodal-informed rationale.
  • Vision as an Anchor: Visual features act as a "grounding" mechanism. While text-only models might guess a physical property, the multimodal model can "verify" its reasoning against the provided image, leading to faster convergence during training.

Results and Performance

  • State-of-the-Art Performance: The Multimodal-CoT-Large (738M parameters) achieved 90.45% accuracy on ScienceQA.
  • Beating the Giants: Impressively, this sub-1B parameter model outperformed GPT-4 (83.99%) and Chameleon (86.54%), despite those models being orders of magnitude larger.
  • Efficiency: The approach demonstrates that specialized, fine-tuned smaller models can be more effective and significantly cheaper to deploy than general-purpose LLMs for specific reasoning tasks.
  • Ablation Impact: Removing vision features dropped accuracy by over 12% in the "base" model, proving that multimodality is the true engine of this performance boost, not just the two-stage structure.

Limitations and Future Work

Despite the impressive results, the authors identified clear areas for improvement:

  • Commonsense Errors: 80% of the remaining errors were categorized as "commonsense" failures, such as difficulty interpreting complex maps, counting objects accurately in an image, or utilizing alphabetical order.
  • Visual-Spatial Reasoning: The model still struggles with fine-grained spatial relationships (e.g., "to the right of").
  • Future Directions: The authors suggest that future work should focus on incorporating more informative visual features, integrating external commonsense knowledge bases, and implementing filtering mechanisms to discard irrelevant generated rationales.

Summary updated

BibTeX
@misc{zhang2023multimodal,
  author = {Zhuosheng Zhang and Aston Zhang and Mu Li and hai zhao and George Karypis and Alex Smola},
  title = {{Multimodal Chain-of-Thought Reasoning in Language Models}},
  year = {2023},
  eprint = {2302.00923},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.00923},
}
Figure