TL;DR
CRAFT (Composite Reward Assisted Fine-Tuning) is a highly efficient framework for aligning text-to-image diffusion models with human preferences using as few as 100 training samples. By combining a multi-metric reward filtering strategy with a weighted supervised fine-tuning (SFT) objective, CRAFT bypasses the need for massive preference datasets and delivers up to a 220× training speedup over state-of-the-art alignment methods while achieving superior image quality.
What Problem Does This Paper Address?
Aligning text-to-image diffusion models with human preferences (such as visual aesthetics, text rendering, and complex instruction-following) typically requires post-training alignment. Current approaches fall into two main categories, both facing a steep trade-off between data requirements and computational cost:
- Supervised Fine-Tuning (SFT): Computationally lean but heavily reliant on scarce, expensive, and meticulously curated high-quality datasets.
- Preference Optimization (e.g., Diffusion-DPO, SPO, SmPO): Offline methods require massive, often noisy, pairwise datasets (up to hundreds of thousands of samples). Online methods avoid large datasets by generating pairs dynamically but incur massive computational overhead due to repeated sampling during training.
The authors introduce CRAFT to address these challenges, proving that alignment can be both data-efficient and computationally lightweight.
Methods
CRAFT consists of a three-stage pipeline: data construction, composite reward filtering, and weighted SFT fine-tuning.
- Data Construction & Prompt Refinement: The authors take a base set of prompts and use a Large Language Model (Qwen-Plus) to refine them multiple times, increasing descriptive diversity. The base diffusion model then generates a pool of candidate images from these prompts.
- Composite Reward Filtering (CRF): Instead of relying on a single reward model—which can lead to over-optimization and poor generalization—CRAFT evaluates the generated images using a composite reward function combining three distinct metrics: HPS v2.1 (human preference), PickScore (web-aligned preference), and AES (aesthetic score). It applies a strict filtering rule ($I_{hpa}$), retaining only the samples that simultaneously improve across all three metrics compared to the original unrefined prompt's generation. The top 100 highest-scoring pairs form the final training set.
- Weighted SFT with Theoretical Backing: The selected images are fine-tuned using an enhanced SFT objective. Crucially, the loss function scales the gradient magnitude by a normalized "group-based advantage" score derived from the composite rewards.
Mathematically, the authors prove that this weighted SFT objective optimizes the lower bound of group-based reinforcement learning (RL), establishing a principled bridge that achieves RL-level alignment stability without the high computational cost.
Datasets
- Training Curation: Prompts were sampled from the HPDv2 training set (an initial pool of 10,000 prompts, filtered down to the top 100).
- Evaluation Benchmarks:
- HPDv2 (3,200 prompts) for human preference scoring.
- Parti-Prompts (1,632 prompts) for open-domain generation quality.
- Pick-a-Pic validation set (500 prompts) for user preference evaluation.
- GenEval for evaluating compositional capabilities (object counting, position binding, color attribution).
Key Insights and Ideas
- Quality Over Quantity: CRAFT demonstrates that a tiny dataset of 100 meticulously filtered, high-quality samples can easily outperform state-of-the-art preference optimization methods trained on thousands or hundreds of thousands of samples.
- SFT as an RL Lower Bound: The core theoretical breakthrough is showing that data-filtered SFT isn't just a heuristic; it mathematically bounds group-based reinforcement learning. This explains why it can achieve strong alignment without full RLHF instability.
- Reward Ensembling Prevents Gaming: Relying on a single reward model often causes models to exploit metric blindspots. Ensembling HPS, PickScore, and AES ensures robust generalization to completely unseen evaluation metrics like ImageReward and MPS.
Key Results
Training Efficiency
CRAFT achieves massive reductions in training time and computational cost. On SDXL, CRAFT reaches the same performance tier as online methods like SPO while being 19.7× faster, and 60.1× faster than SmPO.
As detailed in the paper's cost analysis, CRAFT requires only ~4.0 GPU hours on SDXL and ~1.9 GPU hours on SD1.5, compared to hundreds of hours for DPO-style baselines.
Quantitative Performance
CRAFT consistently outperforms baselines across HPDv2, Parti-Prompt, and Pick-a-Pic benchmarks for both SDXL and SD1.5. On the Parti-Prompt dataset, CRAFT achieved a dominant average win rate of over 85.7% against the base SDXL model.
Qualitative Improvements
CRAFT significantly improves text rendering, compositional reasoning (e.g., correctly interpreting spatial relationships like "in front of"), and attribute binding (e.g., matching colors to correct objects) compared to vanilla models and standard DPO variants.
Limitations and Future Work
The authors do not include a dedicated limitations section, but a few inherent constraints are apparent from the methodology:
- Dependence on Proxy Models: The framework's data curation phase relies heavily on the quality and biases of the chosen LLM (for prompt refinement) and the upstream reward models (HPS, PickScore, AES).
- Static Filtering: The dataset is curated offline prior to fine-tuning. Exploring an iterative or online variant of CRAFT that updates the data pool dynamically during training could be a promising future direction.
Summary updated