arXiv:2602.10609cs.CLcs.AI2026-02被引 1

用卡尔曼滤波稳定大模型强化学习的策略优化

Online Causal Kalman Filtering for Stable and Effective Policy Optimization

  • 将重要性采样比建模为随时间演化的隐状态,在线更新
  • 在数学推理数据集上超越现有最佳方法
  • 适合大规模语言模型的稳定策略训练

大型语言模型的强化学习受高方差的词元级重要性采样(IS)比率影响,易导致策略优化不稳定。现有方法通常对序列中所有词元使用固定序列级IS比率,或独立调整每个词元的比率,忽略了词元间的时序离策略偏差。本文首次实证发现,词元级局部离策略偏差在结构上不一致,可能扭曲相邻词元间的策略梯度更新,导致训练崩溃。为此,提出在线因果卡尔曼滤波策略优化(KPO):将理想IS比率视为随词元演化的时间隐状态,基于前序词元状态在线、自回归地应用卡尔曼滤波更新,不依赖未来信息。所得滤波后IS比率既保留词元级局部结构敏感性,又有效平滑噪声突变,实现更稳定有效的策略更新。实验表明,KPO在挑战性数学推理数据集上优于当前最优方法。

原文摘要 · Abstract (English)

Reinforcement learning for large language models suffers from high-variance token-level importance sampling (IS) ratios, which would destabilize policy optimization at scale. To improve stability, recent methods typically use a fixed sequence-level IS ratio for all tokens in a sequence or adjust each token's IS ratio separately, thereby neglecting temporal off-policy derivation across tokens in a sequence. In this paper, we first empirically identify that local off-policy deviation is structurally inconsistent at the token level, which may distort policy-gradient updates across adjacent tokens and lead to training collapse. To address the issue, we propose Online Causal Kalman Filtering for stable and effective Policy Optimization (KPO). Concretely, we model the desired IS ratio as a latent state that evolves across tokens and apply a Kalman filter to update this state online and autoregressively based on the states of past tokens, regardless of future tokens. The resulting filtered IS ratios preserve token-wise local structure-aware variation while strongly smoothing noise spikes, yielding more stable and effective policy updates. Experimentally, KPO achieves superior results on challenging math reasoning datasets compared with state-of-the-art counterparts.

强化学习大模型策略优化卡尔曼滤波

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。