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

微调对语言模型毒性的影响

The effect of fine-tuning on language model toxicity

Oxford Internet Institute(牛津互联网研究所);University of Oxford(牛津大学)

Will Hawkins, Brent Mittelstadt, Chris Russell

AI总结:

本文通过三项实验研究微调对 Gemma、Llama 和 Phi 模型毒性的影响,发现少量参数高效微调即可显著改变开发者调优后的安全性,且社区微调模型的毒性率难以预测。

摘要:

随着开放模型的激增以及高性价比参数高效微调技术的改进,对语言模型进行微调已日益流行。然而,微调可能影响模型的安全等属性。我们评估微调如何影响不同开放模型输出有毒内容的倾向。我们通过三项实验评估微调 Gemma、Llama 和 Phi 模型对毒性的影响。我们比较模型开发者在指令微调期间如何降低毒性。我们表明,在非对抗性数据集上通过低秩适应(LoRA)对开发者已调优的模型进行少量参数高效微调,就能显著改变各模型间的这些结果。最后,我们强调这一现象在真实场景中的影响,展示社区贡献者微调的模型其毒性率如何以难以预测的方式偏离。

英文摘要:

Fine-tuning language models has become increasingly popular following the proliferation of open models and improvements in cost-effective parameter efficient fine-tuning. However, fine-tuning can influence model properties such as safety. We assess how fine-tuning can impact different open models' propensity to output toxic content. We assess the impacts of fine-tuning Gemma, Llama, and Phi models on toxicity through three experiments. We compare how toxicity is reduced by model developers during instruction-tuning. We show that small amounts of parameter-efficient fine-tuning on developer-tuned models via low-rank adaptation on a non-adversarial dataset can significantly alter these results across models. Finally, we highlight the impact of this in the wild, demonstrating how toxicity rates of models fine-tuned by community contributors can deviate in hard-to-predict ways.

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

↑