arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.14228cs.LGcs.AI
收藏

COPR:基于最优策略正则化的持续人类偏好学习

COPR: Continual Human Preference Learning via Optimal Policy Regularization

Han Zhang, Lin Gui, Yu Lei, Yuanzhao Zhai, Yehong Zhang, Yulan He, Hui Wang, Yue Yu, Kam-Fai Wong, Bin Liang, Ruifeng Xu

AI总结:

针对RLHF在持续学习中因直接学习新偏好导致灾难性遗忘的问题,提出COPR方法,利用拉格朗日对偶基于历史最优策略动态正则化当前策略,有效防止遗忘并在多项评估中超越基线。

摘要:

人类反馈强化学习(RLHF)通常被用于提升大型语言模型(LLM)与人类偏好的对齐程度。鉴于人类偏好的演变特性,相较于传统的静态对齐,持续对齐变得更为关键且实用。然而,由于RLHF过程复杂,使其与持续学习(CL)兼容具有挑战性。同时,直接学习新的人类偏好可能导致对历史偏好的灾难性遗忘(CF),从而产生无用或有害的输出。为克服这些挑战,我们提出了持续最优策略正则化(COPR)方法,该方法受最优策略理论启发。COPR利用采样分布作为CL的示范和正则化约束。它采用拉格朗日对偶(LD)方法,基于历史最优策略动态正则化当前策略,从而防止CF并避免过度强调不平衡的目标。我们还为COPR的可学习性提供了形式化证明。实验结果表明,在我们提出的基准上,COPR在基于奖励的评估、GPT-4评估和人工评估方面均优于强大的CL基线。此外,我们在各种CL设置下验证了COPR的鲁棒性,包括不同的骨干网络、回放记忆大小和学习顺序。

英文摘要:

Reinforcement Learning from Human Feedback (RLHF) is commonly utilized to improve the alignment of Large Language Models (LLMs) with human preferences. Given the evolving nature of human preferences, continual alignment becomes more crucial and practical in comparison to traditional static alignment. Nevertheless, making RLHF compatible with Continual Learning (CL) is challenging due to its complex process. Meanwhile, directly learning new human preferences may lead to Catastrophic Forgetting (CF) of historical preferences, resulting in helpless or harmful outputs. To overcome these challenges, we propose the Continual Optimal Policy Regularization (COPR) method, which draws inspiration from the optimal policy theory. COPR utilizes a sampling distribution as a demonstration and regularization constraints for CL. It adopts the Lagrangian Duality (LD) method to dynamically regularize the current policy based on the historically optimal policy, which prevents CF and avoids over-emphasizing unbalanced objectives. We also provide formal proof for the learnability of COPR. The experimental results show that COPR outperforms strong CL baselines on our proposed benchmark, in terms of reward-based, GPT-4 evaluations and human assessment. Furthermore, we validate the robustness of COPR under various CL settings, including different backbones, replay memory sizes, and learning orders.

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

↑