TL;DR
Diffusion language models (dLLMs) are powerful for text generation but struggle with reasoning tasks when fine-tuned with reinforcement learning (RL). This paper introduces Relative Score Policy Optimization (RSPO), a novel RLVR method that calibrates noisy likelihood estimates in dLLMs using verifiable rewards. RSPO achieves significant gains on planning tasks and competitive performance on mathematical reasoning by treating rewards as targets for relative score adjustments, rather than just fixed multipliers.
What Problem Does This Paper Address?
Diffusion large language models (dLLMs) generate text through a parallel denoising process, which makes it difficult to compute the exact sequence-level log-likelihoods needed for standard reinforcement learning (RL) policy optimization. Existing methods for dLLMs often rely on approximations like the Evidence Lower Bound (ELBO), which can be noisy. When combined with verifiable rewards (RLVR), these noisy estimates can lead to high-variance updates and unstable training, especially when high rewards amplify inaccurate score estimates. The core challenge is how to effectively leverage reliable, high-level rewards to guide the fine-tuning of dLLMs when the underlying likelihood signals are inherently noisy and approximate.
Methods
The paper proposes Relative Score Policy Optimization (RSPO), a new RLVR method for dLLMs. The key innovation lies in how RSPO uses verifiable rewards. Instead of simply multiplying a noisy ELBO-based score by a reward advantage (as in standard methods), RSPO uses the reward advantage to define a target for the relative score between the current and a reference model.
Here's a breakdown of the RSPO approach:
- Centered Relative Scores: RSPO first computes ELBO-based scores for generated completions and then centers these scores within a micro-batch. This centering removes prompt-level biases and focuses on relative differences between completions.
- Reward-Implied Target: The verifiable rewards are used to derive a "reward-implied target" for these centered relative scores. This target represents what the relative score should be if the model were perfectly aligned with the rewards.
- Calibration Gap: RSPO then compares the current centered ELBO-based relative score with this reward-implied target. The difference (the "calibration gap") is used as a feedback coefficient for the policy update.
- Detached Feedback: Crucially, this feedback coefficient is "detached" in the backward pass. This means the update signal is derived from the gap between the current estimate and the target, rather than directly backpropagating through the target itself. This helps to stabilize training by preventing the noisy ELBO estimates from directly dictating the update direction.
Essentially, RSPO treats the noisy ELBO scores as something to be calibrated by the reliable rewards, aiming to bring the relative scores closer to the reward-defined targets.
Datasets
The paper evaluates RSPO on the following datasets:
- Mathematical Reasoning:
- GSM8K
- MATH500
- Planning:
- Countdown
- Sudoku
The Sudoku dataset is noted for its sparse correctness-reward nature, which is a key motivation for RSPO.
Key Insights and Ideas
- Rewards as Targets, Not Just Weights: The most significant insight is reframing the role of rewards. Instead of treating them as fixed multipliers for noisy scores, RSPO uses them to set specific targets for the relative likelihood estimates. This allows for more nuanced calibration.
- The Calibration Problem: The paper clearly articulates the "calibration problem" in dLLM RLVR: reliable rewards are paired with noisy likelihood surrogates, leading to unstable training. RSPO directly addresses this by using rewards to correct the noisy estimates.
- Centering is Key: Centering the ELBO-based scores within a micro-batch is crucial for removing prompt-level biases and ensuring that the feedback is based on relative performance within a group of completions.
- Feedback Loop for Stability: The detached feedback mechanism in RSPO creates a self-correcting loop. If a score is too low relative to its target, the update pushes it up; if it's too high, the update pulls it down. This naturally dampens updates as the score approaches the target, leading to more stable learning.
- Planning Tasks Benefit Most: The strong performance gains on sparse-reward planning tasks highlight RSPO's effectiveness when the reward signal is reliable but infrequent, and the underlying generative model's likelihood estimates are particularly noisy.
Key Results
- Strong Gains on Planning: RSPO achieved substantial improvements on planning tasks. For Sudoku, accuracy increased by 66.5/65.4 points (at generation lengths 256/512) compared to the strongest non-RSPO baseline. Countdown also saw significant gains of 26.83/17.53 points.
- Competitive on Reasoning: On mathematical reasoning tasks (GSM8K and MATH500), RSPO achieved the best results at a generation length of 256 and was competitive at length 512, though slightly below the strongest baseline on GSM8K at the longer length.
- Faster Reward Improvement: Training reward trajectories showed that RSPO improved verifier rewards faster and reached higher levels than baselines on planning benchmarks, suggesting it alters the optimization path for the better.
- Ablation Studies Support Components: Ablation studies confirmed the importance of RSPO's core components: residual feedback (controlled by λ), current-reference subtraction, and centering. Removing these components led to degraded performance.
Limitations and Future Work
- Fixed Feedback Coefficient (λ): The current RSPO configuration uses a fixed feedback coefficient (λ). The authors suggest that adapting λ automatically or varying the reference policy during training could be fruitful future directions.
- Local, First-Order Theory: The theoretical analysis is local and first-order, explaining the update mechanism but not guaranteeing global convergence or higher-order equivalence. Developing a global theory for dLLM RL with ELBO-based scores is an open area.
- Diagnostic Limitations: The variance diagnostic (Var(δ)) is a proxy for KL divergence, not an exact estimator. More precise trust-region diagnostics and robust score-estimation procedures could be explored.
- ELBO Sign Convention: Implementations must carefully adhere to the ELBO sign convention to ensure correct update directions.
Summary updated