Co-GRPO: Co-Optimized Group Relative Policy Optimization for Masked Image Generation
Renping Zhou, Zanlin Ni, Tianyi Chen, Zeyu Liu, Yang Yue, Yulin Wang, Yuxuan Wang, Jingshu Liu, Gao Huang
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › Masked Diffusion Generation · Type: new method · Keywords: masked diffusion models, trajectory optimization, policy optimization, image generation, benchmark evaluation
Areas: Generative Models (Diffusion & Flows) › Diffusion Language Modeling › Diffusion models
Summary
Co-GRPO reformulates masked diffusion model generation as a unified Markov Decision Process to jointly optimize model and inference schedule parameters, improving generation quality across benchmarks.
Explained to a 5-year-old
When we want to create new pictures using a computer, it often uses a method that fills in missing parts of an image step by step. Right now, the computer learns to do this by looking at just one step at a time, but when it actually makes the picture it uses many steps. Because the training and the generation steps are not aligned, the program may not learn the best way to move from one step to the next. The new idea treats the whole picture-making process like a game where both the model and the steps can be improved together. As a result, the pictures it creates are clearer and look more natural.
Explained to a 5-year-old, longer
Imagine you have a blank canvas and you want to draw a picture by filling in missing pieces one at a time. A computer program called a masked diffusion model does something similar: it starts with a picture that has some parts hidden. During training, the program learns to guess all the hidden parts at once, like solving a puzzle in a single step. But when the program actually generates a picture, it works differently: it reveals a little bit, then another little bit, and so on, over many steps. Because the training and the generation steps are not aligned, the program may not learn the best way to move from one step to the next. The paper introduces a new way to think about this process as a game where both the model and the step-by-step schedule can be improved together. They treat the whole generation process as a Markov Decision Process, which means each step depends only on the current state. Using a technique called Group Relative Policy Optimization, they adjust both the model parameters and the schedule parameters based on how good the final picture looks. This joint optimization happens without having to go through the whole generation process again for every tiny change, which saves a lot of computation. The result is that the pictures produced are clearer, more realistic, and match the intended content better. The researchers tested this idea on several benchmark evaluation sets that measure image quality and realism. All tests show that the new approach consistently outperforms the previous method, proving that aligning training with inference really helps.
For a technical reader
The paper addresses a mismatch in masked diffusion models where training uses a single-step loss but inference follows a multi-step schedule, preventing the schedule from being optimized. They reframe generation as a Markov Decision Process that jointly models model weights and schedule parameters, enabling end-to-end optimization. By applying Group Relative Policy Optimization at the trajectory level, they update both components using a shared reward without backpropagating through the full generation chain. Experiments on four benchmark evaluation suites show consistent quality improvements, indicating better alignment between training and inference. The approach is computationally efficient because it avoids the costly gradient flow through the iterative generation steps.
Problem
Masked diffusion models are trained with a simplified single-step objective while inference involves multi-step schedules, causing a mismatch that prevents schedule optimization. This disconnect leads to suboptimal generation quality.
Method
The approach treats generation as a Markov Decision Process that jointly models model parameters and schedule parameters, and applies Group Relative Policy Optimization at the trajectory level to optimize both under a shared reward without backpropagation through the multi-step process.
Results
The approach shows substantial improvements in generation quality across the four benchmarks, indicating better alignment between training and inference.
Contributions
A unified MDP formulation for masked diffusion models that jointly optimizes model and inference schedules, and a trajectory-level optimization method that aligns training with inference without costly backpropagation.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction