reinforcement-learning vision-language chain-of-thought fine-tuning direct-preference-optimization model-calibration rationale-distillation
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.
한국어 요약
한 줄 요약
LLaVA-Reasoner-SFT와 DPO를 활용한 VLM의 CoT 추론 능력 향상.
핵심 기여도
- ShareGPT-4o-Reasoning 데이터셋 193k 개 생성.
- SFT를 통해 CoT 정확도 71.2 → 71.8 (+0.6) 향상.
- DPO 기반 RL 적용으로 ChartQA에서 CoT 정확도 73.1 → 75.9 (+2.8) 개선.
- 추가 라벨 없이 모델 생성 신호로 CoT 훈련 가능성을 제시.
핵심 아이디어
현재 VLM 훈련 데이터는 대부분 단답형으로 구성되어 있어 CoT 추론 능력 향상에 한계가 있다. 본 연구는 GPT-4o 모델을 활용해 CoT 추론 경로를 생성하고, 이를 기반으로 VLM을 미세 조정(SFT)하여 CoT 추론 능력을 향상시킨다. 또한, 모델이 생성한 CoT를 기반으로 양성/음성 쌍을 구성하고, Direct Preference Optimization (DPO) 알고리즘을 통해 추론 품질을 보완한다. 이는 라벨 없이도 모델 생성 신호를 활용한 CoT 훈련의 가능성을 제시한다.
기술적 접근법
- **CoT 데이터 생성**: GPT-4o 모델을 사용해 9개 데이터셋(ChartQA, A-OKVQA 등)에서 193k 개의 CoT 예시 생성.
- **SFT**: 생성된 CoT 데이터로 LLaVA-Reasoner-SFT 모델을 미세 조정.
- **DPO 기반 RL**: SFT 모델이 생성한 CoT를 기반으로 정답/오답 쌍 생성 후 DPO 알고리즘으로 추론 능력 보완.
- **모델**: LLaVA-Reasoner-SFT, LLaVA-Reasoner-DPO.
주요 결과
- ChartQA 데이터셋에서 CoT 정확도 73.1 → 75.9 (+2.8) 향상.
- A-OKVQA에서 CoT 정확도 71.2 → 72.6 (+1.4) 개선.
- SFT 모델 대비 DPO 모델이 out-of-domain 일반화 능력 향상.
- DPO 모델은 LLaMA3-LLaVA-NeXT-8B 대비 CoT 정확도 71.8 → 73.1 (+1.3) 개선.
의의 및 한계
- CoT 추론 훈련에 있어 라벨 없는 데이터를 활용한 RL 접근법의 효과를 입증.
- 다양한 VQA 태스크(ChartQA, A-OKVQA 등)에서 CoT 추론 성능 향상.
- 한계로는 GPT-4o 기반의 CoT 데이터가 모델 의존적이라는 점이 언급됨.
- DPO는 모델 생성 신호에 의존하므로, 생성된 CoT의 품질에 따라 결과가 달라질 수 있음.
실용적 활용
- 의료, 법률, 교육 등 정확한 추론 과정이 필요한 분야에서 VLM의 신뢰도 향상에 활용 가능.
- 자동차, 제조업 등 시각 정보 해석이 필요한 산업에서 CoT 기반 설명 생성에 유용.
- 교육용 AI에서 학습자의 추론 과정을 시각화하여 학습 효과 향상에 기여할 수 있음.