A Gradient Guidance Perspective on Stepwise Preference Optimization for Diffusion Models

Joshua Tian Jin Tee (KAIST, Korea Advanced Institute of Science & Technology) · Hee Suk Yoon (Korea Advanced Institute of Science & Technology) · Abu Hanif Muhammad Syarubany (Korea Advanced Institute of Science & Technology) · Eunseop Yoon (KAIST) · Chang Yoo (KAIST)
aesthetic improvementbiased temporal weightingdirect preference optimizationgenerative stepsgradient estimatesgradient guidancegradspo algorithmhuman preference evaluationlikelihood centric viewspreference learningsemantic faithfulnesssimplified lossstepwise preference optimizationtraining stabilityvariance-informed noise reduction

Direct Preference Optimization (DPO) is a key framework for aligning text-to-image models with human preferences, extended by Stepwise Preference Optimization (SPO) to leverage intermediate steps for preference learning, generating more aesthetically pleasing images with significantly less computational cost. While effective, SPO's underlying mechanisms remain underexplored. In light of this, we critically re-examine SPO by formalizing its mechanism as gradient guidance. This new lens shows that SPO uses biased temporal weighting, giving too little weight to later generative steps, and unlike likelihood centric views it reveals substantial noise in the gradient estimates. Leveraging these insights, our GradSPO algorithm introduces a simplified loss and a targeted, variance-informed noise reduction strategy, enhancing training stability. Evaluations on SD 1.5 and SDXL show GradSPO substantially outperforms leading baselines in human preference, yielding images with markedly improved aesthetics and semantic faithfulness, leading to more robust alignment. Code and models are available at https://github.com/JoshuaTTJ/GradSPO.