GoT-R1: Unleashing Reasoning Capability of MLLM for Visual Generation with Reinforcement Learning

Chengqi Duan, Rongyao Fang, Yuqing Wang, Kun Wang, Linjiang Huang, Xingyu Zeng, Hongsheng Li, Xihui Liu · DOI

Abstract

Modern text-to-image models often struggle with complex compositional prompts involving specific spatial relationships and attribute bindings. GoT-R1 addresses this by treating visual generation as a multi-step reasoning task optimized via Reinforcement Learning (RL). By applying Group Relative Policy Optimization (GRPO) to a unified Multimodal Large Language Model (MLLM), the framework enables the model to autonomously discover sophisticated spatial-semantic reasoning strategies. GoT-R1 achieves state-of-the-art results on benchmarks like T2I-CompBench and GenEval, demonstrating a significant leap in the ability of models to "think" before they draw.

Introduction

Despite the high visual quality of current diffusion-based models, they frequently fail at "compositional" tasks—for instance, swapping colors between objects or misplacing items relative to one another. This limitation stems from the direct mapping of text embeddings to visual features without an intermediate planning phase.

Comparison of GoT image generation before and after Reinforcement Learning.

While the Generation Chain-of-Thought (GoT) framework introduced a planning stage where models write object descriptions and coordinates before drawing, it initially relied on rigid, human-defined templates. GoT-R1 removes these constraints by allowing the model to learn reasoning through trial and error, discovering more efficient and diverse ways to organize complex scenes.

Methods

The GoT-R1 framework treats image generation as an autoregressive reasoning process.

Architecture and Optimization

The system utilizes Janus-Pro, a unified MLLM capable of processing and generating both text and image tokens. To optimize the model's reasoning paths, the researchers employed Group Relative Policy Optimization (GRPO). GRPO evaluates a group of sampled outputs against each other, which avoids the complexity of maintaining a separate critic model while effectively steering the policy toward better reasoning chains.

The GoT-R1 training framework utilizing GRPO and an MLLM Reward Model.

Multi-Dimensional Reward System

A critical innovation in GoT-R1 is its dual-stage reward system, which evaluates four distinct dimensions to ensure both high-quality reasoning and visual fidelity:

  1. Semantic Alignment: Checks if the text plan includes all requested objects and attributes.
  2. Spatial Accuracy: Verifies if planned coordinates match spatial instructions (e.g., "left of"). To improve accuracy, coordinates are rendered as boxes on a canvas for the reward MLLM to inspect visually.
  3. Reasoning-to-Image Consistency: Ensures the final generated image adheres to the model's own generated plan.
  4. Prompt-to-Image Quality: Assesses the final image's overall quality and alignment with the original user prompt.

Results

GoT-R1-7B established new state-of-the-art benchmarks across rigorous compositional evaluations.

  • T2I-CompBench: The model secured top scores in 5 out of 6 categories, notably outperforming industry leaders like FLUX.1 and DALL-E 3 in spatial and complex attribute tasks.
  • GenEval: It achieved an overall score of 0.75, a substantial improvement over the non-RL baseline of 0.64.
  • Human and Model Preference: In blind evaluations, GPT-4o preferred the reasoning chains produced by GoT-R1 over the baseline approximately 80% of the time.

Qualitatively, the model shows a marked improvement in following intricate instructions, such as specific object counts or precise color-object pairings that typically trip up standard models.

Discussion and Conclusion

The success of GoT-R1 suggests that reasoning capabilities are transferable to the visual domain. By providing process-based supervision rather than just outcome-based rewards, MLLMs can be trained to develop "free-style" reasoning strategies that surpass fixed templates.

However, challenges remain. The computational cost of RL on image tokens is high, and the system's performance is inherently limited by the perceptual capabilities of the MLLM used as a rewarder. Future work will explore scaling these models and applying similar RL-driven reasoning to tasks like multi-step image editing and complex graphic design.

Summary updated

BibTeX
@inproceedings{duan2026got,
  author = {Chengqi Duan and Rongyao Fang and Yuqing Wang and Kun Wang and Linjiang Huang and Xingyu Zeng and Hongsheng Li and Xihui Liu},
  title = {{GoT-R1: Unleashing Reasoning Capability of MLLM for Visual Generation with Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=Z9FjSaBuYt},
}
Figure