Self-Reflective Reinforcement Learning for Diffusion-based Image Reasoning Generation
Jiadong Pan, Zhiyuan Ma, Kaiyan Zhang, Ning Ding, Bowen Zhou
TL;DR
This work tackles the challenge of generating image content that adheres to physical laws and can exhibit reasoning, by introducing SRRL, a self-reflective reinforcement learning framework for diffusion models. SRRL combines multi-round reflective denoising with a condition guided forward process, enabling iterative reasoning across generation trajectories and leveraging process reward models for intermediate feedback. The approach is formalized via $\mathcal{J}_{RL}(\theta)$ and $\mathcal{J}_{SRRL}(\theta)$ objectives, with PPO optimization guiding updates and a forward-noise mechanism linking successive rounds. Empirical results on physical-law and unconventional-phenomena prompts show SRRL produces high-quality, logically coherent images that rival or surpass GPT-4o, suggesting significant potential for education, science visualization, and creative content generation where reasoning and imagination are crucial.
Abstract
Diffusion models have recently demonstrated exceptional performance in image generation task. However, existing image generation methods still significantly suffer from the dilemma of image reasoning, especially in logic-centered image generation tasks. Inspired by the success of Chain of Thought (CoT) and Reinforcement Learning (RL) in LLMs, we propose SRRL, a self-reflective RL algorithm for diffusion models to achieve reasoning generation of logical images by performing reflection and iteration across generation trajectories. The intermediate samples in the denoising process carry noise, making accurate reward evaluation difficult. To address this challenge, SRRL treats the entire denoising trajectory as a CoT step with multi-round reflective denoising process and introduces condition guided forward process, which allows for reflective iteration between CoT steps. Through SRRL-based iterative diffusion training, we introduce image reasoning through CoT into generation tasks adhering to physical laws and unconventional physical phenomena for the first time. Notably, experimental results of case study exhibit that the superior performance of our SRRL algorithm even compared with GPT-4o. The project page is https://jadenpan0.github.io/srrl.github.io/.
