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

来自逆向的洞见:通过逆向强化学习重构大语言模型训练目标

Insights from the Inverse: Reconstructing LLM Training Goals Through Inverse Reinforcement Learning

Imperial College London(伦敦帝国学院);Harvard University(哈佛大学)

Jared Joselowitz, Ritam Majumdar, Arjun Jagota, Matthieu Bou, Nyal Patel, Satyapriya Krishna, Sonali Parbhoo

AI总结:

针对RLHF训练的大语言模型奖励函数与决策过程不透明的问题,本文提出用逆向强化学习还原其隐含奖励函数,在毒性对齐LLM实验中取得最高85%的人类偏好预测准确率,且提取的奖励模型可用于微调新LLM并取得不错性能,为LLM对齐研究提供新视角。

摘要:

采用人类反馈强化学习(RLHF)训练的大语言模型(LLM)已展现出卓越能力,但其底层奖励函数与决策过程仍不透明。本文提出一种解读LLM的新方法,即应用逆向强化学习(IRL)还原其隐含奖励函数。我们在不同规模的毒性对齐LLM上开展实验,提取出的奖励模型在预测人类偏好时准确率最高可达85%。分析揭示了关于奖励函数不可识别性、模型规模与可解释性的关系,以及RLHF流程中潜在陷阱的关键洞见。我们证明,基于IRL得到的奖励模型可用于微调新的LLM,使其在毒性基准测试上取得相当或更优的性能。该研究为理解与改进LLM对齐提供了新视角,对这类强大系统的负责任开发与部署具有重要意义。

英文摘要:

Large language models (LLMs) trained with Reinforcement Learning from Human Feedback (RLHF) have demonstrated remarkable capabilities, but their underlying reward functions and decision-making processes remain opaque. This paper introduces a novel approach to interpreting LLMs by applying inverse reinforcement learning (IRL) to recover their implicit reward functions. We conduct experiments on toxicity-aligned LLMs of varying sizes, extracting reward models that achieve up to 85% accuracy in predicting human preferences. Our analysis reveals key insights into the non-identifiability of reward functions, the relationship between model size and interpretability, and potential pitfalls in the RLHF process. We demonstrate that IRL-derived reward models can be used to fine-tune new LLMs, resulting in comparable or improved performance on toxicity benchmarks. This work provides a new lens for understanding and improving LLM alignment, with implications for the responsible development and deployment of these powerful systems.

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

↑