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.
Introduction
Reinforcement learning for Large Language Models (LLMs) often suffers from training instability due to off-policy data caused by asynchronous rollouts or train-inference engine mismatches. This creates policy staleness: the model being updated is newer than the model that generated the data. To correct this off-policy distribution shift, researchers typically use Importance Sampling (IS). However, because an LLM generates sequences token-by-token, sequence-level IS requires multiplying token probabilities together, leading to an exponential explosion in variance.
Existing solutions like token-level clipping (e.g., GRPO) break sequence-level credit assignment, while sequence-level length normalization (e.g., GSPO) introduces a bias that conflates distinct trajectories and often leads to training collapse. VESPO addresses the lack of a unified, mathematically sound foundation for taming sequence-level IS variance.
Methodology
VESPO reframes importance weight reshaping as a "measure change" to an implicit proposal distribution. Instead of hand-crafting a clipping heuristic, the authors set up a constrained variational optimization problem: find a proposal distribution that stays close to both the behavior policy (for sample efficiency) and the target policy (to reduce bias), while strictly bounding the variance.
Solving this yields a closed-form reshaping kernel: $\phi(W) = W^{c_1} \exp(c_2(1-W))$. Key features include:
- Sequence-Level Operation: It operates directly on the full sequence weight $W$, preserving cross-token dependencies.
- No Length Normalization: It avoids dividing by sequence length $T$, sidestepping the biases of previous methods.
- Soft Suppression: Instead of hard clipping, it uses an exponential decay to smoothly suppress extreme weights.
- Asymmetric Hyperparameters: It applies stronger exponential suppression to negative-advantage samples to prevent the model from over-penalizing and destabilizing training.
Experimental Results
VESPO was evaluated on mathematical reasoning benchmarks (AIME 2024/2025, MATH-500) across three model scales: Llama-3.2-3B-Instruct, Qwen3-8B-Base, and Qwen3-30B-A3B-Base (MoE).
Robustness to Extreme Staleness
The authors tested staleness ratios (global batch size / mini-batch size) up to 64x. While baselines like GRPO and GSPO degraded significantly and SAPO collapsed entirely, VESPO maintained a highly robust performance with stable training curves.
Performance and Mismatch Tolerance
VESPO achieved the best average accuracy across all models, with the most pronounced gains on the Qwen3-30B-A3B-Base MoE model (+2.3% over the best baseline). It naturally tolerated train-inference mismatches in MoE models without needing specialized engineering fixes, though it remains complementary to such methods.
Conclusion
VESPO provides a principled variational framework for sequence-level importance weight reshaping. By avoiding biased length normalization and employing asymmetric suppression, it enables stable and efficient off-policy RL training for LLMs even under extreme asynchronous conditions. Future work involves scaling to larger clusters and extending the method to multi-turn agentic RL settings.
Summary updated