wd1: Weighted Policy Optimization for Reasoning in Diffusion Language Models
Xiaohang Tang, Rares Dolga, Sangwoong Yoon, Ilija Bogunovic
TL;DR
Problem: RL fine-tuning of diffusion-based LLMs is hindered by intractable likelihoods, forcing expensive approximations that introduce bias. Approach: wd1 replaces policy ratios with a weighted log-likelihood objective derived from reverse-KL regularization, using group-relative advantage to weight completions and a complementary negative term to penalize low-advantage samples. Contributions: formalizes the method, proves monotonic improvement, and shows that wd1 matches or exceeds existing RL methods without supervised fine-tuning. Impact: wd1 delivers up to 16% accuracy gains on reasoning benchmarks and reduces training cost and NFEs, making RL for dLLMs more scalable and practical.
Abstract
Improving the reasoning capabilities of diffusion-based large language models (dLLMs) through reinforcement learning (RL) remains an open problem. The intractability of dLLMs likelihood function necessitates approximating the current, old, and reference policy likelihoods at each policy optimization step. This reliance introduces additional computational overhead and lead to potentially large bias -- particularly when approximation errors occur in the denominator of policy ratios used for importance sampling. To mitigate these issues, we introduce $\mathtt{wd1}$, a novel policy optimization approach that reformulates the objective as a weighted likelihood, requiring only a single approximation for the current parametrized policy likelihood. Experiments on widely used reasoning benchmarks demonstrate that $\mathtt{wd1}$, without supervised fine-tuning (SFT) or any supervised data, outperforms existing RL methods for dLLMs, achieving up to 16% higher accuracy. $\mathtt{wd1}$ delivers additional computational gains, including reduced training time and fewer function evaluations (NFEs) per gradient step. These findings, combined with the simplicity of method's implementation and R1-Zero-like training (no SFT), position $\mathtt{wd1}$ as a more effective and efficient method for applying RL to dLLMs reasoning.
