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 ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 30 code samples: 29 from 1 repository linked to this paper, 1 identical to code harvested from another paper's repository. Across all 30: 25 ran (of which 3 constructed an object rather than computing a result; 7 with no instrument failure: 1 honoured, 3 violated, 3 with no contract checked; 18 where Syntology's instrument failed) · 5 unverified. Where Syntology's instrument failed: 8 where our contract draft was wrong; 10 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 29 samples from 1 repository, 24 ran (6 with no instrument failure; 18 where Syntology's instrument failed); 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.

Levels written on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

kesenzhao/uv-cot officialmentioned in papermentioned on GitHubpytorchSyntology: 29 samples, 24 ran (18 instrument-failed) · 5 unverified 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 (of which 3 constructed an object rather than computing a result; 7 with no instrument failure: 1 honoured, 3 violated, 3 with no contract checked; 18 where Syntology's instrument failed) · 5 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · honoured contract
3ran · violated contract
8ran · our draft was wrong
10ran; the contract check could not run
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. 1 sample is listed last, in a group without a repository. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. For 2 samples that ran, the graph records a signature this page does not show: for a class the fixture built without calling, the harness called the object with inputs it made up itself, so the recorded signature is the harness's probe, not the fixture's arguments. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

kesenzhao/uv-cot official repository 29 samples, 24 ran (18 instrument-failed) · 5 unverified
Identity in 49 papers
census: 10 implementations from 13 papers, 4 distinct outputs across 4 buckets, one shared input per bucket
omnilmm/model/omnilmm.py ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 5be6156a5bbf6aa8 · report fixture: returned Identity · level recorded 2026-09-22
OmniLMMConfig omnilmm/model/omnilmm.py ran · metamorphic tier: deterministic no licence file found · pointer only · 93a39f7d4d0d010b · report fixture: returned OmniLMMConfig · level recorded 2026-09-22
Resampler omnilmm/model/omnilmm.py ran · metamorphic tier: deterministic no licence file found · pointer only · 5a33fedd425592c9 · report fixture: returned Resampler · level recorded 2026-09-22
autocontrast_func in 17 papers omnilmm/model/omnilmm.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant no licence file found · pointer only · a95e6290546a4d45 · report fixture: signature img:ndarray/3/int, cutoff:int/0/int · returned ndarray · level recorded 2026-09-22
brightness_func omnilmm/model/omnilmm.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant no licence file found · pointer only · 927d3870a6db2930 · report fixture: signature img:ndarray/2/int, factor:float/0/float · returned ndarray · level recorded 2026-09-22
color_func omnilmm/model/omnilmm.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 3b8ecf5870557683 · report fixture: signature img:ndarray/3/int, factor:float/0/float · returned ndarray · level recorded 2026-09-22
contrast_func omnilmm/model/omnilmm.py ran · violated contract no licence file found · pointer only · dd1d12a456bbf084 · report fixture: signature img:ndarray/3/int, factor:float/0/float · returned ndarray · level recorded 2026-09-22
enhance_level_to_args omnilmm/model/omnilmm.py ran · our draft was wrong no licence file found · pointer only · 8c2baaccb692ba62 · report fixture: signature MAX_LEVEL:int/0/int · returned function · level recorded 2026-09-22
equalize_func in 17 papers omnilmm/model/omnilmm.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant no licence file found · pointer only · eb4f4c5587a11a2c · report fixture: signature img:ndarray/3/int · returned ndarray · level recorded 2026-09-22
get_abs_pos in 15 papers omnilmm/model/omnilmm.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 50c4398a8645438a · report fixture: signature abs_pos:Tensor/2/float, tgt_size:int/0/int · returned Tensor · level recorded 2026-09-22
identity_func in 19 papers omnilmm/model/omnilmm.py ran · violated contract fingerprinted no licence file found · pointer only · 1dd2ab205689d45b · report fixture: signature img:Tensor/4/float · returned Tensor · level recorded 2026-09-22
none_level_to_args omnilmm/model/omnilmm.py ran · honoured contract fingerprinted no licence file found · pointer only · ffd0bebcc0b9c875 · report fixture: signature level:NoneType/0/? · returned tuple · level recorded 2026-09-22
posterize_level_to_args omnilmm/model/omnilmm.py ran · our draft was wrong no licence file found · pointer only · 0addd1e67c37549d · report fixture: signature MAX_LEVEL:int/0/int · returned function · level recorded 2026-09-22
rotate_func omnilmm/model/omnilmm.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 1a262e5956a7dffb · report fixture: signature img:ndarray/3/int, degree:int/0/int, fill:tuple/1/int · returned ndarray · level recorded 2026-09-22
rotate_level_to_args omnilmm/model/omnilmm.py ran · our draft was wrong no licence file found · pointer only · 70c60b9689a84a12 · report fixture: signature MAX_LEVEL:int/0/int, replace_value:tuple/1/int · returned function · level recorded 2026-09-22
sharpness_func omnilmm/model/omnilmm.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted no licence file found · pointer only · a0970531e41dd9dd · report fixture: signature img:ndarray/3/int, factor:float/0/float · returned ndarray · level recorded 2026-09-22
shear_level_to_args omnilmm/model/omnilmm.py ran · our draft was wrong no licence file found · pointer only · 04fcf271841414c8 · report fixture: signature MAX_LEVEL:int/0/int, replace_value:tuple/1/int · returned function · level recorded 2026-09-22
shear_x_func omnilmm/model/omnilmm.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 37929a3615a6c868 · report fixture: signature img:ndarray/3/int, factor:float/0/float, fill:tuple/1/int · returned ndarray · level recorded 2026-09-22
shear_y_func omnilmm/model/omnilmm.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted no licence file found · pointer only · bc87971adee63b03 · report fixture: signature img:ndarray/3/int, factor:float/0/float, fill:tuple/1/int · returned ndarray · level recorded 2026-09-22
solarize_func omnilmm/model/omnilmm.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant no licence file found · pointer only · f00b29ccb5c157cd · report fixture: signature img:ndarray/2/int, thresh:int/0/int · returned ndarray · level recorded 2026-09-22
solarize_level_to_args omnilmm/model/omnilmm.py ran · our draft was wrong no licence file found · pointer only · cd79a8d919027e2d · report fixture: signature MAX_LEVEL:int/0/int · returned function · level recorded 2026-09-22
translate_level_to_args omnilmm/model/omnilmm.py ran · our draft was wrong no licence file found · pointer only · 6c41b36881cba094 · report fixture: signature translate_const:int/0/int, MAX_LEVEL:int/0/int, replace_value:tuple/1/int · returned function · level recorded 2026-09-22
translate_x_func omnilmm/model/omnilmm.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 8fdbb5c32fbaadd3 · report fixture: signature img:ndarray/3/int, offset:int/0/int, fill:tuple/1/int · returned ndarray · level recorded 2026-09-22
translate_y_func omnilmm/model/omnilmm.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 77c33034a7472197 · report fixture: signature img:ndarray/3/int, offset:int/0/int, fill:tuple/1/int · returned ndarray · level recorded 2026-09-22
OmniLMMModel omnilmm/model/omnilmm.py unverified no licence file found · pointer only · 70d86725d7cc8930 · report
RandomAugment omnilmm/model/omnilmm.py unverified no licence file found · pointer only · 607f6d81c5fbcd61 · report
build_transform in 170 papers omnilmm/model/omnilmm.py unverified no licence file found · pointer only · ce385361217c109c · report
create_vision_module omnilmm/model/omnilmm.py unverified no licence file found · pointer only · 18b789fcee7f1fac · report
posterize_func omnilmm/model/omnilmm.py unverified no licence file found · pointer only · e3a9bbe286eaad72 · report
Repository not located 1 sample, 1 ran (0 instrument-failed) · 0 unverified
1 sample is identical to code Syntology harvested from another paper's repository; this paper's own copy was not located, so no repository is named and no licence is recorded.
mean in 84 papers repository not located ran · violated contract fingerprinted licence of this copy not recorded · e8b6cf1e9387fc9a · report fixture: signature lst:list/1/int · returned float · level recorded 2026-09-22

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for Unsupervised Visual CoT (UV-CoT) (graph method: Unsupervised Visual CoT (UV-CoT)). 33 bricks; individually on a fixture: 27 ran (of which 3 constructed an object rather than computing a result; 8 with no instrument failure: 2 honoured, 3 violated, 3 with no contract checked; 19 where Syntology's instrument failed) · 6 unverified. The assembly has not been run end-to-end.

  1. OmniLMMModel entry · level 0 · unverified · 70d86725d7cc8930
  2. OmniLMMConfig helper · level 1 · ran · 93a39f7d4d0d010b
  3. build_transform helper · level 0 · unverified · ce385361217c109c
  4. create_vision_module model · level 0 · unverified · 18b789fcee7f1fac
  5. RandomAugment helper · level 0 · unverified · 607f6d81c5fbcd61
  6. mean helper · level 1 · ran · violated contract · e8b6cf1e9387fc9a
  7. Identity helper · level 1 · ran · 5be6156a5bbf6aa8
  8. Resampler helper · level 1 · ran · 5a33fedd425592c9
  9. get_2d_sincos_pos_embed helper · level 1 · ran · honoured contract · 5a37690a13a6157d
  10. get_abs_pos helper · level 1 · ran · our draft was wrong · 50c4398a8645438a
  11. get_2d_sincos_pos_embed_from_grid helper · level 0 · unverified · 2884deadbb637c3e
  12. get_1d_sincos_pos_embed_from_grid helper · level 1 · ran; the contract check could not run · 5c8ea92d43ead77d
  13. autocontrast_func helper · level 1 · ran; the contract check could not run (RAISES) · a95e6290546a4d45
  14. brightness_func helper · level 1 · ran; the contract check could not run (RAISES) · 927d3870a6db2930
  15. color_func helper · level 1 · ran; the contract check could not run (RAISES) · 3b8ecf5870557683
  16. contrast_func helper · level 1 · ran · violated contract · dd1d12a456bbf084
  17. enhance_level_to_args helper · level 1 · ran · our draft was wrong · 8c2baaccb692ba62
  18. equalize_func helper · level 1 · ran; the contract check could not run (RAISES) · eb4f4c5587a11a2c
  19. identity_func helper · level 1 · ran · violated contract · 1dd2ab205689d45b
  20. none_level_to_args helper · level 1 · ran · honoured contract · ffd0bebcc0b9c875
  21. posterize_func helper · level 0 · unverified · e3a9bbe286eaad72
  22. posterize_level_to_args helper · level 1 · ran · our draft was wrong · 0addd1e67c37549d
  23. rotate_func helper · level 1 · ran · our draft was wrong · 1a262e5956a7dffb
  24. rotate_level_to_args helper · level 1 · ran · our draft was wrong · 70c60b9689a84a12
  25. sharpness_func helper · level 1 · ran; the contract check could not run (RAISES) · a0970531e41dd9dd
  26. shear_level_to_args helper · level 1 · ran · our draft was wrong · 04fcf271841414c8
  27. shear_x_func helper · level 1 · ran; the contract check could not run (RAISES) · 37929a3615a6c868
  28. shear_y_func helper · level 1 · ran; the contract check could not run (RAISES) · bc87971adee63b03
  29. solarize_func helper · level 1 · ran; the contract check could not run (RAISES) · f00b29ccb5c157cd
  30. solarize_level_to_args helper · level 1 · ran · our draft was wrong · cd79a8d919027e2d
  31. translate_level_to_args helper · level 1 · ran · our draft was wrong · 6c41b36881cba094
  32. translate_x_func helper · level 1 · ran; the contract check could not run (RAISES) · 8fdbb5c32fbaadd3
  33. translate_y_func helper · level 1 · ran; the contract check could not run (RAISES) · 77c33034a7472197

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2504.18397") returns these assemblies with each brick's role and wiring (how to connect).

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