VESPO: Variational Sequence-Level Soft Policy Optimization for Stable Off-Policy LLM Training
Guobin Shen, Chenxiao Zhao, Xiang Cheng, Lei Huang, Xing Yu
TL;DR
The paper tackles instability in off-policy reinforcement learning for large language models caused by distribution shifts between training and inference. It introduces VESPO, a variational, measure-change-based framework that yields a closed-form, smooth kernel for reshaping sequence-level importance weights without length normalization, overcoming the variance-bias trade-offs of prior methods. The resulting kernel $\phi(W) = W^{\alpha} e^{-\lambda W}$ (implemented as a shifted form $\phi(W)=W^{c_1} e^{c_2(1-W)}$) provides principled variance control and preserves sequence-level credit assignment, with asymmetric handling for positive vs negative advantages. Empirical results on mathematical reasoning benchmarks show VESPO delivering stable training under up to $64\times$ policy staleness and full asynchrony, outperforming GRPO, GSPO, and SAPO across dense and MoE models, and remaining compatible with techniques like R2 and TIS. This approach offers practical robustness for large-scale, off-policy LLM training and points to future scaling and multi-turn extensions.
Abstract
Training stability remains a central challenge in reinforcement learning (RL) for large language models (LLMs). Policy staleness, asynchronous training, and mismatches between training and inference engines all cause the behavior policy to diverge from the current policy, risking training collapse. Importance sampling provides a principled correction for this distribution shift but suffers from high variance; existing remedies such as token-level clipping and sequence-level normalization lack a unified theoretical foundation. We propose Variational sEquence-level Soft Policy Optimization (VESPO). By incorporating variance reduction into a variational formulation over proposal distributions, VESPO derives a closed-form reshaping kernel that operates directly on sequence-level importance weights without length normalization. Experiments on mathematical reasoning benchmarks show that VESPO maintains stable training under staleness ratios up to 64x and fully asynchronous execution, and delivers consistent gains across both dense and Mixture-of-Experts models. Code is available at https://github.com/FloyedShen/VESPO
