社团指南

语言模型中的性别偏见

语言模型可以重现训练文本中的性别关联,从词嵌入刻板印象到性别完成、翻译和就业建议。

听听这个指南AI叙述 · ~3 min

在本页3 分钟阅读
  1. 概述
  2. 深入探讨
  3. 现实世界的实施
  4. 语言模型中性别偏见的未来
  5. 付诸实践
  6. 不断探索
  7. 常见问题

概述

实验表明,结果因模型、提示、任务和所使用的人口统计线索而异;基准结果不应被视为每个模型或现实世界决策的证据。

深入探讨

Gender bias in language technology is not one failure mode. Word embeddings encode associations between words from their training corpora. Bolukbasi and colleagues’ 2016 study showed that embedding relationships could reflect occupational stereotypes and proposed a method to remove some gender associations, while noting that not all gender information is undesirable or separable. Coreference systems can also resolve pronouns using learned associations: the WinoBias benchmark tests stereotypical and anti-stereotypical sentences to measure errors in linking pronouns to occupations. Machine translation can add gender where a source language leaves it unspecified; benchmark research has tested gendered translations across occupations and languages. Language models add generative and decision-support risks. A 2024 EMNLP study used GPT-3.5-Turbo and Llama 3-70B-Instruct to simulate hiring and salary recommendations with 320 first names signaling race and gender across 40 occupations and more than 750,000 prompts. The authors reported a preference for White female-sounding names in hiring recommendations in that experimental setup and subgroup salary recommendations that differed by as much as 5% despite identical qualifications. This does not establish hiring behavior across deployed systems, and name signals combine gender and race; it does show why controlled testing should vary one factor at a time and report the test design. Gender itself is not always binary, and a model may fail to represent nonbinary identities or add assumptions absent from the prompt. Evaluation should distinguish a stereotype benchmark, a translation error, and an actual employment decision. Results depend on model version, language, prompt, sampling and occupation mix. Removing all gender-associated information can also damage legitimate content such as identity-specific language. Fairness work therefore requires a specified use case and documented trade-offs rather than a claim that one debiasing method eliminates gender bias.

现实世界的实施

译者将一个关于医生的中性句子翻译成英语,并添加“他”,尽管消息来源没有具体说明性别。

简历撰写团队使用带有性别信号的名字来测试相同的资格,并检查其模型是否会改变工作推荐或薪资建议。

研究人员评估了刻板印象和反刻板印象占据句子的代词解析,而不是依赖一个总分。

内容团队询问文本生成器是否默认由男性担任领导角色,由女性担任护理角色,然后修改提示并审查结果。

语言模型中性别偏见的未来

随着模型架构和产品的变化,更多的研究正在测试多语言和跨性别关联。团队应在模型更新后重新运行代表性评估,并在任务和同意允许的情况下包括非二元身份。公共基准和配对提示会有所帮助,但现实世界的结果仍然需要单独监控。未来的评估应报告模型版本、研究人群和测量结果,以便可以对结果进行比较,而不会超出证据范围。独立审计还应该检查研究最多的英语数据集之外的交叉类别和语言。

付诸实践

为什么这很重要

  • 风险与安全. 灾难性和日常的人工智能危害都取决于谁了解风险以及谁能够采取行动。
  • 更清晰的判决. 公众和专业素养决定强有力的安全政策在政治上是否可行。
  • 打破炒作. 清晰的解释可以减少炒作、实验室公关和模糊道德剧场的影响。

留意

  • 将存在风险视为科幻小说,同时能力复合。
  • 混淆了表面产品安全与高度自治下的对准。
  • 只给非英语和非专业观众留下低质量的资源。

后续步骤

  1. 单独的产品危害、误用和失控/失调风险。
  2. 询问哪些证据会改变您对时间表和严重性的看法。
  3. 比起营销主张,更喜欢主要来源和具体评估。
  4. 确定一条行动路径:职业、政策、资金或技能——而不仅仅是意识。

不断探索

免费通讯

获取每日AI简报

每个工作日早晨提供三条经过验证的AI故事,使用简明英文撰写。永久免费,无广告。

每个工作日发送一封邮件。一键退订。我们永不出售或分享您的地址。

测试一下自己

参加语言模型中的性别偏见测验

每个答案即时反馈,课程通过后可获得可验证ID的可分享证书。

开始测验

支持免费AI教育。AI Understanding是一家501(c)(3)非营利组织——无广告,无付费墙,永不收费。 捐款

常见问题

什么是语言模型中的性别偏见?

语言模型可以重现训练文本中的性别关联,从词嵌入刻板印象到性别完成、翻译和就业建议。实验表明,结果因模型、提示、任务和所使用的人口统计线索而异;基准结果不应被视为每个模型或现实世界决策的证据。

2024 年 EMNLP 就业推荐研究的候选人提示有何不同?

该研究在模拟就业推荐中使用了 320 个名字,这些名字强烈表明了种族和性别以及候选人资格。

对于基于姓名的研究结果,读者应牢记哪些限制?

该研究在模拟任务中使用了表明种族和性别的名字;其结果并非对实际雇主的调查。

WinoBias 基准评估什么?

WinoBias 旨在使用刻板印象和反刻板印象的职业示例来测试共指中的性别偏见。

机器翻译如何引入性别假设?

关于机器翻译中性别偏见的研究检查了从性别中立的源文本翻译中添加的性别。

为什么从嵌入中删除所有性别关联会出现问题?

博卢克巴西等人。请注意,并非所有性别信息都是不需要的或可以与其他语义内容分开。