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

Margin-Aware Preference Optimization for Aligning Diffusion Models Without Reference

Jiwoo Hong, Sayak Paul, Noah Lee, Kashif Rasul, James Thorne, Jongheon Jeong

Introduction

Aligning text-to-image diffusion models with human preferences is a critical step in ensuring AI safety, aesthetic quality, and stylistic adherence. Traditional methods, most notably Direct Preference Optimization (DPO), rely on a "reference model"—typically the original pre-trained model—to act as an anchor during training. While effective for general tasks, this dependency introduces significant hurdles when the target data deviates substantially from the base model's knowledge.

Researchers have introduced Margin-aware Preference Optimization (MaPO), a reference-free framework that eliminates the need for an anchor model. By removing this constraint, MaPO avoids the "reference mismatch" problem, leading to superior performance in specialized domains like personalization and stylistic adaptation, while simultaneously reducing computational overhead.

The Challenge: Reference Mismatch

The core limitation of DPO lies in its divergence penalty. DPO penalizes the model if its output distribution $p_\theta$ drifts too far from the reference distribution $p_{ref}$. This is intended to maintain stability, but it becomes a liability when the desired data distribution $p_{data}$ is far from $p_{ref}$.

Figure 1: Illustration of reference mismatch. As the target data distribution (green) moves further from the reference distribution (yellow), the reference-based penalty in methods like DPO hinders the model's ability to learn the new task effectively.

This phenomenon, termed reference mismatch, is particularly acute in tasks like learning a specific person's face (personalization) or a niche artistic style. In these cases, the reference model acts as a "bad anchor," fighting against the learning process and leading to suboptimal alignment.

MaPO: Reference-Free Alignment

MaPO addresses these issues by redefining the optimization objective to be entirely independent of a reference model. Its architecture rests on three pillars:

  1. Reference-Free Objective: MaPO defines preference scores directly from the training model’s own likelihoods, removing the need to store a second model in GPU memory.
  2. Margin-Aware Regularization: To maintain stability without an anchor, MaPO introduces a bounded "link function" ($\phi_\beta$). This function optimizes the likelihood margin between "preferred" and "dispreferred" images, preventing the gradients from exploding even during aggressive updates.
  3. Joint Matching and Alignment: The method combines preference loss with standard diffusion loss (DDPM) on preferred samples. This ensures the model doesn't just learn to rank images but maintains the ability to generate high-fidelity outputs that match the target distribution.

By eliminating the reference model, MaPO achieves a 15% reduction in training time and a 17.5% reduction in peak GPU memory, allowing for larger batch sizes and faster iteration.

Evaluation and Results

The researchers evaluated MaPO across five domains: general preference (Pick-a-Pic v2), safe generation, cultural representation, style learning, and personalization. To support this, they curated three new synthetic datasets: Pick-Safety, Pick-Culture, and Pick-Cartoon.

Figure 4: Quantitative comparison of MaPO against SFT and DPO across specialized tasks. MaPO (blue) consistently achieves higher scores as training set size increases, particularly in tasks with high reference mismatch like style learning and cultural representation.

The results demonstrate that MaPO consistently outperforms DPO and Supervised Fine-Tuning (SFT). On the Pick-a-Pic v2 benchmark, MaPO reached an aesthetic score of 6.34, compared to DPO's 6.03. Qualitatively, MaPO showed a remarkable ability to generalize styles to complex scenes and generate safe content in scenarios where base models and DPO-tuned variants frequently failed.

Conclusion

MaPO represents a significant step forward in generative model alignment. By identifying and solving the reference mismatch problem, it provides a more robust and efficient path for specialized model tuning. While the method requires careful hyperparameter tuning for the margin parameter $\beta$ and is sensitive to data quality, its ability to learn without the "baggage" of a reference model makes it a powerful tool for the next generation of personalized and safety-aligned AI.

Summary updated

BibTeX
@inproceedings{hong2026margin,
  author = {Jiwoo Hong and Sayak Paul and Noah Lee and Kashif Rasul and James Thorne and Jongheon Jeong},
  title = {{Margin-Aware Preference Optimization for Aligning Diffusion Models Without Reference}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i6.42476},
}
Figure