Aligning Diffusion Language Models via Unpaired Preference Optimization

Vaibhav Jindal, Hejian Sang, Chun-Mao Lai, Yanning Chen, Zhipeng Wang

TL;DR

Diffusion language models (dLLMs) offer an exciting alternative to standard autoregressive generation, but aligning them to human intent has been bottlenecked by intractable sequence likelihoods and the heavy cost of collecting paired preference data. ELBO-KTO solves this by pairing Evidence Lower Bound (ELBO) surrogates with Kahneman–Tversky Optimization (KTO), allowing diffusion models to learn directly from simple, unpaired "thumbs-up / thumbs-down" feedback. Applied to LLaDA-8B-Instruct, the method outperforms paired baselines while maintaining or slightly improving general reasoning and knowledge capabilities.

What Problem Does This Paper Address?

Traditional large language models (LLMs) are aligned using techniques like RLHF or Direct Preference Optimization (DPO), which evaluate pairwise responses (e.g., response $A$ is better than response $B$). However, applying these methods to diffusion language models presents two distinct challenges:

  1. Intractable Log-Likelihoods: Unlike autoregressive models that generate text token-by-token from left to right, dLLMs iteratively unmask or denoise sequences in parallel. Evaluating exact sequence probabilities $\log \pi(y|x)$ is computationally intractable.
  2. The Paired-Data Bottleneck: Gathering pairwise comparisons is expensive. Real-world feedback—such as user upvotes/downvotes or automated moderation flags—is predominantly unpaired (binary desirable vs. undesirable labels).

While recent work like VRPO applied ELBO surrogates to dLLMs under the paired DPO framework, extending unpaired preference optimization (such as KTO) to dLLMs has remained an open problem due to severe gradient variance and the intractability of KTO's per-prompt KL-divergence baseline.

Methods

ELBO-KTO adapts prospect theory–based preference optimization (KTO) to diffusion language models through three core components:

  • ELBO Margin Formulation: The paper replaces the intractable exact log-likelihood ratio in KTO with a Monte Carlo (MC) estimator of the ELBO margin between the policy and a frozen reference model: $$\hat{r}_\theta(x, y) = \hat{B}_{\pi_\theta}(y \mid x) - \hat{B}_{\pi_{\text{ref}}}(y \mid x)$$
  • Global Per-Batch Baseline: Standard KTO uses a per-prompt KL baseline $z_0(x)$ to keep optimization centered. Because this is intractable for dLLMs, the authors replace it with a scalar stop-gradient batch mean: $$\hat{b}_0(S) = \frac{1}{m} \sum_{i=1}^m \hat{r}_\theta(x_i, y_i)$$ The authors theoretically prove that this simple scalar baseline is variance-optimal across constant baselines and prevents loss saturation.

  • Variance Reduction Practices: To control Monte Carlo estimation noise, the framework uses deterministic masking (masking an exact count $l$ of tokens rather than continuous noise sampling) and Common Random Numbers (CRN), sharing random noise draws between policy and reference evaluations to induce positive covariance.

Datasets

The authors train and evaluate ELBO-KTO on:

  • kto-mix-14k: ~13.5k training prompts and a 1.5k test set containing binary desirable/undesirable feedback.
  • UltraFeedback-Binary: 61.1k training and 2k test pairs from UltraFeedback converted into unpaired examples (chosen responses labeled as desirable, rejected as undesirable).
  • Downstream Benchmarks: Evaluated zero-shot or few-shot on GSM8K (math), MMLU (knowledge), GPQA (scientific reasoning), HumanEval (code), and HellaSwag (commonsense).

Key Insights and Ideas

  • Stop-Gradient Batch Means Stabilize Training: Subtracting the batch mean centers the signed margins right at the high-slope region of the logistic link function. This simple fix yields absolute win rate improvements between +5.27 and +9.34 percentage points without extra computation.
  • Gain Sensitivity Holds in Diffusion: By subsampling datasets, the authors confirmed that reducing desirable examples hurts performance far more severely than reducing undesirable ones. This aligns with prospect theory, showing that positive utility signals drive the bulk of alignment progress.
  • Sample Efficiency Beats Paired Volume: ELBO-KTO trained on ~61k unpaired examples outperformed LLaDA-1.5, which was trained with paired VRPO on ~350k examples from a broader distribution, demonstrating high sample efficiency.
  • Noise Coupling is Essential: Reusing the identical noise seed (CRN) across policy and reference networks reduces the ELBO margin variance, driving a +4.8% win-rate gain over independent noise draws.

Key Results

  • Preference Win Rates (vs. LLaDA-8B-Instruct): Evaluated via LLM-as-a-judge (gpt-4o-mini), ELBO-KTO achieved an adjusted win rate (AWR) of 65.9% on kto-mix-14k and 62.3% on UltraFeedback-Binary, clearly exceeding LLaDA-1.5 (57.2% and 60.3%, respectively).
  • Judge Robustness: When tested across two judge models released a year apart (gpt-4o-mini and gpt-4.1-mini), results remained consistent within ~1–2% with moderate-to-substantial inter-annotator agreement (Cohen's $\kappa = 0.56\text{–}0.61$).
  • Downstream Performance: Fine-tuning on UltraFeedback-Binary preserved or improved base capabilities:
  • GSM8K: Increased from 79.53% to 82.79% (+3.26).
  • MMLU / GPQA: Modest improvements (+0.58 on MMLU; +0.67 on GPQA).
  • HumanEval / HellaSwag: Preserved code generation (42.68% flat) with a minor regression on HellaSwag (78.03% to 77.28%).

Limitations and Future Work

  • Surrogate Bias: The method optimizes an ELBO lower-bound surrogate rather than true likelihoods, which inevitably introduces estimation bias.
  • Heuristic Class Weighting: The balance weights between desirable and undesirable samples ($\lambda_D, \lambda_U$) were set equally ($\lambda_D = \lambda_U = 1$) rather than optimized adaptively.
  • Unexplored Inter-Item Covariance: While the paper theoretically proposes sharing random seeds across items in a batch to increase batch covariance $c(S)$, this was omitted from empirical experiments due to time constraints.
  • Evaluation Scope: Evaluations relied primarily on automated LLM judges without human validation studies. Future work includes combining unpaired ELBO-KTO with reward-model objectives and evaluating on broader multimodal diffusion architectures.

Summary updated

BibTeX
@inproceedings{jindal2026aligning,
  author = {Vaibhav Jindal and Hejian Sang and Chun-Mao Lai and Yanning Chen and Zhipeng Wang},
  title = {{Aligning Diffusion Language Models via Unpaired Preference Optimization}},
  booktitle = {ReALM-GEN @ ICLR},
  year = {2026},
  url = {https://openreview.net/forum?id=gtrG0lCXto},
}
Figure