English

VESPO: Variational Sequence-Level Soft Policy Optimization for Stable Off-Policy LLM Training

Machine Learning 2026-05-11 v3 Artificial Intelligence

Abstract

Off-policy updates are inevitable in reinforcement learning (RL) for large language models (LLMs) due to rollout staleness from asynchronous training and mismatches between training and inference engines. Naive importance sampling gives an unbiased correction but suffers from high variance, which is amplified by unbounded ratios and autoregressive generation. Prior remedies either rely on scenario-specific engineering, or trade bias for variance via token-level clipping or sequence-level normalization, yet these approaches remain largely heuristic. We propose Variational sEquence-level Soft Policy Optimization (VESPO). By explicitly incorporating variance reduction into a variational formulation, we derive a principled closed-form reshaping kernel that operates directly on sequence-level importance weights, avoids token-level approximation and length normalization, and admits an explicit variance bound for the deployed kernel. Experiments on math reasoning and code generation show that VESPO maintains stable training under severe off-policy conditions (staleness up to 64x) and delivers consistent gains across both dense and Mixture-of-Experts (MoE) models, outperforming recent reshaping baselines under matched setup. Code is available at https://github.com/FloyedShen/VESPO.

Keywords

Cite

@article{arxiv.2602.10693,
  title  = {VESPO: Variational Sequence-Level Soft Policy Optimization for Stable Off-Policy LLM Training},
  author = {Guobin Shen and Chenxiao Zhao and Xiang Cheng and Lei Huang and Xing Yu},
  journal= {arXiv preprint arXiv:2602.10693},
  year   = {2026}
}
R2 v1 2026-07-01T10:31:36.562Z