Chain-of-Thought (CoT) reasoning has been widely adopted to enhance Large Language Models (LLMs) by decomposing complex tasks into simpler, sequential subtasks. Uni-CoT extends these principles to vision-language reasoning, enabling coherent and grounded multimodal reasoning within a single unified model. The key idea is to leverage a model capable of both image understanding and generation to reason over visual content and model evolving visual states.
The Uni-CoT framework adopts a novel two-level hierarchical reasoning architecture:
Macro-Level CoT: Decomposes a complex task into simpler subtasks and synthesizes their outcomes to derive the final answer. This includes strategies like Sequential, Parallel, and Progressive Refinement Decomposition.
Micro-Level CoT: Focuses on executing individual subtasks, incorporating a Self-Check (Self-Reflection) Mechanism to ensure stable and high-quality results.
This design significantly reduces computational overhead, allowing Uni-CoT to perform scalable and coherent multi-modal reasoning. It aims to solve complex multimodal tasks, including:
🎨 Reliable image generation and editing
🔍 Visual and physical reasoning
🧩 Visual planning
📖 Multimodal story understanding
🧠 Reasoning Pipeline
Quickstart
Installation
The environment setup of Uni-CoT is consistent with its base model, Bagel.
To perform evaluation or general inference using UniCoT-7B-MoT, you need at least one GPU with 40GB or more VRAM.
Evaluation on WISE benchmark
To reproduce the results on WISE benchmark, you can use the script ./scripts/run_wise_self_reflection.sh. Specify your local checkpoint of UniCoT-7B-MoT and output directory using --model_path and outdir.
For general inference, prepare your prompts by formatting them into a .txt file, with one prompt per line (e.g., test_prompts.txt). Then, use the script ./scripts/run_user_self_reflection.sh to generate images from your prompts with the added benefit of the self-reflection mechanism.
We first conduct experiments on the WISE dataset to evaluate the reasoning capabilities of our method. As shown in the table below, our model achieves state-of-the-art (SOTA) performance among existing open-source unified models. Our results are averaged over five independent runs to ensure robustness and reliability.
Culture↑
Time↑
Space↑
Biology↑
Physics↑
Chemistry↑
Overall↑
Janus
0.16
0.26
0.35
0.28
0.30
0.14
0.23
MetaQuery
0.56
0.55
0.62
0.49
0.63
0.41
0.55
Bagel-Think
0.76
0.69
0.75
0.65
0.75
0.58
0.70
Uni-CoT
0.76±0.009
0.70±0.0256
0.76±0.006
0.73±0.021
0.81±0.018
0.73±0.020
0.75±0.013
GPT4O
0.81
0.71
0.89
0.83
0.79
0.74
0.80
Furthermore, we apply our self-check mechanism to the images generated by the original Bagel model with think mode, aiming to evaluate our method’s ability to calibrate erroneous outputs.
The results in the table below demonstrate that our model effectively refines the imperfect outputs generated by Bagel.
We also achieve state-of-the-art (SOTA) performance on the KRIS benchmark, even surpassing the closed-source model Gemini2.0.
Model
Attribute Perception
Spatial Perception
Temporal Perception
Factual Avg
Social Science
Natural Science
Conceptual Avg
Logical Reasoning
Instruction Decomposition
Procedural Avg
Overall Score
Gemini 2.0 (Google)
66.33
63.33
63.92
65.26
68.19
56.94
59.65
54.13
71.67
62.90
62.41
Step 3∅ vision (StepFun)
69.67
61.08
63.25
66.70
66.88
60.88
62.32
49.06
54.92
51.99
61.43
Doubao (ByteDance)
70.92
59.17
40.58
63.30
65.50
61.19
62.23
47.75
60.58
54.17
60.70
BAGEL (ByteDance)
64.27
62.42
42.45
60.26
55.40
56.01
55.86
52.54
50.56
51.69
56.21
BAGEL-Think (ByteDance)
67.42
68.33
58.67
66.18
63.55
61.40
61.92
48.12
50.22
49.02
60.18
Uni-Cot
72.76
72.87
67.10
71.85
70.81
66.00
67.16
53.43
73.93
63.68
68.00
GPT-4o (OpenAI)
83.17
79.08
68.25
79.80
85.50
80.06
81.37
71.56
85.08
78.32
80.09
Citation
If you find Uni-CoT useful for your research, please consider citing the paper:
bibtex
1@misc{qin2025unicot,
2 title={Uni-cot: Towards Unified Chain-of-Thought Reasoning Across Text and Vision},
3 author={Luozheng Qin and Jia Gong and Yuqing Sun and Tianjiao Li and Mengping Yang and Xiaomeng Yang and Chao Qu and Zhiyu Tan and Hao Li},
4 year={2025},
5 eprint={2508.05606},
6 archivePrefix={arXiv},
7 primaryClass={cs.CV},
8 url={https://arxiv.org/abs/2508.05606},
9}
Acknowledgement
We acknowledge the contributions of the following projects that inspired and supported Uni-CoT: