arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.16198cs.AIcs.CV
收藏

改进视觉语言模型思维链推理

Improve Vision Language Model Chain-of-thought Reasoning

Apple(苹果公司)

Ruohong Zhang, Bowen Zhang, Yanghao Li, Haotian Zhang, Zhiqing Sun, Zhe Gan, Yinfei Yang, Ruoming Pang, Yiming Yang

AI总结:

本文针对视觉语言模型思维链推理训练数据缺乏详细推理依据的问题,提出从GPT-4o蒸馏推理并微调模型,再结合直接偏好优化进行强化学习校准,显著提升CoT推理与直接答案预测性能。

摘要:

视觉语言模型(VLMs)中的思维链(CoT)推理对于提升可解释性与可信度至关重要。然而,当前的训练方案缺乏稳健的CoT推理数据,依赖的数据集以简短标注为主,几乎不包含推理依据。在本工作中,我们表明在简短答案上训练VLM无法很好地泛化到需要更详细回答的推理任务。为解决该问题,我们提出一种双重方法。首先,我们从GPT-4o模型中蒸馏推理依据以丰富训练数据,并对VLM进行微调,从而提升其CoT性能。其次,我们应用强化学习进一步校准推理质量。具体而言,通过将模型生成的推理链预测与标注的简短答案进行比较,我们构建正例(正确)与负例(错误)的成对推理链数据。利用这些成对数据,我们应用直接偏好优化(Direct Preference Optimization)算法来改进模型的推理能力。我们的实验表明,在基准数据集上的CoT推理性能显著提升,并且对直接答案预测也具有更好的泛化能力。本工作强调了在训练中纳入详细推理依据以及利用强化学习增强VLM推理能力的重要性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑