DyJR: 通过动态Jensen-Shannon回放在强化学习中保持多样性
DyJR: Preserving Diversity in Reinforcement Learning with Verifiable Rewards via Dynamic Jensen-Shannon Replay
AI总结:
本文提出DyJR方法,通过动态参考分布和Jensen-Shannon散度正则化,在强化学习中保持多样性,提升数学推理和Text-to-SQL任务性能。
摘要:
虽然强化学习(RL)增强了大语言模型的推理能力,但在线算法如GRPO由于丢弃过往轨迹而样本效率低下。现有经验回放方法通过重用准确样本直接更新策略,但导致高计算成本和模式崩溃。本文认为历史数据应优先维持多样性而非单纯强化准确性。为此,提出动态Jensen-Shannon回放(DyJR),通过动态参考分布和Jensen-Shannon散度正则化,防止多样性崩溃。实验表明DyJR在数学推理和Text-to-SQL基准上显著优于GRPO及RLEP和Ex-GRPO,同时保持与原始GRPO相当的训练效率。此外,从Rank-k token概率演变视角,展示DyJR增强多样性并缓解对Rank-1 token的依赖,阐明DyJR子模块如何影响训练动态。
英文摘要:
While Reinforcement Learning (RL) enhances Large Language Model reasoning, on-policy algorithms like GRPO are sample-inefficient as they discard past rollouts. Existing experience replay methods address this by reusing accurate samples for direct policy updates, but this can incur additional storage costs and concentrate the policy on a narrow set of solutions. We argue that historical data should prioritize sustaining local policy plasticity rather than simply reinforcing accuracy. We define local policy plasticity as a persistent ability to remain backtrackable and switchable with respect to recent successful trajectories: throughout training, the policy maintains non-negligible support on recently reachable alternatives, so it can smoothly reallocate probability mass when needed without being locked into a single dominant path. To this end, we propose Dynamic Jensen-Shannon Replay (DyJR), a simple yet effective regularization framework using a dynamic reference distribution from recent trajectories. DyJR introduces two innovations: (1) A Time-Sensitive Dynamic Buffer that uses FIFO and adaptive sizing to retain only temporally proximal samples, synchronizing with model evolution; and (2) Jensen-Shannon Divergence Regularization, which replaces direct replay policy-gradient updates with a regularization signal that discourages premature over-commitment to a single Rank-1 trajectory. Experiments on mathematical reasoning, Text-to-SQL, and coding benchmarks demonstrate that DyJR improves over GRPO as well as baselines such as RLEP and Ex-GRPO, while maintaining training efficiency comparable to the original GRPO. Furthermore, Rank-k token probability evolution and semantic-mode analyses show reduced concentration and greater retention of alternative continuations. Matched admission-objective comparisons and repeated runs provide additional evidence for the roles of DyJR's components.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。