VESPO: Variational Sequence-level Soft Policy Optimization for Off-Policy LLM Training
Guobin Shen, Chenxiao Zhao, Xiang Cheng, Lei Huang, XingYu Li
NeurIPS page · Open on the map
Category: LLM Post-Training: RL & Distillation › Off-Policy LLM Reinforcement Learning · Type: new method · Keywords: off-policy reinforcement learning, variance reduction, language model training, importance sampling, sequence-level optimization
Areas: LLM Reasoning › Reasoning Optimization › Reinforcement Learning for LLMs; RL for LLMs & Agents › LLM Policy Optimization › Stable Policy Optimization
Summary
VESPO introduces a variational sequence-level soft policy optimization method that reshapes importance weights to reduce variance in off-policy LLM training, enabling stable updates under large rollout staleness.
Explained to a 5-year-old
When we teach a big language model new tricks using reinforcement learning, sometimes the old lessons are too far behind, causing problems. To fix this, we look at how much we should trust the old lessons, but this can be noisy and unpredictable. The researchers came up with a clever way to smooth out this noise, using a special mathematical trick that works on whole sentences at once. This helps the model keep learning smoothly even when the old lessons are very outdated, and it works for both regular and more complex models. As a result, the model learns faster and more reliably, making it easier to improve language understanding and coding skills.
Explained to a 5-year-old, longer
When we train a big language model, we sometimes use a technique called reinforcement learning to help it get better at things like solving math problems or writing code. In this process, the model looks at old examples that were collected a while ago, but those examples might not match exactly what we want now. To decide how much to trust those old examples, we calculate something called an importance weight, which tells us if they are still useful. However, these importance weights can be very noisy, especially because language models generate sequences of words that can be extremely long. Too much noise makes the learning unstable, so researchers wanted a way to reduce this noise without making the model forget useful information. They realized that thinking about the problem in a mathematical way, like using a concept from probability called variational inference, could help. By treating the variance reduction as a variational problem, they derived a formula that smooths out the importance weights across whole sentences. This smoothing avoids having to deal with each word individually, which simplifies the process and reduces errors. The new method also comes with a guarantee that tells us how much the noise will be reduced, giving confidence in its performance. When they tested it, the model stayed stable even when the old examples were up to 64 times older than the current data. It worked well for both regular models and more complex models that use a mixture of experts, giving consistent improvements. Overall, this approach makes it easier to train language models reliably, helping them get better at reasoning and coding.
For a technical reader
In large language model reinforcement learning, off-policy updates are needed because rollouts become stale between training and inference. The standard importance-sampling correction is unbiased but has high variance, especially when the ratio of probabilities is unbounded and sequences are generated autoregressively. The paper introduces a variational formulation that derives a closed-form reshaping kernel applied to sequence-level importance weights, providing an explicit variance bound. This kernel avoids per-token approximations and length normalization, making it simpler to implement and more stable for both dense and MoE models. Experiments show the approach maintains stability under severe staleness (up to 64×) and yields consistent gains on math reasoning and code generation tasks.
Problem
Off-policy updates in large language model reinforcement learning suffer from high variance due to unbounded importance sampling ratios and autoregressive generation, making stable training difficult when rollouts are stale. Existing variance reduction techniques are heuristic and often trade bias for variance.
Method
The approach formulates variance reduction as a variational problem and derives a closed-form reshaping kernel that operates on sequence-level importance weights, avoiding token-level approximations and length normalization. This kernel provides an explicit variance bound and can be applied to both dense and mixture-of-experts models. It is integrated into the off-policy RL update to stabilize training under large staleness.
Results
The approach maintains stable training under up to 64× rollout staleness and achieves consistent improvements over prior reshaping methods on both dense and MoE models in math reasoning and code generation tasks.
Contributions
It provides a principled variational formulation for variance reduction, yielding a closed-form sequence-level reshaping kernel with an explicit variance bound, and demonstrates its effectiveness on both dense and MoE LLMs under severe off-policy conditions.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction