Introduction
Aligning text-to-image diffusion models with human preferences is a significant challenge in generative AI. While models like Stable Diffusion can generate high-quality images, ensuring they consistently follow human intent—such as aesthetic quality or prompt adherence—requires fine-tuning. A popular approach is Direct Preference Optimization (DPO), which uses pairs of "winning" and "losing" images. However, diffusion models operate through a multi-step denoising process, leading to the terminal-only issue: human feedback is only available for the final image ($x_0$), leaving the intermediate noisy steps ($x_t$) without direct supervision.
The Challenge of Credit Assignment
Previous attempts to solve the terminal-only issue relied on "credit assignment" strategies. These methods either use hand-crafted rules (e.g., uniform or discounted weighting across steps) or train auxiliary reward models to evaluate noisy latents. Hand-crafted rules often fail to capture the complex dynamics of the denoising process, while auxiliary reward models introduce significant computational overhead and potential training instabilities.
Proposed Method: Denoised Distribution Estimation (DDE)
This paper introduces Denoised Distribution Estimation (DDE), a framework that mathematically links intermediate denoising steps to the final preferred distribution. Instead of heuristic weighting, DDE explicitly estimates the terminal distribution from any given step $t$ using two complementary strategies:
- Stepwise Estimation: To model the trajectory from the initial noise ($T$) to the current step ($t$), the authors use the ground-truth conditional distribution. To maintain accuracy as the model parameters evolve, they introduce calibration coefficients ($r_k$) updated via an Exponential Moving Average (EMA). This allows the model to leverage historical information without requiring additional forward passes during training.
- Single-shot Estimation: To bridge the gap from the current step ($t$) to the final image ($x_0$), the authors employ a DDIM-based single-shot jump. This efficiently estimates the final output in a single model calculation, avoiding the prohibitive cost of a full denoising chain during every optimization step.
The "Middle-Step" Discovery
A key theoretical insight of DDE is the natural emergence of a weighting effect that prioritizes the "middle" steps of the denoising process. The stepwise estimation tends to weaken the optimization signal near the end of the trajectory (step 0), while the single-shot estimation weakens it near the beginning (step $T$). This forces the model to focus on the middle steps—the critical phase where the fundamental structure and semantic content of the image are established.
Experimental Results
The authors evaluated DDE using the Pick-a-Pic-V2 dataset, a standard benchmark for human preference alignment, across both Stable Diffusion 1.5 (SD1.5) and Stable Diffusion XL (SDXL).
Quantitative Performance
DDE achieved state-of-the-art results across several automated preference metrics:
- SD1.5: DDE improved CLIP scores by 6.7% and Human Preference Scores (HPS) by 3.9% over the base model.
- SDXL: Despite the larger model size, DDE still provided gains of 1.4% in CLIP and 1.0% in HPS.
- Head-to-Head: In comparisons against standard Supervised Fine-Tuning (SFT) and other credit assignment methods, DDE-trained models were preferred by significant margins, achieving an HPS beat ratio of 0.7669.
Qualitative Improvements
Visual analysis confirms that DDE-aligned models exhibit superior prompt following and structural integrity. For instance, when prompted for complex scenes like a "panda scientist," DDE models correctly include thematic elements like laboratory equipment, whereas baseline models often produce generic images. Improvements are also notable in challenging areas such as human anatomy and reflections.
Conclusion and Future Work
Denoised Distribution Estimation provides a principled, efficient way to align diffusion models with human preferences without the need for complex auxiliary models. By mathematically deriving step importance, DDE highlights the significance of the middle denoising stages. Future research may explore more precise single-shot estimation techniques and advanced calibration methods to further refine the alignment process.
Summary updated