SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.16198 · 2024

Improve Vision Language Model Chain-of-thought Reasoning

arXiv · PDF · Open in the Atlas

Code that ran

18 of 22 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 3 violated it and 0 have no contract verdict; 13 failures of our instrument; 4 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2410.16198.json · badge: /api/ran/2410.16198.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
riflezhang/llava-hound-dpo canonical (classifier label)
classifier basis: census
12 ran · 4 no recorded run
riflezhang/llava-reasoner-dpo canonical (classifier label)
classifier basis not recorded on the link
5 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
get_id_from_path Ran
ran; our contract draft was wrong, not the code
riflezhang/llava-hound-dpo/llava_hound_dpo/inference/inference.py
pointer only (licence: NONE); the stored copy get_code serves, from RifleZhang/LLaVA-Hound-DPO, is pointer only (licence: NONE) · get_code("f1a2ea781d07a5ee")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

collate_fn Ran
ran; our contract draft was wrong, not the code
riflezhang/llava-reasoner-dpo/llava_reasoner/llava/eval/model_vqa_loader.py
pointer only (licence: NONE) · get_code("20e4f665698a3d18")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-reasoner-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

convert_to_scalar Ran
ran; our contract draft was wrong, not the code
riflezhang/llava-hound-dpo/llava_hound_dpo/trl/core.py
pointer only (licence: NONE) · get_code("c32b636f13ed9ee5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

divide_to_patches Ran
ran; our contract draft was wrong, not the code
riflezhang/llava-reasoner-dpo/llava_reasoner/llava/mm_utils.py
pointer only (licence: NONE) · get_code("7e03b180fa317c9a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-reasoner-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_chunk Ran
ran; our contract draft was wrong, not the code
riflezhang/llava-hound-dpo/llava_hound_dpo/inference/run_inference_video_caption.py
pointer only (licence: NONE) · get_code("42a46570620cd9fa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_id_from_frame_path Ran
ran; our contract draft was wrong, not the code
riflezhang/llava-hound-dpo/llava_hound_dpo/data_processing/utils.py
pointer only (licence: NONE) · get_code("f345a47ea5dbb5bc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_image Ran
ran, honoured the contract we drafted
riflezhang/llava-hound-dpo/llava_hound_dpo/data_processing/utils.py
pointer only (licence: NONE) · get_code("1f804baed33a101d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_score Ran
ran, honoured the contract we drafted
riflezhang/llava-hound-dpo/llava_hound_dpo/inference/utils.py
pointer only (licence: NONE) · get_code("5321a2aa0d7681cb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_none Ran
ran, violated the contract we drafted
riflezhang/llava-reasoner-dpo/llava_reasoner/llava/eval/model_vqa_mmbench.py
pointer only (licence: NONE); the stored copy get_code serves, from ASTRAL-Group/ASTRA, is pointer only (licence: NONE) · get_code("bae18947b56f2be1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-reasoner-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_frames Ran
ran; our contract draft was wrong, not the code
riflezhang/llava-hound-dpo/llava_hound_dpo/data_processing/utils.py
pointer only (licence: NONE) · get_code("6fac133e5d5b321b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

openai_generate Ran
ran; our contract draft was wrong, not the code
riflezhang/llava-hound-dpo/llava_hound_dpo/inference/chatgpt_inference.py
pointer only (licence: NONE) · get_code("b4ccd68cffe08123")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_output Ran
ran; our contract draft was wrong, not the code
riflezhang/llava-hound-dpo/llava_hound_dpo/eval/gpt4v_eval.py
pointer only (licence: NONE) · get_code("fba50892dd813a72")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_score Ran
ran, violated the contract we drafted
this paper's copy was not recorded; identical code first harvested from TempleX98/MoVA
pointer only · get_code("763f6fe20bd52fbb")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

remove_special_tokens Ran
ran, violated the contract we drafted
riflezhang/llava-hound-dpo/llava_hound_dpo/inference/inference.py
pointer only (licence: NONE); the stored copy get_code serves, from RifleZhang/LLaVA-Hound-DPO, is pointer only (licence: NONE) · get_code("4354061aab23f5b9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resize_and_pad_image Ran
ran; our contract draft was wrong, not the code
riflezhang/llava-reasoner-dpo/llava_reasoner/llava/mm_utils.py
pointer only (licence: NONE) · get_code("468eedeba67f1b00")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-reasoner-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

select_best_resolution Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
riflezhang/llava-reasoner-dpo/llava_reasoner/llava/mm_utils.py
pointer only (licence: NONE) · get_code("3999ff487573f32c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-reasoner-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

split_list Ran
ran; our contract draft was wrong, not the code
riflezhang/llava-hound-dpo/llava_hound_dpo/inference/inference_dpo_reward.py
pointer only (licence: NONE) · get_code("076c252c52cbb161")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

stack_dicts Ran
ran; our contract draft was wrong, not the code
riflezhang/llava-hound-dpo/llava_hound_dpo/trl/core.py
pointer only (licence: NONE) · get_code("085e70e0bd6e492d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

flatten_dict Not yet run
unverified (harvested, no recorded run)
riflezhang/llava-hound-dpo/llava_hound_dpo/trl/core.py
pointer only (licence: NONE) · get_code("a51ae45a1f6c0b5b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_peft_state_maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
riflezhang/llava-hound-dpo/llava_hound_dpo/dpo_scripts/run_dpo.py
pointer only (licence: NONE) · get_code("fa1225dfac92bc0d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_peft_state_non_lora_maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
riflezhang/llava-hound-dpo/llava_hound_dpo/dpo_scripts/run_dpo.py
pointer only (licence: NONE) · get_code("1c53657305b66e9f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
riflezhang/llava-hound-dpo/llava_hound_dpo/dpo_scripts/run_dpo.py
pointer only (licence: NONE) · get_code("616ffbdc154ed2d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, riflezhang/llava-hound-dpo when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 20 are also present in other papers whose code we hold (20 with at least one paper dated earlier, 16 the same month, 15 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
split_list 197 other papers
109 dated earlier, 15 the same month, 66 later, 6 same year, order not determinable, 1 undated
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2306.17107 (2023-06)
LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 194 more not named here
get_chunk 189 other papers
104 dated earlier, 15 the same month, 64 later, 6 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2306.17107 (2023-06)
LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 186 more not named here
is_none 83 other papers
46 dated earlier, 9 the same month, 26 later, 2 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2308.10253 (2023-08)
StableLLaVA: Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data
2308.13566 (2023-08)
MLLM-DataEngine: An Iterative Refinement Approach for MLLM
and 80 more not named here
select_best_resolution 73 other papers
34 dated earlier, 11 the same month, 28 later · 7 only as an assembly brick
2106.06909 (2021-06)
GigaSpeech: An Evolving, Multi-domain ASR Corpus with 10,000 Hours of Transcribed Audio
2304.08485 (2023-04)
Visual Instruction Tuning
2308.13566 (2023-08)
MLLM-DataEngine: An Iterative Refinement Approach for MLLM
and 70 more not named here
resize_and_pad_image 65 other papers
29 dated earlier, 10 the same month, 26 later
2106.06909 (2021-06)
GigaSpeech: An Evolving, Multi-domain ASR Corpus with 10,000 Hours of Transcribed Audio
2308.13566 (2023-08)
MLLM-DataEngine: An Iterative Refinement Approach for MLLM
2310.08588 (2023-10)
Octopus: Embodied Vision-Language Programmer from Environmental Feedback
and 62 more not named here
divide_to_patches 64 other papers
28 dated earlier, 10 the same month, 26 later
2106.06909 (2021-06)
GigaSpeech: An Evolving, Multi-domain ASR Corpus with 10,000 Hours of Transcribed Audio
2308.13566 (2023-08)
MLLM-DataEngine: An Iterative Refinement Approach for MLLM
2310.08588 (2023-10)
Octopus: Embodied Vision-Language Programmer from Environmental Feedback
and 61 more not named here
collate_fn 54 other papers
21 dated earlier, 10 the same month, 23 later
2308.13566 (2023-08)
MLLM-DataEngine: An Iterative Refinement Approach for MLLM
2310.08588 (2023-10)
Octopus: Embodied Vision-Language Programmer from Environmental Feedback
2311.07362 (2023-11)
Volcano: Mitigating Multimodal Hallucination through Self-Feedback Guided Revision
and 51 more not named here
maybe_zero_3 37 other papers
19 dated earlier, 3 the same month, 15 later
2310.01779 (2023-10)
HallE-Control: Controlling Object Hallucination in Large Multimodal Models
2311.16839 (2023-11)
Beyond Hallucinations: Enhancing LVLMs through Hallucination-Aware Direct Preference Optimization
2312.02949 (2023-12)
LLaVA-Grounding: Grounded Visual Chat with Large Multimodal Models
and 34 more not named here
parse_score 27 other papers
21 dated earlier, 1 the same month, 5 later
2309.09958 (2023-09)
An Empirical Study of Scaling Instruct-Tuned Large Multimodal Models
2310.03744 (2023-10)
Improved Baselines with Visual Instruction Tuning
2312.03818 (2023-12)
Alpha-CLIP: A CLIP Model Focusing on Wherever You Want
and 24 more not named here
get_peft_state_maybe_zero_3 23 other papers
11 dated earlier, 3 the same month, 9 later
2310.01779 (2023-10)
HallE-Control: Controlling Object Hallucination in Large Multimodal Models
2401.02330 (2024-01)
LLaVA-Phi: Efficient Multi-Modal Assistant with Small Language Model
2402.12501 (2024-02)
Your Vision-Language Model Itself Is a Strong Filter: Towards High-Quality Instruction Tuning with Data Selection
and 20 more not named here
get_peft_state_non_lora_maybe_zero_3 23 other papers
12 dated earlier, 3 the same month, 8 later
2310.01779 (2023-10)
HallE-Control: Controlling Object Hallucination in Large Multimodal Models
2312.02949 (2023-12)
LLaVA-Grounding: Grounded Visual Chat with Large Multimodal Models
2401.02330 (2024-01)
LLaVA-Phi: Efficient Multi-Modal Assistant with Small Language Model
and 20 more not named here
convert_to_scalar 18 other papers
3 dated earlier, 2 the same month, 13 later
2305.18290 (2023-05)
Direct Preference Optimization: Your Language Model is Secretly a Reward Model
2406.11280 (2024-06)
ISR-DPO: Aligning Large Multimodal Models for Videos by Iterative Self-Retrospective DPO
2406.19371 (2024-06)
Suri: Multi-constraint Instruction Following for Long-form Text Generation
and 15 more not named here
flatten_dict 18 other papers
3 dated earlier, 2 the same month, 13 later
2305.18290 (2023-05)
Direct Preference Optimization: Your Language Model is Secretly a Reward Model
2406.11280 (2024-06)
ISR-DPO: Aligning Large Multimodal Models for Videos by Iterative Self-Retrospective DPO
2406.19371 (2024-06)
Suri: Multi-constraint Instruction Following for Long-form Text Generation
and 15 more not named here
get_id_from_path 4 other papers
2 dated earlier, 1 the same month, 1 later
2404.01258 (2024-04)
Direct Preference Optimization of Video Large Multimodal Models from Language Model Reward
2406.11280 (2024-06)
ISR-DPO: Aligning Large Multimodal Models for Videos by Iterative Self-Retrospective DPO
2410.17637 (2024-10)
MIA-DPO: Multi-Image Augmented Direct Preference Optimization For Large Vision-Language Models
and 1 more not named here
remove_special_tokens 4 other papers
2 dated earlier, 1 the same month, 1 later
2404.01258 (2024-04)
Direct Preference Optimization of Video Large Multimodal Models from Language Model Reward
2406.11280 (2024-06)
ISR-DPO: Aligning Large Multimodal Models for Videos by Iterative Self-Retrospective DPO
2410.17637 (2024-10)
MIA-DPO: Multi-Image Augmented Direct Preference Optimization For Large Vision-Language Models
and 1 more not named here
stack_dicts 2 other papers
1 dated earlier, 1 the same month
2406.11280 (2024-06)
ISR-DPO: Aligning Large Multimodal Models for Videos by Iterative Self-Retrospective DPO
2410.17637 (2024-10)
MIA-DPO: Multi-Image Augmented Direct Preference Optimization For Large Vision-Language Models
get_id_from_frame_path 1 other paper
1 dated earlier
2406.11280 (2024-06)
ISR-DPO: Aligning Large Multimodal Models for Videos by Iterative Self-Retrospective DPO
get_image 1 other paper
1 dated earlier
2406.11280 (2024-06)
ISR-DPO: Aligning Large Multimodal Models for Videos by Iterative Self-Retrospective DPO
get_score 1 other paper
1 dated earlier
2406.11280 (2024-06)
ISR-DPO: Aligning Large Multimodal Models for Videos by Iterative Self-Retrospective DPO
load_frames 1 other paper
1 dated earlier
2406.11280 (2024-06)
ISR-DPO: Aligning Large Multimodal Models for Videos by Iterative Self-Retrospective DPO

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2410.16198")
get_code_for_paper("2410.16198")
have("2410.16198")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2410.16198.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2410.16198.svg)](https://syntology.ai/paper/2410.16198)

Connect an agent — have() is free.