arXiv:2511.00519cs.CL2025-11被引 1

提出新方法降低大模型性别偏见,效果显著且不影响性能。

Exploring and Mitigating Gender Bias in Encoder-Based Transformer Models

  • 用概率掩码填充法设计新度量MALoR评估偏见。
  • 在BERT等模型上,性别偏见分数最高降80%以上。
  • 通过反事实数据增强继续预训练,适合安全应用者参考。

语言模型中的性别偏见日益受到关注。本文研究基于编码器的Transformer模型中上下文词向量的性别偏见问题,聚焦BERT、ALBERT、RoBERTa和DistilBERT等主流架构。为量化偏见程度,提出新指标MALoR,基于模型对掩码词的预测概率进行评估。进一步提出一种缓解方法:在反事实数据增强生成的性别平衡数据集上继续预训练。实验显示,该方法显著降低多种代词对的偏见得分。例如,在BERT-base中,'he-she'偏见从1.27降至0.08,'his-her'从2.51降至0.36;BERT-large中'male-female'偏见由1.82降至0.10。该方法有效减少偏见,且不损害下游任务性能。

原文摘要 · Abstract (English)

Gender bias in language models has gained increasing attention in the field of natural language processing. Encoder-based transformer models, which have achieved state-of-the-art performance in various language tasks, have been shown to exhibit strong gender biases inherited from their training data. This paper investigates gender bias in contextualized word embeddings, a crucial component of transformer-based models. We focus on prominent architectures such as BERT, ALBERT, RoBERTa, and DistilBERT to examine their vulnerability to gender bias. To quantify the degree of bias, we introduce a novel metric, MALoR, which assesses bias based on model probabilities for filling masked tokens. We further propose a mitigation approach involving continued pre-training on a gender-balanced dataset generated via Counterfactual Data Augmentation. Our experiments reveal significant reductions in gender bias scores across different pronoun pairs. For instance, in BERT-base, bias scores for "he-she" dropped from 1.27 to 0.08, and "his-her" from 2.51 to 0.36 following our mitigation approach. We also observed similar improvements across other models, with "male-female" bias decreasing from 1.82 to 0.10 in BERT-large. Our approach effectively reduces gender bias without compromising model performance on downstream tasks.

性别偏见Transformer模型优化NLP

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。