arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.00809cs.LGcs.AIcs.CL
收藏

自适应段级奖励:弥合对齐中动作与奖励空间之间的差距

Adaptive Segment-level Reward: Bridging the Gap Between Action and Reward Space in Alignment

Alibaba Group(阿里巴巴集团);Tsinghua University(清华大学)

Yanshi Li, Shaopan Xiong, Gengru Chen, Xiaoyang Li, Yijia Luo, Xingyuan Bu, Yingshui Tan, Wenbo Su, Bo Zheng

AI总结:

针对RL对齐中信用分配问题,提出基于语义的自适应段级奖励方法,可集成于多种训练方法,使对抗样本成功率提升10%,并在MMLU等基准上提升1.3%。

摘要:

强化学习(RL)已被证明在使大型语言模型(LLMs)与人类偏好对齐方面非常有效。典型的RL方法在整体序列奖励下进行优化,这可能导致次优的学习过程。这反映了一个关键的信用分配问题:识别哪些标记应被强化或抑制。为纠正这些缺点,已提出了逐步和逐标记的方法。然而,逐步方法依赖于标点符号分割,仍无法准确识别关键标记。逐标记方法过于细粒度,关注许多不重要的标记,从而引入大量噪声。为了向不同标记分配更准确的奖励,改进信用分配,我们提出了“自适应段级奖励”方法。我们利用语义含义而非标点符号来自适应地划分段落。实验表明,我们的方法可以集成到各种训练方法中。与不使用我们方法的训练方法相比,我们的方法在对抗性样本上的成功率提高了10%,并在MMLU、GSM8K、HumanEval等评估基准上实现了1.3%的提升。

英文摘要:

Reinforcement Learning (RL) has proven highly effective in aligning Large Language Models (LLMs) with human preferences. Typical RL methods optimize under an overall sequence reward, which can lead to a suboptimal learning process. This reflects a key credit assignment problem: identifying which tokens to reinforce or suppress. To rectify these shortcomings, step-wise and token-wise methods have been proposed. However, step-wise methods rely on punctuation segmentation and still cannot accurately identify the key tokens. The token-level approach is too fine-grained, attending to many unimportant tokens and thus introducing a large amount of noise. To assign more accurate rewards to different tokens, improving credit assignment, we propose the "Adaptive Segment-wise Reward" method. We employ semantic meaning, rather than punctuation, to adaptively delineate segments. Experiments demonstrate that our method can be integrated into various training methods. Compared to training methods \textit{without} our approach, our method improves the success rate on adversarial samples by 10\%, and achieves a 1.3\% improvement on evaluation benchmarks such as MMLU, GSM8K, HumanEval, etc.

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

↑