TL;DR
Self-Sampling Preference Optimization (SSPO) bridges the gap between stable Supervised Fine-Tuning (SFT) and high-generalization Direct Preference Optimization (DPO) for diffusion models. By using historical checkpoints to generate contrastive data and dynamically switching between SFT and DPO based on sample quality, SSPO eliminates the need for external reward models or human annotations while achieving state-of-the-art alignment in text-to-image and text-to-video tasks.
What Problem Does This Paper Address?
Aligning generative diffusion models with human preferences typically relies on two paradigms: Supervised Fine-Tuning (SFT) and Reinforcement Learning / Direct Preference Optimization (DPO). SFT is stable but struggles to generalize beyond its training set. DPO generalizes better but demands expensive human-annotated preference pairs or external reward models, which are prone to "reward hacking" and struggle to capture all nuances of visual quality.
Self-improvement methods try to bypass this by using the model's own previous versions to generate negative samples. However, they naively assume all self-generated samples are bad. As the model improves, its generations actually get better, leading to training instability and overfitting when the model tries to reject its own high-quality outputs.
Methods
The authors introduce Self-Sampling Preference Optimization (SSPO), an alignment method that operates without external reward models or paired data by combining two novel strategies:
- Random Checkpoint Replay (RCR): Instead of just using the latest model checkpoint to generate contrastive data (which causes instability), SSPO uniformly samples from all previous checkpoints. This historical replay stabilizes training and prevents the model from getting stuck in non-global optima.
- Self-Sampling Regularization (SSR): A dynamic gating mechanism that evaluates whether a self-generated sample is actually a "losing" sample compared to the target data. If the reference model has a higher probability of generating the winning sample than the current model, the generated sample might actually be high-quality. In these cases, SSPO automatically switches from a contrastive DPO loss to an SFT loss, preventing the model from learning biases from false negatives.
Datasets
- Text-to-Image: Trained on the Pick-a-Pic v2 dataset (using 851,293 cleaned pairs across 58,960 unique prompts). Evaluated on the Pick-a-Pic validation set, Parti-prompt, and HPSv2.
- Text-to-Video: Trained on the MagicTime training set and validated on the ChronoMagic-Bench-150 benchmark.
Key Insights and Ideas
- Self-generated data isn't always bad: Previous self-play methods assumed any model-generated image was a negative sample. SSPO recognizes that as a model improves, its generations can match or exceed baseline quality, requiring a shift from contrastive learning (DPO) to reinforcement learning (SFT).
- History matters for stability: Sampling uniformly from all past checkpoints (RCR) provides a much more stable training trajectory than just using the immediate predecessor, a property the authors mathematically validate via a PAC-Bayesian generalization bound.
- No Reward Model, No Reward Hacking: By relying purely on the mathematical relationship between the current policy and historical checkpoints, SSPO avoids the computational overhead and exploitation risks of external reward models.
Key Results
- Text-to-Image Superiority: On Stable Diffusion 1.5, SSPO achieved a PickScore of 21.57 and an ImageReward of 0.615, outperforming Diffusion-DPO, SPO, and SPIN-Diffusion.
- Scalability to SDXL: When applied to the stronger SDXL backbone, SSPO pushed PickScore to 23.24 and HPSv2 to 32.04, beating all baseline methods and demonstrating stronger alignment with human preferences.
- Text-to-Video Success: Applied to AnimateDiff on the ChronoMagic benchmark, SSPO significantly improved video quality, dropping the Frame Volume Distortion (FVD) score from 1608.41 (raw) to 1300.97, while boosting text-video alignment scores (MTScore and CHScore).
Limitations and Future Work
- Policy Space Constraints: Theoretical exploration of the policy space when constrained by reference models remains an open problem in diffusion models.
- Pixel-Space Optimization: The current method operates within the latent space of diffusion models; the authors note that incorporating pixel-space features directly (images before encoding) could further boost visual fidelity and alignment.
Summary updated