TL;DR
Researchers have developed RankDPO, a scalable framework that aligns text-to-image (T2I) models using fully synthetic, ranked preference data. By replacing expensive human labels with an ensemble of AI reward models and moving from simple pairwise comparisons to full rankings, they achieved state-of-the-art prompt following and visual quality at a fraction of the traditional cost.
What Problem Does This Paper Address?
Aligning T2I models like Stable Diffusion with human preferences usually relies on Direct Preference Optimization (DPO). However, DPO has a massive "data tax":
- Cost: Collecting millions of human-annotated image pairs is incredibly expensive (e.g., the Pick-a-Pic dataset cost ~$50,000).
- Staleness: T2I models evolve so fast that human preference datasets become obsolete quickly; a model trained on 512px images from last year isn't ideal for today's 1024px models.
- Limited Signal: Standard DPO uses pairwise comparisons (Image A > Image B), which ignores the richer information available when you have multiple versions of an image for the same prompt.
Methods
The authors introduce two core innovations to solve these issues:
1. Syn-Pic: A Fully Synthetic Ranked Dataset
Instead of asking humans which image they like, the authors generated images for 58,000 prompts using four different state-of-the-art models (SDXL, SD3-Medium, PixArt-Σ, and Stable Cascade). To label them, they used an ensemble of five reward models (like PickScore and ImageReward). By aggregating these scores, they created a ranking of images for every prompt. This process cost roughly $200, compared to the $50,000 required for human-labeled equivalents.
2. RankDPO: Ranking-based Preference Optimization
Standard DPO only cares if the "winner" beats the "loser." RankDPO draws inspiration from the "Learning to Rank" literature. It uses a loss function weighted by Discounted Cumulative Gain (DCG). This ensures the model pays more attention to getting the top-ranked images right, providing a much stronger training signal than simple pairs.
Datasets
- Syn-Pic (Training): A new synthetic dataset containing 240,000 images across 58,000 prompts, each ranked by an ensemble of AI reward models.
- Evaluation Benchmarks: The models were tested on GenEval (object counting/positioning), T2I-Compbench (complex attribute binding), and DPG-Bench (long, detailed prompts).
Key Insights and Ideas
- AI Feedback is Enough: The paper demonstrates that we've reached a point where ensembles of reward models can effectively substitute for human annotators in the DPO loop.
- Ranking > Pairwise: Moving from binary "this is better than that" to a list-wise ranking allows the model to learn finer distinctions in quality and prompt alignment.
- Ensembles Mitigate "Reward Hacking": A single reward model can be "gamed" by a generator (improving the score without improving the image). By averaging five different reward models, the authors created a more robust signal that is harder to hack.
- Scalability: Because the pipeline is automated, it can be re-run every time a new, better T2I model is released, keeping the preference data "fresh."
Key Results
RankDPO significantly improved the performance of both SDXL and SD3-Medium across all major benchmarks:
- Prompt Alignment: On DPG-Bench, RankDPO improved SDXL's alignment score from 74.65 to 79.26, outperforming other popular methods like MaPO and SPO.
- Attribute Binding: In T2I-Compbench, the "Color" attribute score for SDXL jumped from 58.79 to 72.33.
- Human Preference: In a user study, humans preferred images generated by RankDPO over the base SDXL model nearly 60% of the time.
Limitations and Future Work
- Prompt Diversity: The current version of Syn-Pic relies on prompts from the Pick-a-Picv2 dataset. The authors note that expanding the variety of prompts would likely further improve the model's utility.
- Safety: The study focused on visual quality and prompt alignment. The authors suggest that preference optimization is also well-suited for improving the safety and filtering of T2I models, which remains a task for future research.
- Computational Cost: While labeling is cheap, generating the initial images and running the optimization still requires significant GPU resources (though still less than training from scratch).
Summary updated