NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ThinkGen: Generalized Thinking for Visual Generation

Siyu Jiao, Yiheng Lin, Yujie Zhong, Qi She, Wei Zhou, Xiaohan Lan, Zilong Huang, Fei Yu, Yingchen Yu, Yunqing Zhao, Yao Zhao, Yunchao Wei

TL;DR

ThinkGen is a novel visual generation framework that successfully brings generalized Chain-of-Thought (CoT) reasoning to text-to-image generation and image editing. By decoupling a Multimodal Large Language Model (MLLM) for "thinking" from a Diffusion Transformer (DiT) for "generating," and training them via a novel separable reinforcement learning paradigm (SepGRPO), ThinkGen achieves state-of-the-art performance across diverse generation benchmarks without sacrificing standard image quality.

What Problem Does This Paper Address?

While Chain-of-Thought (CoT) reasoning—generating explicit intermediate steps to solve a problem—has revolutionized how Large Language Models handle complex math, coding, and understanding tasks, its application to visual generation remains limited.

Current methods that attempt to use CoT for image generation suffer from a major flaw: they are typically tailored to a single, narrow scenario (such as complex reasoning prompts or text rendering). When these models are applied to broader, everyday generation tasks, their performance often degrades significantly. As a result, current systems require manual intervention to toggle CoT on or off depending on the prompt. The authors of ThinkGen tackle this limitation head-on, proposing a unified, automated framework capable of applying robust CoT reasoning across text-to-image generation, image editing, text rendering, and visual reflection.

ThinkGen across diverse scenarios

Methods

ThinkGen introduces a clean, decoupled architecture paired with a multi-stage training recipe designed to optimize both text reasoning and image synthesis.

1. Decoupled Architecture

Instead of forcing a single model to handle both reasoning and pixel generation, ThinkGen splits the labor:

  • MLLM Module: Initialized with Qwen3-VL-8B-Think, this module processes user intent (and any reference images) to produce a structured reasoning chain wrapped in <think>...</think> tags.
  • Diffusion Transformer (DiT) Module: Initialized with OmniGen2-DiT-4B, this module takes the refined instructions from the MLLM to synthesize high-quality images.
Overview of ThinkGen Architecture

2. Visual Generation Instruction Refinement (VGI-refine)

To prevent conversational redundancy from the MLLM's raw CoT output from confusing the DiT, the VGI-refine module extracts only the concise instruction tokens that follow the </think> tag. It then concatenates these tokens with $K$ learnable Prepadding States. This acts as a distribution bridge, smoothly aligning the MLLM's hidden states with the conditioning expectations of the DiT.

3. Separable GRPO (SepGRPO)

Training both modules simultaneously via Reinforcement Learning (RL) is computationally prohibitive and unstable. The authors introduce SepGRPO, which alternates RL training between the modules:

  • Stage 4 (MLLM-GRPO): The DiT is frozen. Group Relative Policy Optimization (GRPO) is applied to the MLLM across five distinct generation scenarios, using rule-based reward models to encourage text rewrites that favor the DiT's preferences.
  • Stage 5 (DiT-GRPO): The MLLM is frozen. FlowGRPO is applied to the DiT to optimize its instruction-following capabilities based on the MLLM's reasoning outputs.

Datasets

The model undergoes a rigorous 5-stage training pipeline utilizing a mix of large-scale open-source and curated datasets:

  • Pre-training & Fine-tuning (Stages 1-3): 60M total image samples, including 54M image-text pairs for text-to-image generation and 5M image editing samples (from sources like MagicBrush, UltraEdit, etc.), plus 1M high-quality proprietary samples for aesthetics.
  • SepGRPO Training (Stage 4): 5K semantic prompts (GenEval), 10K reasoning prompts (HPSv3), 3K text rendering prompts, 3K editing samples (SigLIP2), and 3K reflection samples.
  • Evaluation Benchmarks: The framework was evaluated on WISEBench (world-knowledge reasoning), RISEBench (reasoning editing), GenEval (semantic consistency), DPG-Bench (long-form text), CVTG (text rendering), and ImgEdit (image editing).

Key Insights and Ideas

  • CoT Doesn't Have to Hurt Standard Tasks: Prior state-of-the-art models like BAGEL suffered massive performance drops (e.g., -24% in text rendering) when CoT was activated for non-reasoning tasks. ThinkGen's multi-scenario SepGRPO training ensures that "thinking" consistently maintains or improves performance across all generation types.
  • Diffusion Models Can't Reason Alone: A crucial ablation study revealed that directly applying Supervised Fine-Tuning (SFT) to a DiT using reasoning data fails to improve its performance on reasoning benchmarks. The DiT simply lacks the capacity to generalize world knowledge; the heavy lifting must be offloaded to the MLLM's textual reasoning chain.
  • The Power of Prepadding States: For short prompts (e.g., "generate a dog"), the MLLM's output distribution can be erratic. Introducing learnable prepadding states stabilizes this distribution, significantly boosting performance on short-prompt benchmarks.

Key Results

ThinkGen achieves state-of-the-art or competitive performance across every benchmark tested:

  • Reasoning Generation & Editing: Activating CoT reasoning boosted ThinkGen's score on the WISE benchmark from 0.55 to 0.76 (+21% absolute improvement). On RISEBench, it skyrocketed from 3.6 to 13.0, matching closed-source models like Gemini-2.0.
  • Text-to-Image Consistency: ThinkGen achieved an overall score of 0.89 on GenEval and 85.87 on DPG-Bench, outperforming FLUX.1-dev and OmniGen2.
  • Image Editing: On the ImgEdit benchmark, ThinkGen scored an overall 4.21, surpassing all open-source baselines and slightly edging out GPT-4o (4.20).
Visualization of the MLLM-GRPO process

Limitations and Future Work

Although SepGRPO successfully reduces learning complexity and GPU memory consumption during training, the overall pipeline is quite intricate, requiring five distinct training stages. Additionally, generating long reasoning chains introduces computational latency during inference. The authors suggest that future work should focus on compressing CoT tokens to accelerate inference speeds without sacrificing the model's robust reasoning capabilities.

Summary updated

BibTeX
@inproceedings{jiao2026thinkgen,
  author = {Siyu Jiao and Yiheng Lin and Yujie Zhong and Qi She and Wei Zhou and Xiaohan Lan and Zilong Huang and Fei Yu and Yingchen Yu and Yunqing Zhao and Yao Zhao and Yunchao Wei},
  title = {{ThinkGen: Generalized Thinking for Visual Generation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=0D6nvxEgY7},
}
Figure