Papers › Improve Vision Language Model Chain-of-thought Reasoning

Improve Vision Language Model Chain-of-thought Reasoning

21 Oct 2024arXiv:2410.16198archive 2025-07-28

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

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2410.16198")

Code

Syntology Ran 10 of 22 code samples harvested from 2 repositories linked to this paper; 12 have no recorded run. Of those that ran: 3 ran · violated contract; 4 ran · our draft was wrong; 1 ran · fixture could not drive it; 2 ran with no contract checked.

By repository: official repository: 5 samples from 1 repository, 5 ran; community (archive-listed): 16 samples from 1 repository, 4 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

riflezhang/llava-reasoner-dpo officialmentioned in papermentioned on GitHubpytorch report
riflezhang/llava-hound-dpo mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

22 samples harvested; 10 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · violated contract
4ran · our draft was wrong
1ran · fixture could not drive it
2ran
12unverified

Licence: 22 of the 22 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

collate_fn riflezhang/llava-reasoner-dpo/llava_reasoner/llava/eval/model_vqa_loader.py official repository ran · our draft was wrong no licence file found · pointer only · 20e4f665698a3d18 · report
divide_to_patches riflezhang/llava-reasoner-dpo/llava_reasoner/llava/mm_utils.py official repository ran no licence file found · pointer only · 7e03b180fa317c9a · report
is_none riflezhang/llava-reasoner-dpo/llava_reasoner/llava/eval/model_vqa_mmbench.py official repository ran · violated contract no licence file found · pointer only · bae18947b56f2be1 · report
resize_and_pad_image riflezhang/llava-reasoner-dpo/llava_reasoner/llava/mm_utils.py official repository ran no licence file found · pointer only · 468eedeba67f1b00 · report
select_best_resolution riflezhang/llava-reasoner-dpo/llava_reasoner/llava/mm_utils.py official repository ran · fixture could not drive it no licence file found · pointer only · 3999ff487573f32c · report
get_id_from_path riflezhang/llava-hound-dpo/llava_hound_dpo/inference/inference.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · f1a2ea781d07a5ee · report
get_chunk riflezhang/llava-hound-dpo/llava_hound_dpo/inference/run_inference_video_caption.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 42a46570620cd9fa · report
remove_special_tokens riflezhang/llava-hound-dpo/llava_hound_dpo/inference/inference.py community (archive-listed) ran · violated contract fingerprinted no licence file found · pointer only · 4354061aab23f5b9 · report
split_list riflezhang/llava-hound-dpo/llava_hound_dpo/inference/inference_dpo_reward.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 076c252c52cbb161 · report
convert_to_scalar riflezhang/llava-hound-dpo/llava_hound_dpo/trl/core.py community (archive-listed) unverified no licence file found · pointer only · c32b636f13ed9ee5 · report
flatten_dict riflezhang/llava-hound-dpo/llava_hound_dpo/trl/core.py community (archive-listed) unverified no licence file found · pointer only · a51ae45a1f6c0b5b · report
get_id_from_frame_path riflezhang/llava-hound-dpo/llava_hound_dpo/data_processing/utils.py community (archive-listed) unverified no licence file found · pointer only · f345a47ea5dbb5bc · report
get_image riflezhang/llava-hound-dpo/llava_hound_dpo/data_processing/utils.py community (archive-listed) unverified no licence file found · pointer only · 1f804baed33a101d · report
get_peft_state_maybe_zero_3 riflezhang/llava-hound-dpo/llava_hound_dpo/dpo_scripts/run_dpo.py community (archive-listed) unverified no licence file found · pointer only · fa1225dfac92bc0d · report
get_peft_state_non_lora_maybe_zero_3 riflezhang/llava-hound-dpo/llava_hound_dpo/dpo_scripts/run_dpo.py community (archive-listed) unverified no licence file found · pointer only · 1c53657305b66e9f · report
get_score riflezhang/llava-hound-dpo/llava_hound_dpo/inference/utils.py community (archive-listed) unverified no licence file found · pointer only · 5321a2aa0d7681cb · report
load_frames riflezhang/llava-hound-dpo/llava_hound_dpo/data_processing/utils.py community (archive-listed) unverified no licence file found · pointer only · 6fac133e5d5b321b · report
maybe_zero_3 riflezhang/llava-hound-dpo/llava_hound_dpo/dpo_scripts/run_dpo.py community (archive-listed) unverified no licence file found · pointer only · 616ffbdc154ed2d8 · report
openai_generate riflezhang/llava-hound-dpo/llava_hound_dpo/inference/chatgpt_inference.py community (archive-listed) unverified no licence file found · pointer only · b4ccd68cffe08123 · report
parse_output riflezhang/llava-hound-dpo/llava_hound_dpo/eval/gpt4v_eval.py community (archive-listed) unverified no licence file found · pointer only · fba50892dd813a72 · report
stack_dicts riflezhang/llava-hound-dpo/llava_hound_dpo/trl/core.py community (archive-listed) unverified no licence file found · pointer only · 085e70e0bd6e492d · report
parse_score identical code first harvested elsewhere ran · violated contract fingerprinted licence of this copy not recorded · 763f6fe20bd52fbb · report

Tasks

Language ModelingLanguage ModellingReinforcement Learningmodelreinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections