Rethinking the Divergence Regularization in LLM RL

Jiarui Yao, Xiangxin Zhou, Penghui Qi, Wee Sun Lee, Liefeng Bo, Tianyu PangarXiv 2026

TL;DR

Reinforcement learning for Large Language Models (LLMs) often suffers from training instability due to off-policy data and long-tailed vocabularies. This paper introduces Divergence Regularized Policy Optimization (DRPO), a method that replaces brittle hard-clipping or masking mechanisms with a smooth, advantage-weighted quadratic regularizer. DRPO provides stable, bounded gradient updates and corrective signals, significantly improving LLM RL training efficiency and stability across various model scales and precisions.

What Problem Does This Paper Address?

When fine-tuning LLMs using reinforcement learning (RL), the training is inherently off-policy. This happens because the highly optimized inference engines generating the text rollouts often differ numerically from the training engines, and trajectories are split into multiple mini-batches for sequential gradient steps. To prevent the model from drifting too far from its original behavior, algorithms use "trust regions."

Standard methods like PPO and GRPO enforce trust regions using an importance ratio ($\pi/\mu$). However, LLMs have massive, long-tailed vocabularies. A tiny probability change on a rare token can cause a massive spike in the importance ratio, even if the actual distribution shift is negligible. Conversely, high-probability tokens can shift significantly with only a modest ratio change.

A recent alternative, DPPO, fixed this by using an absolute probability shift (Binary Total Variation) instead of a ratio. However, DPPO relies on a hard binary mask: once a token crosses the trust-region boundary, its gradient is simply zeroed out. This provides no corrective signal to pull the policy back, making the optimization brittle.

Methods

DRPO bridges the gap between smooth regularization and proper distributional geometry. It replaces DPPO's hard mask with a smooth quadratic regularizer based on the absolute probability shift of the sampled token.

The authors adapt the mathematical framework of Simple Policy Optimization (SPO)—which applies a smooth quadratic penalty to the importance ratio—but scale the curvature by the behavior policy probability $\mu(y_t|s_t)$. This simple modification fundamentally alters the geometry:

  • It transforms the implicit penalty from a Pearson-$\chi^2$ divergence (which blows up in the long tail) into an advantage-weighted $\ell_2^2$ regularizer.
  • The resulting per-token gradient weight ($w_t$) is strictly bounded, preventing rare tokens from dominating the gradient updates.
  • If an update pushes a token outside the trust region in a harmful direction, the gradient weight becomes negative, providing a smooth corrective force to pull the policy back toward the boundary.
Figure 1: Per-token gradient weights of different algorithms as a function of the current probability π(yt|st) and behavior probability µ(yt|st). For SPO, ϵ = 1; for DRPO, δ = 1; for PPO, εlow = 0.2 and εhigh = 0.28; for DPPO, δ = 0.2. SPO’s weight grows without bound as µ(yt|st) →0, while the weight of DRPO remains bounded for all tokens.

A summary of how DRPO compares to other mainstream trust-region mechanisms is detailed below:

Table 1: Comparison of trust-region mechanisms. DPPO and DRPO enforce a Binary-TV constraint on the sampled token’s absolute probability shift. Because TV is bounded in [0, 1], DRPO produces bounded gradient weights, whereas the ratio-based constraint in SPO does not.

Datasets

The authors evaluated DRPO across several architectures and precision settings using:

  • Training Data: A filtered subset of the DAPO dataset (~13K math problems with rule-based verification). For the DeepSeek-R1-Distill-Qwen-1.5B (R1D) model, they utilized a smaller sanity test dataset of 1,460 solvable questions.
  • Evaluation Benchmarks: AIME 2024 and AIME 2025 mathematics competitions, evaluating performance by sampling 16 responses per problem and reporting the average accuracy.
  • Models Evaluated: Qwen3-4B-Base, Qwen3-30B-A3B-Base, Qwen3.5-35B-A3B-Base, and DeepSeek-R1-Distill-Qwen-1.5B.

Key Insights and Ideas

  • The Long Tail is Non-Negligible: Tokens with a rollout probability of $\mu \le 0.01$ account for roughly 7.8% of all sampled tokens during training. Because they are sampled frequently, ratio-based regularizers (like SPO) introduce massive gradient variance that destabilizes training.
  • Gradient Geometry Trumps Nominal Divergence: Many regularizers look clean at the objective function level (like standard KL or TV penalties), but taking their gradients reintroduces problematic ratio-based or binary behaviors. Effective regularizer design must prioritize a stable, bounded gradient form.
  • The Power of Outside-the-Boundary Correction: Ablation studies (specifically a variant called Mask-DRPO) revealed that the primary performance gains don't come from reweighting tokens inside the trust region, but rather from providing smooth, strength-calibrated corrective signals to tokens that have crossed the boundary.

Key Results

DRPO consistently matched or outperformed all baselines (GRPO, SPO, DPPO) across all six experimental setups.

The advantages were most pronounced in aggressive optimization landscapes:

  • Low-Precision Training (FP8 Rollout & FP8 End-to-End): In these challenging settings, numerical mismatches are amplified. Ratio-based methods like GRPO and SPO frequently suffered from training collapse, while DRPO maintained stable convergence and achieved the highest final accuracy.
  • Smoothness vs. Hard Masks: DRPO converged more efficiently and achieved higher final accuracy on the Qwen3-30B benchmark compared to DPPO, validating the claim that smooth gradient attenuation is superior to binary masking.

Limitations and Future Work

  • Task Scope: The experimental validation is heavily focused on mathematical reasoning tasks with rule-based verifiers. The paper does not extensively explore open-ended generation or standard RLHF with noisy, learned reward models.
  • Pure Divergence vs. Advantage Weighting: Because the regularizer is scaled by the absolute advantage $|A_t|$, it is technically an advantage-weighted penalty rather than a pure geometric divergence constraint. This leaves room for future theoretical work to reconcile it with strict monotonic policy improvement guarantees.
  • Binary Approximation: DRPO relies on a Binary-TV approximation (collapsing the vocabulary into the sampled token vs. all others). Extending this smooth quadratic regularization to a top-$k$ token distribution could capture richer multi-token interactions.

Summary updated

BibTeX
@misc{yao2026rethinking,
  author = {Jiarui Yao and Xiangxin Zhou and Penghui Qi and Wee Sun Lee and Liefeng Bo and Tianyu Pang},
  title = {{Rethinking the Divergence Regularization in LLM RL}},
  year = {2026},
  eprint = {2606.09821},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.09821},
}
Figure