arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2308.12050cs.CLcs.AI
收藏

通过离线人类反馈学习对齐语言模型

Aligning Language Models with Offline Learning from Human Feedback

NVIDIA(英伟达)

Jian Hu, Li Tao, June Yang, Chandler Zhou

AI总结:

本文提出离线人类反馈学习框架,通过 FA、RWR 和 CA 对齐语言模型,在训练更稳定、仅用约 9% 计算资源的同时,使 CA 达到与 PPO 相当的效果。

摘要:

从人类偏好中学习对于语言模型(LM)有效满足人类需求和社会价值观至关重要。此前研究通过利用人类反馈来遵循指令,已取得显著进展。然而,这些方法主要依赖 Proximal Policy Optimization(PPO,近端策略优化)等在线学习技术,而这类技术已被证明对语言模型不稳定且难以调参。此外,PPO 需要复杂的分布式系统实现,阻碍了大规模分布式训练的效率。在本研究中,我们提出一种离线人类反馈学习框架,用于在不与环境交互的情况下对齐 LM。具体而言,我们探索了 filtering alignment(FA,过滤式对齐)、reward-weighted regression(RWR,奖励加权回归)和 conditional alignment(CA,条件式对齐),以将语言模型与人类偏好对齐。通过采用类似于监督微调的损失函数,我们的方法借助简单的机器学习系统(MLSys)确保了比 PPO 更稳定的模型训练,并且只需要少得多(约 9%)的计算资源。实验结果表明,conditional alignment 优于其他离线对齐方法,并且与 PPO 相当。

英文摘要:

Learning from human preferences is crucial for language models (LMs) to effectively cater to human needs and societal values. Previous research has made notable progress by leveraging human feedback to follow instructions. However, these approaches rely primarily on online learning techniques like Proximal Policy Optimization (PPO), which have been proven unstable and challenging to tune for language models. Moreover, PPO requires complex distributed system implementation, hindering the efficiency of large-scale distributed training. In this study, we propose an offline learning from human feedback framework to align LMs without interacting with environments. Specifically, we explore filtering alignment (FA), reward-weighted regression (RWR), and conditional alignment (CA) to align language models to human preferences. By employing a loss function similar to supervised fine-tuning, our methods ensure more stable model training than PPO with a simple machine learning system~(MLSys) and much fewer (around 9\%) computing resources. Experimental results demonstrate that conditional alignment outperforms other offline alignment methods and is comparable to PPO.

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

↑