TL;DR
Masked Diffusion Models (MDMs) generate images rapidly by decoding visual tokens in chunks, yet they rely on rigid, hand-crafted rules during inference that they never actually experience during training. Co-GRPO closes this gap using reinforcement learning to simultaneously co-evolve both the image-generating neural network and its step-by-step decoding schedule. The result is sharper aesthetics, stronger prompt adherence, and dramatic quality boosts—especially when generating images in very few steps.
What Problem Does This Paper Address?
Imagine training a painter by covering random patches of finished paintings and asking them to guess what is underneath all at once. Then, on opening night, you hand them a blank canvas and tell them to paint a masterpiece in 16 sequential stages, following a strict, pre-written rulebook for how much of the canvas to fill at each stage.
This is the exact disconnect inside Masked Diffusion Models (MDMs). Unlike autoregressive models that generate images one token at a time, MDMs start with a fully masked canvas and iteratively infill multiple discrete tokens in parallel over 8 to 48 steps.
To avoid expensive backpropagation through dozens of steps, MDMs are trained with a simplified, single-step BERT-style objective: mask a random subset of tokens and predict them simultaneously. Because training is single-step, the model never learns how to pace itself across a multi-step trajectory. At inference time, engineers rely on manually designed "inference schedules"—mathematical functions governing the re-masking ratio, sampling temperature, re-mask temperature, and classifier-free guidance scale at each step. Even when researchers apply reinforcement learning (like Naive GRPO) to fine-tune MDMs, they freeze the schedule and only update the model, leaving half of the generation machinery unoptimized.
Methods
The authors introduce Co-GRPO (Co-Optimized Group Relative Policy Optimization), which unifies the token-predicting model and the inference schedule into a single Markov Decision Process (MDP).
Instead of treating the four scheduling parameters as fixed hyperparameters, Co-GRPO treats them as continuous, trainable actions chosen dynamically at every denoising step alongside the visual tokens. The joint policy is cleanly factorized into two cooperating components:
- The Model Policy ($\pi_{\text{model}}$): The standard MDM backbone that predicts visual tokens, now conditioned on the dynamically chosen schedule.
- The Scheduling Policy ($\pi_{\text{schedule}}$): A lightweight neural network that observes the current canvas and prompt, outputting a multivariate Gaussian distribution to sample the next step's scheduling parameters.
Using Group Relative Policy Optimization (GRPO)—an RL algorithm that scores a group of generated trajectories at the final step to compute relative advantages—Co-GRPO updates both policies under a shared reward without backpropagating through the multi-step generation chain.
What’s novel in training: Updating a massive 1B-parameter vision model and a tiny scheduling network at the exact same time causes training instability. Leveraging the mathematical separability of their factorized policy, the authors introduce an alternating co-optimization strategy: they freeze the schedule while updating the model for $N_m$ iterations, then freeze the model while updating the schedule for $N_s$ iterations, allowing each to adapt to a stable counterpart.
Datasets
The paper does not introduce new datasets, nor does the main text specify the exact prompt dataset used during RL trajectory collection (deferring training hyperparameters to the appendix).
- Reward Models (Training & In-Distribution Eval): Models are trained using an equal 50/50 weighted combination of ImageReward and HPSv2, and evaluated on their respective benchmarks.
- Out-of-Distribution Benchmarks (Zero-Shot Eval): To test generalization and prompt adherence without fine-tuning, the authors evaluate on GenEval and DPG-Bench, plus orthogonal reward metrics MPS and CLIP-Score.
Key Insights and Ideas
- Tiny schedules wield massive leverage: In a preliminary test, merely tweaking the exponent of a cosine masking schedule from $1.0$ to $1.5$ caused the 16-step ImageReward score to jump from $0.735$ to $0.896$. This sensitivity explains why simultaneous training is unstable—tiny updates to the small scheduling network drastically shift the generation dynamics—making alternating optimization essential.
- Co-evolution beats post-hoc search: Searching for an optimal schedule on a frozen RL-tuned model improves scores modestly, whereas co-evolving them together unlocks a superior joint solution—the model learns what to generate based on how the schedule paces it, and vice versa.
- Learned schedules shine brightest under tight budgets: When a policy trained at 48 steps is interpolated down to just 8 steps, performance explodes compared to the baseline. Smart pacing matters most when you only have a few steps to paint the picture.
Key Results
Applied to the 1B-parameter Meissonic MDM (at 48 steps), Co-GRPO outperforms both the base model, larger diffusion models, and competing RL baselines (Naive GRPO, MaskGRPO, UniGRPO):
- Reward Alignment: Boosts ImageReward from $0.942$ to $1.122$ (vs. $1.014$ for Naive GRPO) and HPSv2 from $28.83$ to $29.37$, outperforming much larger models like Flux.2 Klein (9.2B, $1.083$ ImageReward).
- Zero-Shot Generalization: Without training on their prompts, Co-GRPO lifts Meissonic's GenEval score from $0.47$ to $0.55$ and DPG-Bench from $64.57$ to $70.10$.
- Low-Step Transfer: Evaluated at just 8 inference steps, the 48-step-trained Co-GRPO leaps from a baseline ImageReward of $0.133$ to $0.874$.
- Model-Agnostic: Applied to a second MDM backbone (Show-o, 1.3B), Co-GRPO raises ImageReward from $1.028$ to $1.216$ and GenEval from $0.64$ to $0.75$.
Limitations and Future Work
Due to computational constraints, the authors only validated Co-GRPO on ~1B-parameter models (Meissonic and Show-o) and have not yet scaled the framework to massive multimodal MDMs such as the 8B-parameter MMaDA. Scaling this cooperative RL paradigm to larger foundation models remains an open direction for future work.
Summary updated