T2I-R1: Reinforcing Image Generation with Collaborative Semantic-level and Token-level CoT

Dongzhi Jiang, Ziyu Guo, Renrui Zhang, Zhuofan Zong, Hao Li +4 more
5/1/2025
cs.CVcs.AIcs.CL

Official code: CaraJ7/T2I-R1 (432 stars, Apache-2.0, last commit 2025-09-18).

Abstract

Recent advancements in large language models have demonstrated how chain-of-thought (CoT) and reinforcement learning (RL) can improve performance. However, applying such reasoning strategies to the visual generation domain remains largely unexplored. In this paper, we present T2I-R1, a novel reasoning-enhanced text-to-image generation model, powered by RL with a bi-level CoT reasoning process. Specifically, we identify two levels of CoT that can be utilized to enhance different stages of generation: (1) the semantic-level CoT for high-level planning of the prompt and (2) the token-level CoT for low-level pixel processing during patch-by-patch generation. To better coordinate these two levels of CoT, we introduce BiCoT-GRPO with an ensemble of generation rewards, which seamlessly optimizes both generation CoTs within the same training step. By applying our reasoning strategies to the baseline model, Janus-Pro, we achieve superior performance with 13% improvement on T2I-CompBench and 19% improvement on the WISE benchmark, even surpassing the state-of-the-art model FLUX.1. Code is available at: https://github.com/CaraJ7/T2I-R1

View on arXivView PDF

Code Implementations(1)

CaraJ7/T2I-R1Official100%
Apache-2.0

[NeurIPS 2025] T2I-R1: Reinforcing Image Generation with Collaborative Semantic-level and Token-level CoT

43226C++, CudaMay 1, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{jiang2025tir,
  title  = {T2I-R1: Reinforcing Image Generation with Collaborative Semantic-level and Token-level CoT},
  author = {Dongzhi Jiang and Ziyu Guo and Renrui Zhang and Zhuofan Zong and Hao Li and Le Zhuo and Shilin Yan and Pheng-Ann Heng and Hongsheng Li},
  year   = {2025},
  eprint = {2505.00703},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.00703v2}
}

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/2505.00703.svg)](https://codeofpaper.com/paper/2505.00703)

Discussion