Aesthetic Post-Training Diffusion Models from Generic Preferences with Step-by-step Preference Optimization

Zhanhao Liang, Yuhui Yuan, Shuyang Gu, Bohan Chen, Tiankai Hang, Mingxi Cheng, Ji Li, Liang Zheng

Abstract

Post-training alignment of text-to-image diffusion models typically relies on comparing entire generation trajectories, which often conflates layout preferences with fine-grained aesthetic details. We present Step-by-step Preference Optimization (SPO), a method that distills high-end aesthetics by evaluating local denoising steps. By sampling multiple candidates from the same latent state, SPO isolates aesthetic nuances from structural composition. Our approach significantly improves the visual quality of models like SDXL, achieving higher human preference scores and aesthetic metrics while requiring a fraction of the training resources compared to traditional trajectory-based methods.

Introduction

Text-to-image models have reached a plateau where further improvements in aesthetic quality require alignment with human preferences. The prevailing method, Direct Preference Optimization (DPO), typically compares two distinct generation paths. However, this "trajectory-based" approach suffers from preference confusion: datasets like Pick-a-Pic mix signals for layout, prompt adherence, and aesthetics. Large-scale structural differences in early denoising stages often overshadow the subtle textures and lighting that define superior aesthetics.

Methodology: Step-by-step Preference Optimization

SPO addresses these limitations by shifting the optimization target from the entire path to individual denoising steps. Instead of comparing Image A to Image B, SPO examines a single noisy latent $x_t$ and evaluates the best and worst ways to transition to $x_{t-1}$.

Comparison of preference optimization frameworks: (a) Diffusion-DPO, (b) D3PO, and (c) the proposed SPO.

Technical Components

The authors introduce several key innovations to enable step-wise optimization:

  • Step-aware Preference Model (SPM): A time-conditional preference model fine-tuned to judge the quality of intermediate, noisy latents rather than just final images.
  • Local Candidate Sampling: At each step, $k$ potential next-step candidates are generated from the same parent latent. This ensures identical layouts, forcing the model to optimize for fine-grained aesthetic differences.
  • Multi-step-by-step (MSPO): For high-resolution models like SDXL, single-step differences can be imperceptible. MSPO jumps multiple steps (e.g., 4 steps) to amplify the visual signal for the preference model.
  • Random Initialization: To maintain diversity, the next step in the training chain is selected randomly from the candidate pool, preventing the model from collapsing into a narrow set of "winning" paths.

Experimental Results

SPO was trained on the Pick-a-Pic V1 dataset and evaluated across several benchmarks, including PartiPrompts and HPSV2.

Aesthetic and Human Preference

On SDXL, SPO achieved an aesthetic score of 6.36, outperforming both the base model (5.95) and Diffusion-DPO (6.01). Human user studies corroborated these findings, with SPO-generated images preferred for visual appeal 76.93% of the time over vanilla SDXL and 58.27% over Diffusion-DPO.

Qualitative comparison of SDXL results across different prompts, demonstrating the aesthetic enhancement provided by SPO.

Training Efficiency

A key advantage of SPO is its efficiency. By focusing on targeted, local updates, SPO-SDXL required only 4.9% of the GPU hours used by standard Diffusion-DPO. This massive speedup makes high-quality aesthetic fine-tuning accessible for large-scale models.

Discussion and Conclusion

SPO demonstrates that aesthetics can be implicitly distilled from generic preference data by isolating them from layout. By focusing on the "critical range" of denoising (timesteps 250-500), the model effectively refines textures and details without drifting from the original prompt. While currently limited to stochastic diffusion processes, SPO sets a new standard for efficient, high-fidelity post-training alignment.

Summary updated

BibTeX
@inproceedings{liang2025aesthetic,
  author = {Zhanhao Liang and Yuhui Yuan and Shuyang Gu and Bohan Chen and Tiankai Hang and Mingxi Cheng and Ji Li and Liang Zheng},
  title = {{Aesthetic Post-Training Diffusion Models from Generic Preferences with Step-by-step Preference Optimization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01232},
}
Figure