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

大语言模型的风险厌恶微调

Risk-Averse Finetuning of Large Language Models

Amazon Web Services (AWS)(亚马逊网络服务(AWS));Texas A&M University(德克萨斯农工大学)

Sapana Chaudhary, Ujwal Dinesha, Dileep Kalathil, Srinivas Shakkottai

AI总结:

针对大语言模型易生成有害内容的问题,提出将风险厌恶原则融入微调,通过优化CVaR训练模型,实验验证该RLHF方法可在保持生成能力的同时有效减少有毒输出,助力构建更安全的在线环境。

摘要:

我们研究了缓解大语言模型(LLMs)针对特定提示生成负面或有毒内容这一挑战。我们提出将风险厌恶原则融入LLM微调,以减少有害输出的出现,尤其是罕见但影响重大的事件。通过优化条件风险价值(CVaR)这一风险度量,我们的方法训练LLM在避免有毒输出方面表现更优,同时保持生成任务的有效性。在情感修改和毒性缓解任务上的实证评估表明,带人类反馈的风险厌恶强化学习(RLHF)能有效推动更安全、更具建设性的在线话语环境构建。

英文摘要:

We consider the challenge of mitigating the generation of negative or toxic content by the Large Language Models (LLMs) in response to certain prompts. We propose integrating risk-averse principles into LLM fine-tuning to minimize the occurrence of harmful outputs, particularly rare but significant events. By optimizing the risk measure of Conditional Value at Risk (CVaR), our methodology trains LLMs to exhibit superior performance in avoiding toxic outputs while maintaining effectiveness in generative tasks. Empirical evaluations on sentiment modification and toxicity mitigation tasks demonstrate the efficacy of risk-averse reinforcement learning with human feedback (RLHF) in promoting a safer and more constructive online discourse environment.

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

↑