ReasonGen-R1: CoT for Autoregressive Image generation models through SFT and RL

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Yu, Li, Yunqi, Yang, Yifan, Wang, Rui, Yang, Yuqing, Qi, Dai, Bao, Jianmin, Chen, Dongdong, Luo, Chong, Qiu, Lili
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910988482117632
author Zhang, Yu
Li, Yunqi
Yang, Yifan
Wang, Rui
Yang, Yuqing
Qi, Dai
Bao, Jianmin
Chen, Dongdong
Luo, Chong
Qiu, Lili
author_facet Zhang, Yu
Li, Yunqi
Yang, Yifan
Wang, Rui
Yang, Yuqing
Qi, Dai
Bao, Jianmin
Chen, Dongdong
Luo, Chong
Qiu, Lili
contents Although chain-of-thought reasoning and reinforcement learning (RL) have driven breakthroughs in NLP, their integration into generative vision models remains underexplored. We introduce ReasonGen-R1, a two-stage framework that first imbues an autoregressive image generator with explicit text-based "thinking" skills via supervised fine-tuning on a newly generated reasoning dataset of written rationales, and then refines its outputs using Group Relative Policy Optimization. To enable the model to reason through text before generating images, We automatically generate and release a corpus of model crafted rationales paired with visual prompts, enabling controlled planning of object layouts, styles, and scene compositions. Our GRPO algorithm uses reward signals from a pretrained vision language model to assess overall visual quality, optimizing the policy in each update. Evaluations on GenEval, DPG, and the T2I benchmark demonstrate that ReasonGen-R1 consistently outperforms strong baselines and prior state-of-the-art models. More: aka.ms/reasongen.
format Preprint
id arxiv_https___arxiv_org_abs_2505_24875
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ReasonGen-R1: CoT for Autoregressive Image generation models through SFT and RL
Zhang, Yu
Li, Yunqi
Yang, Yifan
Wang, Rui
Yang, Yuqing
Qi, Dai
Bao, Jianmin
Chen, Dongdong
Luo, Chong
Qiu, Lili
Computer Vision and Pattern Recognition
Computation and Language
Although chain-of-thought reasoning and reinforcement learning (RL) have driven breakthroughs in NLP, their integration into generative vision models remains underexplored. We introduce ReasonGen-R1, a two-stage framework that first imbues an autoregressive image generator with explicit text-based "thinking" skills via supervised fine-tuning on a newly generated reasoning dataset of written rationales, and then refines its outputs using Group Relative Policy Optimization. To enable the model to reason through text before generating images, We automatically generate and release a corpus of model crafted rationales paired with visual prompts, enabling controlled planning of object layouts, styles, and scene compositions. Our GRPO algorithm uses reward signals from a pretrained vision language model to assess overall visual quality, optimizing the policy in each update. Evaluations on GenEval, DPG, and the T2I benchmark demonstrate that ReasonGen-R1 consistently outperforms strong baselines and prior state-of-the-art models. More: aka.ms/reasongen.
title ReasonGen-R1: CoT for Autoregressive Image generation models through SFT and RL
topic Computer Vision and Pattern Recognition
Computation and Language
url https://arxiv.org/abs/2505.24875