驯服在线软件工程语言:检测并减少软件社区中的冒犯性语言
Taming the Online Software Engineering Tongue: Detecting and Reducing Offensive Language in Software Communities
AI总结:
本研究针对Stack Overflow等在线软件工程社区的冒犯性语言问题,开发了基于BERT的OLRSSE系统,可检测分类冒犯性评论并提供替代建议,经用户研究验证其有效易用。
摘要:
在线软件工程(SE)社区如Stack Overflow已变得不友好且充满敌意,粗鲁和冒犯性评论的存在对参与者的情绪健康有害。本研究的主要目标是调查在线SE社区中冒犯性语言的普遍性和性质,并开发方法对其进行分类,最终目标是通过提出冒犯性语言减少系统(OLRSSE)来减少冒犯性语言,该系统能够检测、分类评论并向发布者解释评论为何具有冒犯性,同时提出非冒犯性的替代建议。我们使用四个知名SE平台(Stack Overflow、GitHub、Gitter和Slack)上讨论中的130,000条用户评论数据,开发了六组共十二种(总计72种)不同的机器学习模型(包括传统模型和深度学习模型)。系统中表现最佳模型的F1分数范围为0.56至0.94,平均F1分数为0.85,主要使用BERT作为各种分类任务的基础模型。此外,我们开发了两种基于语言的模型,用于将冒犯性评论改写为非冒犯性评论。我们通过有30名参与者的用户研究评估了OLRS-SE的整体实用性,结果表明该系统易于使用且能有效减少冒犯性语言。研究不同大型语言模型在冒犯性语言减少方面的能力是未来研究的一个有前景的方向。
英文摘要:
Online Software Engineering (SE) communities such as Stack Overflow have become unwelcoming and hostile spaces, as evidenced by the presence of rude and offensive comments that are detrimental to the emotional wellbeing of participants. The main objective of this work is to investigate the prevalence and nature of offensive language in online SE communities, and develop approaches to classify them with the ultimate goal of reducing offensive language by proposing an Offensive Language Reduction System (OLRSSE) that has the ability to detect, classify, and explain to the poster why a comment is offensive and also propose non-offensive alternative suggestions. Using data from 130,000 user comments on discussions held in four prominent SE platforms: Stack Overflow, GitHub, Gitter and Slack, we developed six sets of twelve (72 in total) different machine learning models (both traditional and deep learning). The F1-Score of the best performing models in the system ranges from 0.56 to 0.94, with an average F1-Score of 0.85, predominantly using BERT as the primary model for various classification tasks. Also, two language-based models were developed for paraphrasing offensive to non-offensive comments. The overall utility of the OLRS-SE was evaluated using user studies with 30 participants, which showed that the developed system is easy to use and also effective in reducing offensive language. Investigating the capabilities of different large language models for offensive language reduction is a promising avenue for future research.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。