# Improve Vision Language Model Chain-of-thought Reasoning

비전 언어 모델의 사고 연쇄 추론 개선

Ruohong Zhang, Bowen Zhang, Yanghao Li, Haotian Zhang, Zhiqing Sun, Zhe Gan 외 3명 · arXiv · 2024년 10월 21일

- **연구 문제** 짧은 정답 주석 중심의 학습이 VLM의 CoT 추론을 충분히 가르치지 못하는지 확인합니다.
- **연구 방법** GPT-4o로 근거를 증류해 SFT를 수행하고, 정답 일치 여부로 만든 추론 쌍에 DPO를 적용합니다.
- **주요 결과** DPO 데이터셋으로 학습한 모델의 CoT 평균은 75.3으로 SFT 모델의 74.4보다 높게 보고됩니다.

## 직접 답 학습은 CoT 추론을 가르치는가

VLM은 차트 질의응답이나 문서 질의응답처럼 짧은 정답 주석이 달린 데이터로 주로 학습됩니다. 이 방식은 정답을 맞히는 데는 효과적이지만, 중간 추론 과정을 요구하는 과제에서 얼마나 도움이 되는지는 분명하지 않습니다. 논문은 ChartQA의 직접 예측 26k개로 학습했을 때 직접 예측 정확도는 70.2에서 73.1로 올랐지만 CoT 정확도는 71.2에서 71.8로 조금 오르는 데 그쳐 CoT가 직접 예측보다 낮게 남았다고 보고합니다. 이 관찰이 연구의 출발점입니다.

![Figure 1: The upper figure questions whether training exclusively on direct-answer datasets can effectively teach CoT prediction. In the lower figure, generati…](https://refivu.com/papers/d1df683c-db41-40e0-a111-4ebfc0f2fabf/figures/figure-026fd08fec17f92c1e9aa6c327c87ad1.png?thumb=512)

**Figure 1** : The upper figure questions whether training exclusively on direct-answer datasets can effectively teach CoT prediction. In the lower figure, generating CoT for prediction provides the additional benefit of reasoning alignment, allowing the model to improve by leveraging self-generated data.

[원문](https://arxiv.org/abs/2410.16198v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ruohong Zhang, Bowen Zhang, Yanghao Li, Haotian Zhang, Zhiqing Sun, Zhe Gan, Yinfei Yang, Ruoming Pang, Yiming Yang · Improve Vision Language Model Chain-of-thought Reasoning · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## 근거 증류와 선호 쌍을 이용한 두 단계 학습

저자들은 짧은 정답 주석을 입력으로 GPT-4o에 넣어 정답에 이르는 근거를 생성하게 하고, 생성 결과의 정답이 주석과 다른 예시는 제거합니다. 이렇게 얻은 193k개의 CoT 예시는 SHARE GPT-4O-REASONING 데이터셋으로 구성되며, 이를 직접 답 데이터와 함께 SFT에 사용합니다. 이후 SFT 모델이 같은 질문에 대해 여러 후보 추론을 생성하고, 그 최종 답이 정답과 일치하는지에 따라 positive와 negative 추론 쌍을 만듭니다. 이 쌍에 DPO를 적용해 추론 과정을 정렬합니다. 이 방식의 핵심은 짧은 정답을 추가 사람 라벨 없이 추론의 품질 신호로 쓴다는 점입니다.

![Figure 2: Workflow diagram showing: a) the use of GPT-4o to generate rationale given short annota- tions; b) SFT of open-source VLM for CoT reasoning; c) Build…](https://refivu.com/papers/d1df683c-db41-40e0-a111-4ebfc0f2fabf/figures/figure-ffc66b2dc435c067abfd6e5333d8f8df.png?thumb=512)

**Figure 2** : Workflow diagram showing: a) the use of GPT-4o to generate rationale given short annota- tions; b) SFT of open-source VLM for CoT reasoning; c) Build preference dataset for reinforcement learning with DPO to enhance reasoning.

[원문](https://arxiv.org/abs/2410.16198v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ruohong Zhang, Bowen Zhang, Yanghao Li, Haotian Zhang, Zhiqing Sun, Zhe Gan, Yinfei Yang, Ruoming Pang, Yiming Yang · Improve Vision Language Model Chain-of-thought Reasoning · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

![Table 1: Data statistics of CoT distilled on different dataset](https://refivu.com/papers/d1df683c-db41-40e0-a111-4ebfc0f2fabf/figures/figure-f0ee4bcbe4beaf199e0897146df48c3e.png?thumb=512)

**Table 1** : Data statistics of CoT distilled on different dataset

[원문](https://arxiv.org/abs/2410.16198v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ruohong Zhang, Bowen Zhang, Yanghao Li, Haotian Zhang, Zhiqing Sun, Zhe Gan, Yinfei Yang, Ruoming Pang, Yiming Yang · Improve Vision Language Model Chain-of-thought Reasoning · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

![Figure 4: Distillation of examples from various VLM task domains, highlighting the specific reasoning capabilities required](https://refivu.com/papers/d1df683c-db41-40e0-a111-4ebfc0f2fabf/figures/figure-d8843709bf95f49fe8d5add0abea3b1d.png?thumb=512)

**Figure 4** : Distillation of examples from various VLM task domains, highlighting the specific reasoning capabilities required.

[원문](https://arxiv.org/abs/2410.16198v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ruohong Zhang, Bowen Zhang, Yanghao Li, Haotian Zhang, Zhiqing Sun, Zhe Gan, Yinfei Yang, Ruoming Pang, Yiming Yang · Improve Vision Language Model Chain-of-thought Reasoning · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

## DPO 목적식과 정책 설정

DPO 데이터셋은 이미지 V, 질문 x, positive 응답 yw, negative 응답 yl의 쌍으로 표현됩니다. 목적식은 β를 곱한 정책 모델과 참조 모델의 로그 확률 비율 차이에 로지스틱 함수를 적용한 값의 음의 기댓값으로 정의됩니다. 정책 모델과 참조 모델은 모두 SFT 가중치로 초기화되며 β는 0.1로 설정됩니다. 후보는 SFT 모델에서 질문당 32개를 생성하고, 정확도가 0.25에서 0.85 사이인 예시만 골라 쌍을 만듭니다.

## SFT 구성 실험의 결과

SFT 실험은 형식 정렬만 학습한 모델, 직접 답만 학습한 모델, CoT만 학습한 모델, 직접 답과 CoT를 모두 학습한 모델을 비교합니다. 직접 답만 학습한 모델은 형식 정렬 모델보다 CoT 평균이 65.6으로 높습니다. CoT만 학습한 모델은 직접 예측 평균 69.7과 CoT 평균 73.2를 기록합니다. 두 데이터를 모두 쓴 LLAVA-REASONER-SFT는 CoT 평균 74.4와 직접 예측 평균 72.8을 보고합니다. 이 결과는 LLaMA3-LLaVA-NeXT-8B를 기반으로 얻은 것이며, 저자들은 CoT 데이터가 직접 답 성능에도 전이된다고 해석합니다.

![Table 2: SFT experiments with data composition in fig. 5: ① format alignment only, ② direct responses only, ③ CoT responses only and ④ both direct and CoT resp…](https://refivu.com/papers/d1df683c-db41-40e0-a111-4ebfc0f2fabf/figures/figure-dfbae25df07d69893502477ad818eca0.png?thumb=512)

**Table 2** : SFT experiments with data composition in fig. 5: ① format alignment only, ② direct responses only, ③ CoT responses only and ④ both direct and CoT responses. Inference is performed using both direct and CoT templates. The best CoT prediction result is highlighted in orange, while the best direct prediction result is marked in blue. The results demonstrate that combining CoT and direct responses during training leads to the best performance across both types of prompts. Refer to section 4 for detailed analysis.

[원문](https://arxiv.org/abs/2410.16198v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ruohong Zhang, Bowen Zhang, Yanghao Li, Haotian Zhang, Zhiqing Sun, Zhe Gan, Yinfei Yang, Ruoming Pang, Yiming Yang · Improve Vision Language Model Chain-of-thought Reasoning · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Figure 5: The upper section displays the data sources used for the SFT experiments, while the lower section illustrates the data composition for model training](https://refivu.com/papers/d1df683c-db41-40e0-a111-4ebfc0f2fabf/figures/figure-8f0db545708c3f5c4debc720af11b898.png?thumb=512)

**Figure 5** : The upper section displays the data sources used for the SFT experiments, while the lower section illustrates the data composition for model training.

[원문](https://arxiv.org/abs/2410.16198v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ruohong Zhang, Bowen Zhang, Yanghao Li, Haotian Zhang, Zhiqing Sun, Zhe Gan, Yinfei Yang, Ruoming Pang, Yiming Yang · Improve Vision Language Model Chain-of-thought Reasoning · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## DPO 데이터셋 구성과 결과

DPO 데이터셋은 ChartQA 24.5k, A-OKVQA 18.3k, 수학 도메인 22.0k로 구성되어 총 64.8k 선호 쌍입니다. 비교군인 RLAIF-V는 80k 쌍의 공개 선호 데이터입니다. 이 설정에서 LLAVA-REASONER-DPO의 CoT 평균은 75.3으로 SFT 모델 ④의 74.4보다 높고, RLAIF-V 모델 ⑤의 74.6보다도 높습니다. 학습 중 응답은 90 토큰으로 잘랐으며, 이 절단은 이 DPO 설정에서 사용된 조건입니다.

![Table 6: DPO experiment with LLAVA-REASONER -SFT as the base policy model. We compare two DPO datasets: ⑤ RLAIF-V Yu et al. (2024) and ⑥ our preference dataset…](https://refivu.com/papers/d1df683c-db41-40e0-a111-4ebfc0f2fabf/figures/figure-3b764c4fa3c54faed2b41749ec94e957.png?thumb=512)

**Table 6** : DPO experiment with LLAVA-REASONER -SFT as the base policy model. We compare two DPO datasets: ⑤ RLAIF-V Yu et al. (2024) and ⑥ our preference dataset comprising A-OKVQA, ChartQA, and math. The best CoT prediction is highlighted in orange. Our DPO dataset shows the better improvements in chain-of-thought reasoning.

[원문](https://arxiv.org/abs/2410.16198v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ruohong Zhang, Bowen Zhang, Yanghao Li, Haotian Zhang, Zhiqing Sun, Zhe Gan, Yinfei Yang, Ruoming Pang, Yiming Yang · Improve Vision Language Model Chain-of-thought Reasoning · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 평가 조건과 적용 범위

CoT 평가 답 추출은 '### Answer:' 패턴에 의존합니다. 이 설정은 해당 패턴을 따르는 출력에 대해 답을 읽도록 하므로, 다른 출력 형식이나 답 추출 방식의 결과는 이 논문에서 검증되지 않았습니다. 또한 DPO 데이터셋은 세 도메인으로 제한되어 있으며, 다른 데이터를 추가하는 효과는 이 논문의 범위 밖입니다.

## 논문 정보

- **저자**: Ruohong Zhang, Bowen Zhang, Yanghao Li, Haotian Zhang, Zhiqing Sun, Zhe Gan, Yinfei Yang, Ruoming Pang, Yiming Yang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2024년 10월 21일
- **등록일**: 2026년 11월 5일
- **수정일**: 2024년 10월 21일
- **버전**: v1
- **arXiv**: 2410.16198
- **분류**: cs.AI · cs.CV
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2410.16198v1) · [원문 PDF ↗](https://arxiv.org/pdf/2410.16198v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

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.

## 원문 인용

Ruohong Zhang, Bowen Zhang, Yanghao Li, Haotian Zhang, Zhiqing Sun, Zhe Gan, Yinfei Yang, Ruoming Pang, Yiming Yang (2024). Improve Vision Language Model Chain-of-thought Reasoning. arXiv:2410.16198v1. https://arxiv.org/abs/2410.16198v1

**BibTeX**

```
@misc{zhang2024improve,
  title = {{Improve Vision Language Model Chain-of-thought Reasoning}},
  author = {Ruohong Zhang and Bowen Zhang and Yanghao Li and Haotian Zhang and Zhiqing Sun and Zhe Gan and Yinfei Yang and Ruoming Pang and Yiming Yang},
  year = {2024},
  eprint = {2410.16198},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.16198v1}
}
```

## 이 논문의 용어

- [Supervised Fine-Tuning](https://refivu.com/terms/1a2c1f079517-supervised-fine-tuning)
- [Direct Preference Optimization](https://refivu.com/terms/81ed2010f707-direct-preference-optimization)
- [best-of-N](https://refivu.com/terms/934cd41a02e1-best-of-n)
- [MMMU](https://refivu.com/terms/3057cca863a3-mmmu)
- [MathVista](https://refivu.com/terms/c43559804ee4-mathvista)
- [Chain-of-thought (CoT) reasoning](https://refivu.com/terms/c826d2e4fb3e-chain-of-thought-cot-reasoning)
- [Credit assignment](https://refivu.com/terms/4ea15ccf4724-credit-assignment)
- [A-OKVQA](https://refivu.com/terms/907a0df5780c-a-okvqa)
- [relaxed accuracy](https://refivu.com/terms/89dc8b4720a9-relaxed-accuracy)

## 다른 논문 해설

- [Interleaved-Modal Chain-of-Thought](https://refivu.com/papers/1bccad1e-f495-4c68-83c4-528b17dc78f8-interleaved-modal-chain-of-thought.md)
- [Reasoning Models Can be Accurately Pruned Via Chain-of-Thought Reconstruction](https://refivu.com/papers/cbe74a19-38cb-4de0-b67e-4c9a98373892-reasoning-models-can-be-accurately-pruned-via-chain.md)
- [Chain-of-Thought Reasoning Without Prompting](https://refivu.com/papers/177d9294-679d-436b-897e-3ec239de41b5-chain-of-thought-reasoning-without-prompting.md)
- [Reasoning Theater: Disentangling Model Beliefs from Chain-of-Thought](https://refivu.com/papers/7c449b71-af44-4941-bd39-a4d5b24977e3-reasoning-theater-disentangling-model-beliefs-from-chain-of.md)
- [VisReason: A Large-Scale Dataset for Visual Chain-of-Thought Reasoning](https://refivu.com/papers/33ab873b-b278-480b-8a5f-765efefdfe9e-visreason-a-large-scale-dataset-for-visual-chain.md)
- [Latent Chain-of-Thought for Visual Reasoning](https://refivu.com/papers/e6eecf48-dd01-4882-9910-1adc71f2fe3c-latent-chain-of-thought-for-visual-reasoning.md)
- [MA-LoT: Model-Collaboration Lean-based Long Chain-of-Thought Reasoning enhances Formal Theorem Proving](https://refivu.com/papers/be8e2813-dd50-41f9-8d35-39537d10c107-ma-lot-model-collaboration-lean-based-long-chain.md)
- [RoboPIN: Grounded Embodied Reasoning via Pinned Chain-of-Thought](https://refivu.com/papers/e85b6dde-43d9-455e-a32c-190bf17c589b-robopin-grounded-embodied-reasoning-via-pinned-chain-of.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/d1df683c-db41-40e0-a111-4ebfc0f2fabf-improve-vision-language-model-chain-of-thought-reasoning)
