Diffusion Model as a Noise-Aware Latent Reward Model for Step-Level Preference Optimization

Tao Zhang, Cheng Da, Kun Ding, Huan Yang, Kun Jin +5 more
2/1/2025
42 citations
diffusion-flowrlhf-rlvr-dpo

Official code: Kwai-Kolors/LPO (70 stars, Python, MIT, last commit 2025-09-19). 1 more implementation below.

Abstract

Preference optimization for diffusion models aims to align them with human preferences for images. Previous methods typically use Vision-Language Models (VLMs) as pixel-level reward models to approximate human preferences.

Show full abstract

However, when used for step-level preference optimization, these models face challenges in handling noisy images of different timesteps and require complex transformations into pixel space. In this work, we show that pre-trained diffusion models are naturally suited for step-level reward modeling in the noisy latent space, as they are explicitly designed to process latent images at various noise levels. Accordingly, we propose the Latent Reward Model (LRM), which repurposes components of the diffusion model to predict preferences of latent images at arbitrary timesteps. Building on LRM, we introduce Latent Preference Optimization (LPO), a step-level preference optimization method conducted directly in the noisy latent space. Experimental results indicate that LPO significantly improves the model's alignment with general, aesthetic, and text-image alignment preferences, while achieving a 2.5-28x training speedup over existing preference optimization methods. Our code and models are available at https://github.com/Kwai-Kolors/LPO.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
Kwai-Kolors/LPOOfficial70PythonMIT2025-09-19
casiatao/LPOCommunity19–Apache-2.02025-05-22
Kwai-Kolors/LPOOfficial100%
MIT

Diffusion Model as a Noise-Aware Latent Reward Model for Step-Level Preference Optimization

702Python, ShellMar 19, 20251 years agoMIT
casiatao/LPOCommunity74%
Apache-2.0

The official pytorch implementation of “Diffusion Model as a Noise-Aware Latent Reward Model for Step-Level Preference Optimization”.

190Feb 1, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2025diffusion,
  title  = {Diffusion Model as a Noise-Aware Latent Reward Model for Step-Level Preference Optimization},
  author = {Tao Zhang and Cheng Da and Kun Ding and Huan Yang and Kun Jin and Yan Li and Ting-Ting Gao and Di Zhang and Shiming Xiang and Chunhong Pan},
  year   = {2025},
  eprint = {2502.01051},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2502.01051},
  url    = {https://doi.org/10.48550/arXiv.2502.01051},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.01051.svg)](https://codeofpaper.com/paper/2502.01051)

Discussion