arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.09331cs.SE
收藏

基于软件工程交互的现代毒性检测器基准研究

A Benchmark Study of the Contemporary Toxicity Detectors on Software Engineering Interactions

Jaydeb Sarker, Asif Kamal Turzo, Amiangshu Bosu

摘要:

自动过滤有害对话可以帮助开源软件(OSS)社区保持项目参与者之间的健康互动。尽管存在几种通用工具来识别有毒内容,但这些工具可能会错误地将软件工程(SE)上下文中常用的一些单词标记为有毒(例如,“垃圾”、“垃圾”和“转储”),反之亦然。为了应对这一挑战,CMU Strudel实验室(以下简称为“Strudel”)提出了一种SE专用工具,将Perspective API的输出与斯坦福礼貌检测器工具的定制版本的输出相结合。然而,由于ESTDEL的评估非常有限,只有654个SE文本,因此其实际适用性尚不清楚。因此,本研究旨在对Strudel工具以及四种最先进的通用毒性检测器在大规模SE数据集上进行经验评估。在这个目标上,我们凭经验开发了一个标题手动标记有毒SE相互作用。使用这个标题,我们手动标记了一个包含6,533条代码评审评论和4,140条Gitter消息的数据集。我们的分析结果表明,我们的数据集上的所有工具的性能显着下降。这些退化在我们的正式SE通信数据集(如代码审查)上明显高于我们的非正式通信数据集(如Gitter消息)。我们研究中的两个模型在我们对SE数据集进行重新训练后,在10倍交叉验证期间显示出显着的性能改善。根据我们对错误分类文本的手动调查,我们确定了开发SE特定毒性检测器的几条建议。

英文摘要:

Automated filtering of toxic conversations may help an Open-source software (OSS) community to maintain healthy interactions among the project participants. Although, several general purpose tools exist to identify toxic contents, those may incorrectly flag some words commonly used in the Software Engineering (SE) context as toxic (e.g., 'junk', 'kill', and 'dump') and vice versa. To encounter this challenge, an SE specific tool has been proposed by the CMU Strudel Lab (referred as the `STRUDEL' hereinafter) by combining the output of the Perspective API with the output from a customized version of the Stanford's Politeness detector tool. However, since STRUDEL's evaluation was very limited with only 654 SE text, its practical applicability is unclear. Therefore, this study aims to empirically evaluate the Strudel tool as well as four state-of-the-art general purpose toxicity detectors on a large scale SE dataset. On this goal, we empirically developed a rubric to manually label toxic SE interactions. Using this rubric, we manually labeled a dataset of 6,533 code review comments and 4,140 Gitter messages. The results of our analyses suggest significant degradation of all tools' performances on our datasets. Those degradations were significantly higher on our dataset of formal SE communication such as code review than on our dataset of informal communication such as Gitter messages. Two of the models from our study showed significant performance improvements during 10-fold cross validations after we retrained those on our SE datasets. Based on our manual investigations of the incorrectly classified text, we have identified several recommendations for developing an SE specific toxicity detector.

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

↑