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

BiasEdit:通过模型编辑消除语言模型中的刻板印象偏见

BiasEdit: Debiasing Stereotyped Language Models via Model Editing

University of California, San Diego(加利福尼亚大学圣迭戈分校);Georgia Institute of Technology(佐治亚理工学院);Zhejiang University(浙江大学)

Xin Xu, Wei Xu, Ningyu Zhang, Julian McAuley

AI总结:

本文提出 BiasEdit,一种通过轻量级编辑器网络对语言模型部分参数进行局部编辑的高效去偏方法,在保持语言建模能力的同时有效消除刻板印象偏见。

摘要:

先前的研究已经证实语言模型会表现出刻板印象偏见。现有的去偏策略,例如使用反事实数据重新训练模型、表示投影和提示方法,往往无法高效地消除偏见或直接改变模型内部带有偏见的表示。为了解决这些问题,我们提出了 BiasEdit,一种高效的模型编辑方法,通过轻量级网络作为编辑器生成参数更新,从而从语言模型中去除刻板印象偏见。BiasEdit 采用去偏损失来引导编辑器网络对语言模型的部分参数进行局部编辑以实现去偏,同时通过保留损失在编辑过程中保持语言建模能力。在 StereoSet 和 Crows-Pairs 上的实验表明,与相关的去偏基线相比,BiasEdit 在消除偏见方面具有有效性、高效性和鲁棒性,并且对语言模型的通用能力几乎没有影响。此外,我们进行了偏见追踪以探查不同模块中的偏见,并探索了偏见编辑对语言模型不同组件的影响。

英文摘要:

Previous studies have established that language models manifest stereotyped biases. Existing debiasing strategies, such as retraining a model with counterfactual data, representation projection, and prompting often fail to efficiently eliminate bias or directly alter the models' biased internal representations. To address these issues, we propose BiasEdit, an efficient model editing method to remove stereotypical bias from language models through lightweight networks that act as editors to generate parameter updates. BiasEdit employs a debiasing loss guiding editor networks to conduct local edits on partial parameters of a language model for debiasing while preserving the language modeling abilities during editing through a retention loss. Experiments on StereoSet and Crows-Pairs demonstrate the effectiveness, efficiency, and robustness of BiasEdit in eliminating bias compared to tangental debiasing baselines and little to no impact on the language models' general capabilities. In addition, we conduct bias tracing to probe bias in various modules and explore bias editing impacts on different components of language models.

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

↑