Stabilizing Off-policy LLM Optimization with Prefix Importance Ratio

Shiye Lei, Zhihao Cheng, Dacheng TaoNeurIPS 2026

TL;DR

Training large language models (LLMs) to reason using reinforcement learning (RL) requires massive compute, forcing engineers to reuse "stale" data generated by older versions of the model—a practice that frequently triggers catastrophic training collapse. The authors trace this instability to a mathematical blind spot: standard RL algorithms adjust for stale data one word at a time, ignoring the probability of the long chain of thought leading up to it. By introducing MinPRO, a clever mathematical shortcut that tracks the "weakest link" in a reasoning prefix, they stabilize off-policy training and unlock substantially stronger reasoning performance.

What Problem Does This Paper Address?

To teach LLMs multi-step reasoning (like OpenAI’s o1 or DeepSeek-R1), we use Reinforcement Learning (RL). Because generating 10,000-token chains of thought is slow and uneven, GPUs often sit idle waiting for the longest responses to finish. To maximize hardware efficiency, systems generate huge batches of answers asynchronously using an older model version ($\pi_{\text{old}}$) and feed them into a buffer to train the current, updated model ($\pi_\theta$).

This is called off-policy training. Because the student ($\pi_\theta$) is learning from the actions of its past self ($\pi_{\text{old}}$), we have to mathematically correct for how much the model's behavior has drifted. Standard algorithms (like PPO and GRPO) do this using a token-level importance sampling ratio ($\rho_t$)—comparing the probability of choosing the current token under the new policy versus the old one.

When the gap between the old and new policy is tiny, this works fine. Under heavy off-policy lag, however, standard methods oscillate wildly, entropy explodes, and training collapses completely.

Entropy explosion and instability in standard RL methods under off-policy training.

Methods

The authors step back to first principles and derive the exact policy gradient for autoregressive LLMs under off-policy conditions. They prove that adjusting only for the current token ($\rho_t$) is an incomplete approximation. The true mathematical correction requires the prefix importance ratio ($\rho_{1:t}$): the cumulative product of token ratios for every single token generated up to step $t$.

However, multiplying 10,000 probabilities together is a numerical nightmare—values either vanish to zero or explode to infinity, creating massive variance and penalizing longer sequences.

To get prefix awareness without numerical explosion, the authors propose Minimum Prefix Ratio (MinPRO).

Figure 1: (a) An overview of MinPRO. ∇θJ denotes the policy gradient and ρt is the token-level importance sampling (IS) ratio. We take a step back to derive the full IS ratio ρ1:t, referred to as the prefix importance ratio. MinPRO is then developed by relaxing ρ1:t = ρ1:t−1 · ρt to a non-cumulative proxy ρtρt. (b) AIME24 scores as functions of training steps for Qwen3-30B-A3B-Base under off-policy training.

Instead of multiplying all preceding token ratios, MinPRO finds the single smallest token ratio observed anywhere in the preceding prefix ($\underline{\rho}_t = \min_{i < t} \rho_i$) and multiplies it by the current token's ratio ($\underline{\rho}_t \cdot \rho_t$). Built on top of a soft-clipping, critic-free objective (CISPO, where gradients are scaled rather than zeroed out), MinPRO acts as a circuit breaker: if the current model would never have taken an earlier step in the reasoning chain, it suppresses updates on all subsequent tokens down that path.

Datasets

No new datasets are introduced; the authors use established mathematical reasoning testbeds:

  • Training: DAPO-Math-17K (17,000 math problems paired only with final integer answers—no step-by-step solutions).
  • Evaluation: Seven benchmarks spanning grade-school to olympiad-level math: AMC23, AIME24, AIME25, MATH500, Olympiad, Minerva, and GSM8K.

Key Insights and Ideas

  • The Dead-Branch Intuition: Imagine an old model makes a bizarre mistake at token 50, taking it down a reasoning path the updated model would never visit ($\rho_{50} \approx 0$). At token 500, it writes a normal word like "therefore," where both models agree ($\rho_{500} \approx 1$). Standard token-level RL happily applies a massive gradient update at token 500, oblivious to the fact that the entire trajectory is obsolete!
  • Minimum as a Bottleneck Signal: Why use the minimum previous ratio rather than the average? In ablation studies, taking the minimum outperformed both arithmetic and geometric means. Averaging dilutes a sudden divergence across thousands of normal tokens, whereas the minimum preserves the "weakest link" bottleneck signal without cumulative multiplication.

Key Results

The authors tested MinPRO on dense models (Qwen3-8B-Base, Qwen3-14B-Base) and a large Mixture-of-Experts model (Qwen3-30B-A3B-Base, 30B total / 3B active parameters). They simulated heavy off-policy lag by delaying rollout batches by $n$ global steps (where $n=2$ equals 32–47 parameter updates of lag).

  • Consistent Peak Performance: At $n=2$, MinPRO beat GRPO, GSPO, CISPO, and the off-policy baseline M2PO across all model scales. On Qwen3-8B-Base, MinPRO hit an average pass@1 of 59.4% (vs. 46.4% for GRPO and 58.7% for M2PO). On Qwen3-14B-Base, it reached 62.6% (vs. 51.6% for GRPO).
  • MoE Scaling: On Qwen3-30B-A3B-Base, while CISPO crashed and GRPO degraded mid-training, MinPRO climbed smoothly to the highest accuracy across benchmarks (nearly 50% on AIME24).
  • Extreme Staleness: Even under severe policy lag ($n=16$, or ~256+ parameter updates behind!), MinPRO achieved 57.2% average pass@1 on the 8B model—losing just ~1 point compared to $n=4$ (58.3%), while also achieving top marks in zero-lag ($n=0$) training (59.3%).

Limitations and Future Work

  • Domain Scope: Experiments were strictly limited to mathematical reasoning due to a lack of standard public datasets for off-policy RL in coding or general logic.
  • Frontier Scale: While validated up to a 30B MoE model, MinPRO has not yet been tested on massive 100B+ parameter frontier models due to compute constraints.

Summary updated

Abstract

Reinforcement learning (RL) post-training has increasingly demonstrated strong ability to elicit reasoning behaviors in large language models (LLMs). For training efficiency, rollouts are typically generated in an off-policy manner using an older sampling policy and then used to update the current target policy. To correct the resulting discrepancy between the sampling and target policies, most existing RL objectives rely on a token-level importance sampling ratio. However, we observe unstable training dynamics in existing importance-weighted objectives under large policy lag. In this paper, we revisit LLM policy optimization under off-policy conditions and show that the exact correction for the prefix-marginal policy gradient is the cumulative prefix importance ratio. Token-level weighting does not explicitly correct for this prefix distribution shift. To stabilize LLM optimization under large off-policy drift, we propose a simple yet effective objective, Minimum Prefix Ratio (MinPRO). MinPRO replaces the unstable cumulative prefix ratio with a biased, non-cumulative surrogate based on the minimum token-level ratio observed in the preceding prefix. Extensive experiments on both dense and mixture-of-experts LLMs, across multiple mathematical reasoning benchmarks, demonstrate that MinPRO substantially improves training stability and peak performance in off-policy regimes.
BibTeX
@inproceedings{lei2026stabilizing,
  author = {Shiye Lei and Zhihao Cheng and Dacheng Tao},
  title = {{Stabilizing Off-policy LLM Optimization with Prefix Importance Ratio}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=mN7OOSKVlg},
}
Figure