A Step Back: Prefix Importance Ratio Stabilizes Policy Optimization
Shiye Lei, Zhihao Cheng, Dacheng Tao
TL;DR
This work identifies instability in off-policy RL for LLM post-training as stemming from token-level importance sampling, showing that the theoretically correct correction is the prefix importance ratio $\rho_{1:t}$. It introduces MinPRO, a stable surrogate that multiplies the token-level ratio $\rho_t$ by the minimum prior prefix ratio $\underline{\rho}_t$, avoiding the variance and length-bias issues of cumulative products. The method yields significantly more stable training and higher peak performance across dense and mixture-of-experts LLMs on multiple mathematical reasoning benchmarks, under large off-policy drift. The results demonstrate that prefix-aware corrections generalize to MoE scales and offer a practical, scalable route to improved reasoning in LLMs. Overall, MinPRO provides a principled stabilization mechanism that addresses a core bottleneck in off-policy LLM policy optimization with clear implications for future large-scale training.
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, primarily due to its computational simplicity and numerical stability. However, we observe that token-level correction often leads to unstable training dynamics when the degree of off-policyness is large. In this paper, we revisit LLM policy optimization under off-policy conditions and show that the theoretically rigorous correction term is the prefix importance ratio, and that relaxing it to a token-level approximation can induce instability in RL post-training. 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 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.
