GoT: Unleashing Reasoning Capability of Multimodal Large Language Model for Visual Generation and Editing

Rongyao Fang, Chengqi Duan, Kun Wang, Linjiang Huang, Hao Li +7 more
3/13/2025
cs.CV

Official code: rongyaofang/GoT (317 stars, MIT, last commit 2025-09-28).

Abstract

Current image generation and editing methods primarily process textual prompts as direct inputs without reasoning about visual composition and explicit operations. We present Generation Chain-of-Thought (GoT), a novel paradigm that enables generation and editing through an explicit language reasoning process before outputting images. This approach transforms conventional text-to-image generation and editing into a reasoning-guided framework that analyzes semantic relationships and spatial arrangements. We define the formulation of GoT and construct large-scale GoT datasets containing over 9M samples with detailed reasoning chains capturing semantic-spatial relationships. To leverage the advantages of GoT, we implement a unified framework that integrates Qwen2.5-VL for reasoning chain generation with an end-to-end diffusion model enhanced by our novel Semantic-Spatial Guidance Module. Experiments show our GoT framework achieves excellent performance on both generation and editing tasks, with significant improvements over baselines. Additionally, our approach enables interactive visual generation, allowing users to explicitly modify reasoning steps for precise image adjustments. GoT pioneers a new direction for reasoning-driven visual generation and editing, producing images that better align with human intent. To facilitate future research, we make our datasets, code, and pretrained models publicly available at https://github.com/rongyaofang/GoT.

View on arXivView PDF

Code Implementations(1)

rongyaofang/GoTOfficial100%
MIT

Official repository of "GoT: Unleashing Reasoning Capability of Multimodal Large Language Model for Visual Generation and Editing"

31712Python, Jupyter NotebookMar 11, 20251 years agoMIT

Similar Papers

Cite this paper

@article{fang2025got,
  title  = {GoT: Unleashing Reasoning Capability of Multimodal Large Language Model for Visual Generation and Editing},
  author = {Rongyao Fang and Chengqi Duan and Kun Wang and Linjiang Huang and Hao Li and Shilin Yan and Hao Tian and Xingyu Zeng and Rui Zhao and Jifeng Dai and Xihui Liu and Hongsheng Li},
  year   = {2025},
  eprint = {2503.10639},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.10639v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.10639.svg)](https://codeofpaper.com/paper/2503.10639)

Discussion