arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.10609cs.CLcs.AI
收藏

在线因果卡尔曼滤波用于稳定和有效的策略优化

Online Causal Kalman Filtering for Stable and Effective Policy Optimization

Nanyang Technological University, Singapore(南洋理工大学,新加坡);Southeast University, China(东南大学,中国)

Shuo He, Lang Feng, Xin Cheng, Lei Feng, Bo An

AI总结:

本文提出KPO方法,通过在线因果卡尔曼滤波稳定和提升策略优化效果,有效解决token级重要性采样比率的高方差问题。

摘要:

大型语言模型的强化学习面临高方差的token级重要性采样(IS)比率,这会在大规模上破坏策略优化。为提高稳定性,最近的方法通常使用固定的序列级IS比率适用于序列中的所有token,或单独调整每个token的IS比率,从而忽略了序列中token之间的时序非策略衍生。在本文中,我们首先实证地发现,局部非策略偏差在token层面是结构性不一致的,这可能会在相邻token之间扭曲策略梯度更新并导致训练崩溃。为了解决这个问题,我们提出了在线因果卡尔曼滤波用于稳定和有效的策略优化(KPO)。具体来说,我们将期望的IS比率建模为一个随token演变的潜在状态,并应用卡尔曼滤波来根据过去token的状态在线和自回归地更新此状态,而不考虑未来token。所得到的过滤IS比率保留了token层面的局部结构感知变化,同时强烈平滑噪声尖峰,从而产生更稳定和有效的策略更新。实验表明,KPO在具有挑战性的数学推理数据集上优于最先进的方法。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑