从问题评论中自动识别性取向和性别身份歧视性文本
Automated Identification of Sexual Orientation and Gender Identity Discriminatory Texts from Issue Comments
AI总结:
本文提出SGID4SE监督学习工具,结合六种预处理、十种算法和六类少数类优化策略,自动识别FLOSS问题评论中的性取向与性别身份歧视文本,基于BERT的模型取得最佳效果。
摘要:
在一个由异性恋男性主导的行业中,许多代表其他性别身份和性取向的开发者经常遭遇仇恨或歧视性信息。此类沟通给女性和LGBTQ+人士的参与造成了障碍。由于数量庞大,对大规模自由开源软件(FLOSS)社区而言,人工检查所有沟通内容以发现歧视性沟通是不可行的。为应对这一挑战,本研究旨在开发一种自动化机制,从软件开发者的沟通内容中识别性取向和性别身份歧视性(SGID)文本。围绕这一目标,我们训练并评估了SGID4SE(面向软件工程文本的性取向和性别身份歧视性文本识别工具),将其作为一种基于监督学习的SGID检测工具。SGID4SE包含六个预处理步骤和十种最先进算法,并实现了六种不同策略以提升少数类的性能。我们对每种策略进行了实证评估,并为每种算法确定了最优配置。在基于十折交叉验证的评估中,一个基于BERT的模型取得了最佳性能,其在SGID类别上的精确率为85.9%、召回率为80.0%、F1分数为82.9%。该模型还达到了95.7%的准确率和80.4%的Matthews相关系数。我们的数据集和工具为该方向的进一步研究奠定了基础。
英文摘要:
In an industry dominated by straight men, many developers representing other gender identities and sexual orientations often encounter hateful or discriminatory messages. Such communications pose barriers to participation for women and LGBTQ+ persons. Due to sheer volume, manual inspection of all communications for discriminatory communication is infeasible for a large-scale Free Open-Source Software (FLOSS) community. To address this challenge, this study aims to develop an automated mechanism to identify Sexual orientation and Gender identity Discriminatory (SGID) texts from software developers' communications. On this goal, we trained and evaluated SGID4SE ( Sexual orientation and Gender Identity Discriminatory text identification for (4) Software Engineering texts) as a supervised learning-based SGID detection tool. SGID4SE incorporates six preprocessing steps and ten state-of-the-art algorithms. SGID4SE implements six different strategies to improve the performance of the minority class. We empirically evaluated each strategy and identified an optimum configuration for each algorithm. In our ten-fold cross-validation-based evaluations, a BERT-based model boosts the best performance with 85.9% precision, 80.0% recall, and 82.9% F1-Score for the SGID class. This model achieves 95.7% accuracy and 80.4% Matthews Correlation Coefficient. Our dataset and tool establish a foundation for further research in this direction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。