NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Diffusion-NPO: Negative Preference Optimization for Better Preference Aligned Generation of Diffusion Models

Fu-Yun Wang, Yunhao Shui, Jingtan Piao, Keqiang Sun, Hongsheng Li

Introduction

Diffusion models have revolutionized image and video generation, yet they often struggle to align perfectly with human aesthetic preferences. While techniques like Reinforcement Learning from Human Feedback (RLHF) and Direct Preference Optimization (DPO) have made strides by teaching models what humans like, they frequently ignore the other half of the equation: what humans dislike. This oversight often results in models that, while capable of producing "good" images, still fall into traps of low-quality textures or anatomical inconsistencies present in their massive, unfiltered training sets.

Negative Preference Optimization (NPO)

The researchers introduce Negative Preference Optimization (NPO), a plug-and-play technique designed to sharpen the contrast between desirable and undesirable traits during the generation process.

The "Flip" Strategy

NPO's core innovation lies in its simplicity. Instead of requiring expensive new datasets, it leverages existing preference data—such as the Pick-a-pic dataset—and reverses the labels. In a standard preference pair where Image A is ranked higher than Image B, NPO trains a set of weight offsets ($\delta$) to "prefer" Image B. This teaches the model a dedicated representation of negative traits like blurriness, anatomical errors, or poor lighting.

Enhanced Inference via CFG

Standard Classifier-Free Guidance (CFG) steers generation by calculating the difference between a prompted and an unprompted version of the model. NPO enhances this by using the negative-aligned model as the "negative" anchor in the guidance equation:

$$\text{Output} = (\text{Positive Model}) - (\text{Negative-Aligned Model})$$

By making the negative pole explicitly represent "bad" traits, the positive pole is pushed much more effectively toward high-quality results. To maintain image coherence, the authors use a weight blending formula: $\theta_{neg} = \theta + \alpha\eta + \beta\delta$, balancing the base model ($\theta$), positive offsets ($\eta$), and negative offsets ($\delta$).

Visual improvement using NPO, showing enhanced facial details, skin texture, and lighting compared to standard generation.

Experimental Results

The method was rigorously tested across multiple architectures, including SD1.5, SDXL, and VideoCrafter2, using benchmarks like HPSv2, ImageReward, and PickScore.

  • Quantitative Gains: On SD1.5, NPO increased the Human Preference Score (HPSv2) from 25.05 to 27.60. On SDXL, it achieved an 80% win rate over the base model in human preference metrics.
  • Efficiency: One of the most striking findings was that NPO-enhanced models trained for only 2,000 iterations outperformed standard DPO models trained for 20,000 iterations. This suggests that the quality of guidance is a more significant bottleneck than raw compute.
  • Video Generation: When applied to VideoCrafter2, NPO reached up to a 97.92% win rate in aesthetic scores for human-related prompts, demonstrating its versatility beyond static images.
NPO enables the generation of complex subjects with high structural integrity and realistic textures, avoiding common artifacts.

Discussion and Limitations

While Diffusion-NPO offers a significant boost in quality, it does come with trade-offs. The primary limitation is storage and memory overhead; using NPO requires loading two sets of weight offsets simultaneously during inference. However, because these are typically implemented via LoRA, the overhead remains manageable for most modern hardware. Additionally, the balance between positive and negative guidance ($\alpha$ and $\beta$) requires careful tuning to avoid "over-baked" or unnatural results.

Conclusion

Diffusion-NPO demonstrates that alignment is a two-pole problem. By explicitly modeling what to avoid, researchers can achieve superior results with significantly less training time. This "negative" perspective provides the necessary contrast to push diffusion models toward the pinnacle of human aesthetic preference.

Summary updated

BibTeX
@inproceedings{wang2025diffusion,
  author = {Fu-Yun Wang and Yunhao Shui and Jingtan Piao and Keqiang Sun and Hongsheng Li},
  title = {{Diffusion-NPO: Negative Preference Optimization for Better Preference Aligned Generation of Diffusion Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=iJi7nz5Cxc},
}
Figure