TL;DR
This paper re-conceptualizes Distribution Matching Distillation (DMD) as a reinforcement learning (RL) reward ($R_\text{dm}$), unifying diffusion distillation and preference alignment under a single mathematical framework. By applying RL techniques like group normalization and importance sampling, the proposed GNDMR framework stabilizes training, halves computational overhead, and successfully breaks through the teacher model's performance ceiling.
What Problem Does This Paper Address?
While diffusion models excel at generating high-quality images, their slow, iterative sampling process remains a major computational bottleneck. Distillation techniques like Distribution Matching Distillation (DMD) compress these models into fast, few-step generators, but they inherently anchor the student's performance to the pretrained teacher model.
To break this performance ceiling, researchers have tried combining distillation with Reinforcement Learning (RL) to optimize for human preferences (e.g., aesthetics or text alignment). However, prior approaches typically rely on a naive linear combination of separate distillation losses and RL rewards. This causes optimization conflicts and severe training instability. Furthermore, as image noise increases during the distillation process, the gradient variance explodes, leading to highly inefficient training.
Methods
The core innovation of this paper is a mathematical bridge that redefines distribution matching as an RL reward maximization problem.
Traditional Approach: [Distillation Loss] + [RL Reward Objective] --> Optimization Conflict
Ours (GNDMR): [Score Matching] --> Framed as Reward (R_dm) --> Unified GRPO Framework
By showing that the standard DMD gradient can be rewritten as a policy gradient objective, the authors introduce a unified framework called Group Normalized Distribution Matching with Other Rewards (GNDMR):
- Distribution Matching as a Reward ($R_\text{dm}$): The score difference between the real (teacher) and fake (student) distributions is treated directly as a dense reward along the latent trajectory.
- Group Normalization (GNDM): To mitigate the high variance of $R_\text{dm}$ at larger noise timesteps, the authors integrate Group Relative Policy Optimization (GRPO). The generator samples a group of images per prompt, and rewards are normalized within the group to establish a stable optimization direction.
- Importance Sampling (IS): By aligning distillation with RL principles, the authors incorporate an importance sampling estimator. This allows the student model to perform multiple updates per sampling round, drastically improving training efficiency.
- Adaptive Weighting ($\beta_{\text{dm},t}$): A synchronized weighting scheme is introduced to balance the dense, pixel-wise trajectory rewards of $R_\text{dm}$ with sparse, final-image rewards from external models.
Datasets
- Training: The models were trained data-free (without external image datasets) using text prompts solely from the LAION-AeS-6.5+ dataset.
- Evaluation: Performance was validated on 10K prompts from the COCO2014 dataset (using the Karpathy 30K split).
- Reward Models: DFN-CLIP (for text-image alignment) and HPSv2.1 (for aesthetic quality) were utilized as the external reward functions.
Key Insights and Ideas
- Distillation is Just RL: Proving that score-based distillation can be framed strictly as a reward maximization problem bridges the gap between two previously isolated ecosystems, allowing diffusion distillation to natively inherit advanced RL optimization tricks.
- The Timestep Variance Trap: The authors reveal that $R_\text{dm}$ variance amplifies significantly at larger diffused timesteps (higher noise levels), which explains why prior joint-training methods failed. Group normalization elegantly neutralizes this issue.
- Built-in Safeguard Against Reward Hacking: Standard RL rewards (like HPS or CLIP) are susceptible to "reward hacking," where the model exploits the reward function to produce distorted images. Because $R_\text{dm}$ acts as a divergence measure optimizing toward zero, it provides an inherent mathematical anchor that prevents the model from drifting into adversarial unreality.
Key Results
Quantitative evaluations on Stable Diffusion 3 (SD3) and SD3.5 demonstrate that GNDMR consistently outperforms existing 4-step generation baselines:
- Aesthetics and Fidelity: On SD3, GNDMR achieved a peak Human Preference Score (HPS) of 30.37 and a low FID-SD of 12.21, outperforming vanilla DMD, DMD2, and DMDR.
- Reduced Training Cost: The importance-sampled variant, GNDMR-IS, halved the total training samples required (slashing costs from $128 \times 8\text{k}$ to $128 \times 4\text{k}$) while maintaining highly competitive alignment performance.
- Qualitative Superiority: Visually, GNDMR generates images with richer details, enhanced color vibrancy, and significantly fewer structural artifacts than DMDR.
Limitations and Future Work
- Hyperparameter Sensitivity: The framework introduces sensitivity to the importance sampling clip range ($\eta$) and the choice of auxiliary reward weights ($w_j$), which require careful tuning to prevent training instability.
- Future Directions: The authors suggest that this unified paradigm opens the door to applying even more sophisticated online RL algorithms and alternative policy gradient variants to the diffusion distillation pipeline.
Summary updated