Papers › Unsupervised Visual Chain-of-Thought Reasoning via Preference Optimization

Unsupervised Visual Chain-of-Thought Reasoning via Preference Optimization

25 Apr 2025arXiv:2504.18397archive 2025-07-28

Kesen Zhao, Beier Zhu, Qianru Sun, Hanwang Zhang

Chain-of-thought (CoT) reasoning greatly improves the interpretability and problem-solving abilities of multimodal large language models (MLLMs). However, existing approaches are focused on text CoT, limiting their ability to leverage visual cues. Visual CoT remains underexplored, and the only work is based on supervised fine-tuning (SFT) that relies on extensive labeled bounding-box data and is hard to generalize to unseen cases. In this paper, we introduce Unsupervised Visual CoT (UV-CoT), a novel framework for image-level CoT reasoning via preference optimization. UV-CoT performs preference comparisons between model-generated bounding boxes (one is preferred and the other is dis-preferred), eliminating the need for bounding-box annotations. We get such preference data by introducing an automatic data generation pipeline. Given an image, our target MLLM (e.g., LLaVA-1.5-7B) generates seed bounding boxes using a template prompt and then answers the question using each bounded region as input. An evaluator MLLM (e.g., OmniLLM-12B) ranks the responses, and these rankings serve as supervision to train the target MLLM with UV-CoT by minimizing negative log-likelihood losses. By emulating human perception--identifying key regions and reasoning based on them--UV-CoT can improve visual comprehension, particularly in spatial reasoning tasks where textual descriptions alone fall short. Our experiments on six datasets demonstrate the superiority of UV-CoT, compared to the state-of-the-art textual and visual CoT methods. Our zero-shot testing on four unseen datasets shows the strong generalization of UV-CoT. The code is available in https://github.com/kesenzhao/UV-CoT.

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="2504.18397")

Code

Syntology Ran 25 of 30 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 3 ran · violated contract; 7 ran · our draft was wrong; 11 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: official repository: 29 samples from 1 repository, 24 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.

kesenzhao/uv-cot officialmentioned in papermentioned 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

30 samples harvested; 25 ran; 1 honoured the contract we drafted; 5 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.

1ran · honoured contract
3ran · violated contract
7ran · our draft was wrong
11ran · fixture could not drive it
3ran
5unverified

Licence: 30 of the 30 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 kesenzhao/uv-cot. 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.

Identity kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 5be6156a5bbf6aa8 · report
OmniLMMConfig kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 93a39f7d4d0d010b · report
Resampler kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 5a33fedd425592c9 · report
autocontrast_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · fixture could not drive it no licence file found · pointer only · a95e6290546a4d45 · report
brightness_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · fixture could not drive it no licence file found · pointer only · 927d3870a6db2930 · report
color_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · fixture could not drive it no licence file found · pointer only · 3b8ecf5870557683 · report
contrast_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · violated contract no licence file found · pointer only · dd1d12a456bbf084 · report
enhance_level_to_args kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · our draft was wrong no licence file found · pointer only · 8c2baaccb692ba62 · report
equalize_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · fixture could not drive it no licence file found · pointer only · eb4f4c5587a11a2c · report
get_abs_pos kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 50c4398a8645438a · report
identity_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 1dd2ab205689d45b · report
none_level_to_args kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · ffd0bebcc0b9c875 · report
posterize_level_to_args kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · our draft was wrong no licence file found · pointer only · 0addd1e67c37549d · report
rotate_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 1a262e5956a7dffb · report
rotate_level_to_args kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · our draft was wrong no licence file found · pointer only · 70c60b9689a84a12 · report
sharpness_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · fixture could not drive it no licence file found · pointer only · a0970531e41dd9dd · report
shear_level_to_args kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · our draft was wrong no licence file found · pointer only · 04fcf271841414c8 · report
shear_x_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 37929a3615a6c868 · report
shear_y_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · bc87971adee63b03 · report
solarize_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · fixture could not drive it no licence file found · pointer only · f00b29ccb5c157cd · report
solarize_level_to_args kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · our draft was wrong no licence file found · pointer only · cd79a8d919027e2d · report
translate_level_to_args kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · our draft was wrong no licence file found · pointer only · 6c41b36881cba094 · report
translate_x_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 8fdbb5c32fbaadd3 · report
translate_y_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 77c33034a7472197 · report
OmniLMMModel kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository unverified no licence file found · pointer only · 70d86725d7cc8930 · report
RandomAugment kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository unverified no licence file found · pointer only · 607f6d81c5fbcd61 · report
build_transform kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository unverified no licence file found · pointer only · ce385361217c109c · report
create_vision_module kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository unverified no licence file found · pointer only · 18b789fcee7f1fac · report
posterize_func kesenzhao/uv-cot/omnilmm/model/omnilmm.py official repository unverified no licence file found · pointer only · e3a9bbe286eaad72 · report
mean identical code first harvested elsewhere ran · violated contract fingerprinted licence of this copy not recorded · e8b6cf1e9387fc9a · report

Tasks

Spatial Reasoning

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