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

通过细粒度监督对齐大型语言模型

Aligning Large Language Models via Fine-grained Supervision

UCLA(加州大学洛杉矶分校);Amazon(亚马逊公司);Seoul National University(首尔大学)

Dehong Xu, Liang Qiu, Minseok Kim, Faisal Ladhak, Jaeyoung Do

AI总结:

本文提出通过细粒度token级监督增强LLM对齐,利用标注者最小编辑构建数据集训练token级奖励模型,并应用于细粒度PPO,相比传统PPO胜率提升5.1%。

摘要:

预训练的大规模语言模型(LLMs)擅长生成连贯的文章,但其输出可能不真实、有毒,或未能符合用户期望。当前方法侧重于使用基于人类反馈的强化学习(RLHF)来改进模型对齐,该方法通过将LLM输出的粗粒度人类偏好转化为指导模型学习过程的反馈信号来起作用。然而,由于该方法在序列级反馈上操作,它缺乏识别影响用户偏好的输出确切部分的精确性。为了解决这一差距,我们提出了一种通过细粒度token级监督来增强LLM对齐的方法。具体而言,我们要求标注者在标准奖励建模数据集中对较不受欢迎的响应进行最小限度的编辑,使其更受欢迎,确保仅在必要处进行更改,同时保留大部分原始内容。精炼后的数据集用于训练token级奖励模型,该模型随后用于训练我们的细粒度近端策略优化(PPO)模型。我们的实验结果表明,与传统的PPO模型相比,该方法在LLM性能上可以实现高达5.1%的绝对改进(以相对于参考模型的胜率衡量)。

英文摘要:

Pre-trained large-scale language models (LLMs) excel at producing coherent articles, yet their outputs may be untruthful, toxic, or fail to align with user expectations. Current approaches focus on using reinforcement learning with human feedback (RLHF) to improve model alignment, which works by transforming coarse human preferences of LLM outputs into a feedback signal that guides the model learning process. However, because this approach operates on sequence-level feedback, it lacks the precision to identify the exact parts of the output affecting user preferences. To address this gap, we propose a method to enhance LLM alignment through fine-grained token-level supervision. Specifically, we ask annotators to minimally edit less preferred responses within the standard reward modeling dataset to make them more favorable, ensuring changes are made only where necessary while retaining most of the original content. The refined dataset is used to train a token-level reward model, which is then used for training our fine-grained Proximal Policy Optimization (PPO) model. Our experiment results demonstrate that this approach can achieve up to an absolute improvement of $5.1\%$ in LLM performance, in terms of win rate against the reference model, compared with the traditional PPO model.

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

↑