Reinforcing Few-Step Diffusion Models via Shadow Posterior Matching
Abstract
Few-step diffusion models are widely deployed for their efficiency. However, reinforcing them with black-box rewards, as is routine for multi-step models, faces two structural challenges. First, a few-step generator is a sampler rather than a score model, so its velocity is not the forward velocity of the generated distribution. Second, it must be anchored to the undistilled teacher, which shares no transitions with it. Existing few-step RL methods handle the latter with a marginal KL to the teacher, but each pays for the former in its reward credit. We propose Shadow Posterior Matching (SPM), which renoises generated samples into shadow inputs and obtains the credit from their shadow posterior. From the KL-regularized reward objective, we derive a regression loss that turns reward values into a reward direction while anchoring the generator's outputs to the teacher and aligning the shadow inputs with the deployed inputs. Applied to 4-step generators, SPM achieves higher rewards with less reward hacking than prior few-step RL methods.
Figures & tables
| Paradigm | Reward credit | Anchor | |||
|---|---|---|---|---|---|
| Reward value | Final call | Sharp sample | Reward direction | Teacher KL | |
| Reward backpropagation [ 13 , 20 , 36 ] | – | ||||
| Policy gradients [ 11 ] | |||||
| Learned surrogate [ 23 ] | |||||
| Forward-process residual [ 6 ] | |||||
| Reward-weighted matching [ 13 , 18 , 1 ] | |||||
| Method | NFE | Training Reward | Image Quality | Preference Score | |||||
|---|---|---|---|---|---|---|---|---|---|
| GenEval | OCR | PickScore | Aesthetic | DeQA | ImageReward | PickScore | HPSv2.1 | ||
| SD3.5-M [ 7 ] | 80 | 0.64 | 0.56 | 21.79 | 5.41 | 4.08 | 0.82 | 22.40 | 0.28 |
| DMD2 [ 41 ] | 4 | 0.69 | 0.59 | 21.78 | 5.50 | 4.16 | 1.09 | 22.48 | 0.30 |
| Compositional Image Generation | |||||||||
| Flow-GRPO [ 16 ] | 80 | 0.95 | – | – | 5.25 | 4.01 | 1.03 | 22.37 | 0.27 |
| DiffusionNFT [ 44 ] | 40 | 0.95 | – | – | 4.98 | 4.10 | 0.30 | 21.59 | 0.24 |
RL for Diffusion Models
Reinforcement learning for diffusion models adapts denoising and sampling to rewards, preferences, and task outcomes.
See all 196 papers