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

她引出需求和他测试:大语言模型中的软件工程性别偏见

She Elicits Requirements and He Tests: Software Engineering Gender Bias in Large Language Models

The University of Melbourne(墨尔本大学);Shinshu University(信州大学)

Christoph Treude, Hideaki Hata

摘要:

软件开发中的隐性性别偏见是一个有据可查的问题,例如技术角色与男性的关联。为了解决这种偏见,重要的是要更详细地了解它。这项研究使用数据采掘技术来调查与软件开发相关的56项任务(如分配GitHub问题和测试)受到嵌入在大语言模型中的隐性性别偏见影响的程度。我们系统地将每个任务从英语翻译成一种无性别的语言,并调查了与每个任务相关的代词。基于翻译每个任务100倍,在不同的排列,我们发现一个显着的差异,性别代词协会与不同的任务。具体来说,需求获取与代词“他”相关联的情况只有6%,而测试与“他”相关联的情况是100%。此外,与帮助他人有关的任务与“他”有91%的关联,而与询问同事有关的任务只有52%。这些研究结果揭示了一个明确的模式,性别偏见有关的软件开发任务,并解决这个问题,无论是在训练大语言模型,并在更广泛的社会具有重要意义。

英文摘要:

Implicit gender bias in software development is a well-documented issue, such as the association of technical roles with men. To address this bias, it is important to understand it in more detail. This study uses data mining techniques to investigate the extent to which 56 tasks related to software development, such as assigning GitHub issues and testing, are affected by implicit gender bias embedded in large language models. We systematically translated each task from English into a genderless language and back, and investigated the pronouns associated with each task. Based on translating each task 100 times in different permutations, we identify a significant disparity in the gendered pronoun associations with different tasks. Specifically, requirements elicitation was associated with the pronoun "he" in only 6% of cases, while testing was associated with "he" in 100% of cases. Additionally, tasks related to helping others had a 91% association with "he" while the same association for tasks related to asking coworkers was only 52%. These findings reveal a clear pattern of gender bias related to software development tasks and have important implications for addressing this issue both in the training of large language models and in broader society.

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

↑