Abstract
Aligning diffusion language models (dLLMs) has traditionally been challenging due to the lack of tractable log-likelihoods and the high cost of paired preference data. This paper introduces ELBO-KTO, a framework that leverages an Evidence Lower Bound (ELBO) surrogate and Kahneman-Tversky Optimization (KTO) to align dLLMs using unpaired "good/bad" feedback. By incorporating a global per-batch baseline to stabilize training, ELBO-KTO matches or exceeds the performance of models trained on significantly larger paired datasets, offering a more efficient and scalable alignment process.
Introduction
Most contemporary Large Language Models (LLMs) are autoregressive, predicting sequences from left to right. Alignment techniques like Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO) typically rely on paired data (e.g., "Response A is better than Response B"). However, Diffusion Language Models (dLLMs), which generate text through iterative refinement, face two major hurdles: calculating exact log-likelihoods is mathematically intractable, and collecting paired preference data is expensive. This work addresses these challenges by enabling effective dLLM alignment using only unpaired feedback.
Methodology: ELBO-KTO
The proposed framework, ELBO-KTO, integrates two core components:
- Kahneman-Tversky Optimization (KTO): Inspired by prospect theory, KTO operates on binary labels ("desirable" vs. "undesirable") rather than pairs. It maximizes the utility of positive outputs while minimizing the disutility of negative ones.
- ELBO Surrogate: To bypass the intractability of dLLM log-likelihoods, the authors use the Evidence Lower Bound (ELBO) as a proxy. The optimization target becomes the "ELBO margin"—the difference between the current policy's ELBO and a reference model's ELBO.
To ensure computational efficiency, the authors introduced a Global Per-Batch Baseline. Instead of a costly KL-divergence term, they use the average reward of the current training batch to center scores. This stabilizes training and reduces gradient variance without the overhead of additional reference model passes.
Experimental Setup
The framework was evaluated using the LLaDA-8B-Instruct model across several datasets:
- kto-mix-14k: ~13.5k prompts with binary labels.
- UltraFeedback-Binary: 61.1k samples converted from paired to unpaired labels to test scalability.
- Downstream Benchmarks: GSM8K, MMLU, HellaSwag, HumanEval, and GPQA were used to monitor general reasoning and knowledge retention.
Results and Analysis
ELBO-KTO demonstrated significant performance gains. Using GPT-4o-mini as an automated judge, the model achieved an adjusted win rate of 65.9% on the kto-mix-14k test set and 62.3% on UltraFeedback-Binary relative to the base model. Notably, ELBO-KTO outperformed LLaDA-1.5, which was trained on approximately 350k paired preferences, highlighting the sample efficiency of the unpaired approach.
Gain Sensitivity and Data Composition
A key insight from the study is the model's sensitivity to the ratio of positive to negative examples. Consistent with prospect theory, the model showed greater improvement when exposed to more desirable examples than when exposed to more undesirable ones.
As shown in Figure 1, increasing the proportion of positive examples (left plot) leads to a sharper increase in win rate compared to increasing the proportion of negative examples (right plot). This suggests that for dLLMs, defining "what to do" is more critical than defining "what to avoid."
Efficiency and Reasoning
ELBO-KTO requires 50% fewer forward-backward passes than DPO-style methods because it processes only one response version per prompt. Furthermore, alignment improved reasoning capabilities; the score on the GSM8K math benchmark rose from 79.53 to 82.79.
Conclusion
ELBO-KTO represents the first successful alignment of dLLMs using unpaired data. While the method relies on an ELBO surrogate approximation and primarily automated evaluation, it demonstrates that targeted, unpaired feedback can be more efficient than massive paired datasets. Future work may explore hybrid approaches combining ELBO-KTO with paired data or more complex reward models.
Summary updated