arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.16951cs.CLcs.LG
收藏

迈向迁移遗忘:跨领域偏见缓解的实证证据

Towards Transfer Unlearning: Empirical Evidence of Cross-Domain Bias Mitigation

The University of Tokyo(东京大学);The University of Edinburgh(爱丁堡大学);RIKEN AIP(理化学研究所人工智能项目)

Huimin Lu, Masaru Isonuma, Junichiro Mori, Ichiro Sakata

AI总结:

本文提出一种基于掩码语言建模的遗忘技术,通过对仇恨言论执行梯度上升来选择性遗忘有害内容,有效缓解LLMs偏见并保持语言能力,且揭示了跨领域迁移遗忘的潜力。

摘要:

大型语言模型(LLMs)通常从海量训练语料库中继承偏见。传统去偏方法虽在一定程度上有效,但并未完全消除LLMs中记忆的偏见与毒性。本文研究一种基于遗忘的LLMs去偏方法,通过对针对少数群体的仇恨言论执行梯度上升(即最小化有偏见或毒性内容的似然)来实现。具体而言,我们提出一种掩码语言建模遗忘技术,用于遗忘文本中的有害部分。该方法使LLMs能够选择性地遗忘并脱离有偏见和有害的内容。实验结果证明了该方法在减少偏见的同时保持语言建模能力的有效性。令人惊讶的是,结果还揭示了跨领域迁移遗忘的意外潜力:在一种偏见形式(如性别)上去偏可能有助于缓解其他偏见(如种族和宗教)。

英文摘要:

Large language models (LLMs) often inherit biases from vast amounts of training corpora. Traditional debiasing methods, while effective to some extent, do not completely eliminate memorized biases and toxicity in LLMs. In this paper, we study an unlearning-based approach to debiasing in LLMs by performing gradient ascent on hate speech against minority groups, i.e., minimizing the likelihood of biased or toxic content. Specifically, we propose a mask language modeling unlearning technique, which unlearns the harmful part of the text. This method enables LLMs to selectively forget and disassociate from biased and harmful content. Experimental results demonstrate the effectiveness of our approach in diminishing bias while maintaining the language modeling abilities. Surprisingly, the results also unveil an unexpected potential for cross-domain transfer unlearning: debiasing in one bias form (e.g. gender) may contribute to mitigating others (e.g. race and religion).

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

↑