分析大模型在职业语境中指代性别偏见,发现提示方式比模型本身影响更大。
Evaluating Gender Bias in Large Language Models
- 用三种句法处理方式测试大模型指代选择
- 女性职业多用女性代词,男性职业多用男性代词
- 提示方法对偏见影响大于模型选型,适合伦理与安全研究者
人工智能中的性别偏见已成为通信类应用中的一大问题。本研究考察大型语言模型(LLMs)在职业语境中代词选择的性别偏见程度。分析了GPT-4、GPT-4o、PaLM 2 Text Bison和Gemini 1.0 Pro四个模型,使用自建数据集,涵盖男性主导、女性主导及性别均衡的职业。采用三种句子处理方法:掩码词、未掩码句、句子补全。此外,还分析模型生成的职业相关人名的性别分布。结果显示,模型代词选择与美国劳动力数据中的性别分布呈正相关:女性职业更常关联女性代词,男性职业更常关联男性代词。句子补全任务相关性最强,而名称生成虽呈现更平衡的‘政治正确’分布,但在单性别主导职业中仍存在显著差异。总体而言,提示方式对性别映射的影响大于模型选择,凸显提示工程在缓解偏见中的关键作用。
原文摘要 · Abstract (English)
Gender bias in artificial intelligence has become an important issue, particularly in the context of language models used in communication-oriented applications. This study examines the extent to which Large Language Models (LLMs) exhibit gender bias in pronoun selection in occupational contexts. The analysis evaluates the models GPT-4, GPT-4o, PaLM 2 Text Bison and Gemini 1.0 Pro using a self-generated dataset. The jobs considered include a range of occupations, from those with a significant male presence to those with a notable female concentration, as well as jobs with a relatively equal gender distribution. Three different sentence processing methods were used to assess potential gender bias: masked tokens, unmasked sentences, and sentence completion. In addition, the LLMs suggested names of individuals in specific occupations, which were then examined for gender distribution. The results show a positive correlation between the models' pronoun choices and the gender distribution present in U.S. labor force data. Female pronouns were more often associated with female-dominated occupations, while male pronouns were more often associated with male-dominated occupations. Sentence completion showed the strongest correlation with actual gender distribution, while name generation resulted in a more balanced 'politically correct' gender distribution, albeit with notable variations in predominantly male or female occupations. Overall, the prompting method had a greater impact on gender distribution than the model selection itself, highlighting the complexity of addressing gender bias in LLMs. The findings highlight the importance of prompting in gender mapping.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。