Abstract
Chain-of-thought (CoT) reasoning in vision language models (VLMs) is crucial for improving interpretability and trustworthiness. However, current training recipes lack robust CoT reasoning data, relying on datasets dominated by short annotations with minimal rationales. In this work, we show that training VLM on short answers does not generalize well to reasoning tasks that require more detailed responses. To address this, we propose a two-fold approach. First, we distill rationales from GPT-4o model to enrich the training data and fine-tune VLMs, boosting their CoT performance. Second, we apply reinforcement learning to further calibrate reasoning quality. Specifically, we construct positive (correct) and negative (incorrect) pairs of model-generated reasoning chains, by comparing their predictions with annotated short answers. Using this pairwise data, we apply the Direct Preference Optimization algorithm to refine the model's reasoning abilities. Our experiments demonstrate significant improvements in CoT reasoning on benchmark datasets and better generalization to direct answer prediction as well. This work emphasizes the importance of incorporating detailed rationales in training and leveraging reinforcement learning to strengthen the reasoning capabilities of VLMs.
Introduction: The Training Gap in Visual Reasoning
While modern Vision Language Models (VLMs) demonstrate impressive performance on standard Visual Question Answering (VQA) benchmarks, they often operate as "black boxes" that provide correct answers without a verifiable logical path. A fundamental issue identified by researchers from CMU and Apple is the "training gap": most large-scale VQA datasets consist primarily of short, ground-truth labels (e.g., "14" or "Yes").
As illustrated in Figure 1, training models solely on direct predictions does not implicitly teach them how to reason. When these models are prompted to provide a Chain-of-Thought (CoT) explanation, their accuracy frequently degrades because they have not been explicitly trained on the intermediate steps—such as spatial enumeration or arithmetic—required to reach a conclusion. This lack of transparency limits the trustworthiness of VLMs in high-stakes applications.
Methodology: The LLaVA-Reasoner Pipeline
To bridge this gap, the authors developed LLaVA-Reasoner, a model trained via a two-stage "reasoning-aware" pipeline designed to instill explicit logical capabilities.
1. Rationale Distillation (SFT)
The first stage addresses the scarcity of high-quality CoT data. Using GPT-4o as a teacher model, the researchers "backfilled" rationales for 193,000 existing VQA examples. By providing the teacher model with the image, the question, and the known correct answer, they generated logical paths that lead to the correct conclusion. A LLaMA3-LLaVA-NeXT-8B model was then fine-tuned on this enriched dataset using Supervised Fine-Tuning (SFT).
2. Reinforcement Learning via Direct Preference Optimization (DPO)
To further refine the model's internal logic, the team applied Direct Preference Optimization (DPO). As shown in Figure 2, the model generates multiple reasoning "rollouts" for a single prompt.
By comparing the final predicted answer of each rollout against the ground-truth short answer, the system automatically labels reasoning chains as "positive" (leading to the correct answer) or "negative" (leading to an incorrect answer). This allows the model to learn from its own successes and failures, effectively acting as its own verifier and penalizing "hallucinated" logic that might accidentally lead to a wrong conclusion.
Data and Key Insights
The backbone of this work is the SHAREGPT-4O-REASONING dataset, which spans nine diverse domains including world knowledge (A-OKVQA), document analysis (DocVQA), and mathematical reasoning (MathVision).
Several critical insights emerged from this study:
- Reasoning is not Emergent: Training on tens of thousands of direct predictions yielded negligible improvements in CoT accuracy. Explicit training on rationales is mandatory for logical consistency.
- CoT Improves Direct Prediction: Interestingly, teaching a model to reason also improves its ability to provide concise, direct answers. The structured "thinking" process generalizes back to short-form tasks.
- Sensitivity to Initial Errors: Token-level analysis revealed that the DPO-tuned model is particularly sensitive to the first mistake in a reasoning chain. By correcting these early hallucinations, the model maintains higher accuracy throughout the entire response.
Results and Conclusion
The LLaVA-Reasoner approach yielded substantial performance gains. The SFT-only model saw average CoT accuracy across eight benchmarks rise from 62.7% to 74.4%. The addition of the DPO stage further enhanced performance, particularly on challenging out-of-domain tasks like the MMMU college-level benchmark.
Despite its relatively modest 8B parameter size, LLaVA-Reasoner outperformed larger state-of-the-art models like Cambrian-7B. This suggests that for visual reasoning, the quality and depth of training rationales are far more impactful than the sheer volume of short-answer data. While challenges remain in extremely complex mathematical domains, LLaVA-Reasoner represents a significant step toward VLMs that can truly "think" before they speak.
Summary updated