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

基于多角色辩论反馈的强化学习用于大语言模型的偏见缓解

Reinforcement Learning from Multi-role Debates as Feedback for Bias Mitigation in LLMs

Southeast University(东南大学);Nanjing University(南京大学);Waseda University(早稻田大学);University of California(加利福尼亚大学)

Ruoxi Cheng, Haoxuan Ma, Shuirong Cao, Jiaqi Li, Aihua Pei, Zhiqiang Wang, Pengliang Ji, Haoyu Wang, Jiaqi Huo

AI总结:

针对大语言模型偏见问题,提出基于多角色辩论反馈的强化学习方法RLDF,通过自反思或师生模式构建含高低偏见样本的数据集训练奖励模型,实验验证其偏见缓解有效性并开源相关资源。

摘要:

大语言模型(LLM)中的偏见会损害用户体验和社会结果。然而,当前的偏见缓解方法通常需要大量人类反馈,缺乏向其他主题的可迁移性,或是会产生过度自信且随机的输出。我们发现,让大语言模型参与角色扮演场景能够提升其识别和缓解偏见的能力。基于此,我们提出了“多角色辩论反馈强化学习(Reinforcement Learning from Multi-role Debates as Feedback, RLDF)”——一种替代传统RLHF中人类反馈的新型偏见缓解方法。我们利用参与多角色辩论的大语言模型构建包含高偏见和低偏见样本的数据集,用于训练强化学习中的奖励模型。该方法包含两种模式:(1)自反思模式,即同一大语言模型参与多角色辩论;(2)师生模式,即由GPT-3.5-turbo等更先进的大语言模型引导目标大语言模型完成该任务。在BBQ数据集及我们的数据集上针对不同大语言模型的实验结果,证明了该方法在偏见缓解方面的有效性。我们的源代码和数据集可在https://anonymous.4open.science/r/RLDF-E344 获取。

英文摘要:

Bias in LLMs can harm user experience and societal outcomes. However, current bias mitigation methods often require intensive human feedback, lack transferability to other topics or yield overconfident and random outputs. We find that involving LLMs in role-playing scenario boosts their ability to recognize and mitigate biases. Based on this, we propose Reinforcement Learning from Multi-role Debates as Feedback (RLDF), a novel approach for bias mitigation replacing human feedback in traditional RLHF. We utilize LLMs in multi-role debates to create a dataset that includes both high-bias and low-bias instances for training the reward model in reinforcement learning. Our approach comprises two modes: (1) self-reflection, where the same LLM participates in multi-role debates, and (2) teacher-student, where a more advanced LLM like GPT-3.5-turbo guides the LLM to perform this task. Experimental results across different LLMs on BBQ and our datasets demonstrate the effectiveness of our approach in bias mitigation. Our source code and datasets are available at \texttt{https://anonymous.4open.science/r/RLDF-E344}.

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

↑