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

跨平台环境下面向软件工程的深度学习情感检测工具的实证研究

An Empirical Study of Deep Learning Sentiment Detection Tools for Software Engineering in Cross-Platform Settings

Gias Uddin, Md Abdullah Al Alamin, Ajoy Das

摘要:

软件工程(SE)中的情感检测已经显示出支持各种开发活动的前景。然而,鉴于SE平台的多样性,SE特定的情感检测工具在跨平台设置中的性能可能会受到影响。最近,发现基于深度学习(DL)的特定于SE的情感检测工具比基于浅机器学习(ML)/基于规则的工具提供更好的性能。然而,目前还不知道DL工具在跨平台设置中的性能如何。在本文中,我们研究了在跨平台设置中,特定于SE的DL情感检测器是否比基于ML/基于规则的浅情感检测器更有效。在三个数据集中,我们研究了三种DL工具(SentiMoji,BERT 4SentiSE,RNN 4SentiSE),并将其与三种基线进行比较:两种浅层学习工具(Senti 4SD,SentiCR)和一种基于规则的工具(SentistrengthSE)。我们发现(1)SE的深度学习SD工具BERT 4SentiSE在大多数情况下在跨平台设置中优于其他监督工具,但在大多数情况下,该工具优于基于规则的工具SentistrengthSE。(2)BERT 4SentiSE在三个数据集的平台内设置中大幅优于SentistrengthSE,并且在六个跨平台设置中的四个中仅略优于SentiStrengthSE。这一发现为在跨平台设置中进一步改进预训练的Transformer模型(如BERT 4SentiSE)提供了希望。(3)两个表现最好的深度学习工具(BERT 4SentiSE和SentiMoji)在三个数据集上表现出不同程度的性能下降。我们发现,这种不一致性主要是由于“注释的主观性”和性能的提高,在跨平台设置的研究监督工具可能需要固定的数据集。

英文摘要:

Sentiment detection in software engineering (SE) has shown promise to support diverse development activities. However, given the diversity of SE platforms, SE-specific sentiment detection tools may suffer in performance in cross-platform settings. Recently deep learning (DL)-based SE-specific sentiment detection tools are found to offer superior performance than shallow machine learning (ML) based/rule-based tools. However, it is not known how the DL tools perform in cross-platform settings. In this paper, we study whether SE-specific DL sentiment detectors are more effective than shallow ML-based/rule-based sentiment detectors in cross-platform settings. In three datasets, we study three DL tools (SEntiMoji, BERT4SEntiSE, RNN4SentiSE) and compare those against three baselines: two shallow learning tools (Senti4SD, SentiCR) and one rule-based tool (SentistrengthSE). We find that (1) The deep learning SD tools for SE, BERT4SentiSE outperform other supervised tools in cross-platform settings in most cases, but then the tool is outperformed by the rule-based tool SentistrengthSE in most cases. (2) BERT4SentiSE outperforms SentistrengthSE by large margin in within-platform settings across the three datasets and is only narrowly outperformed by SentiStrengthSE in four out of the six cross-platform settings. This finding offers hope for the feasibility to further improve a pre-trained transformer model like BERT4SentiSE in cross-platform settings. (3) The two best-performing deep learning tools (BERT4SentiSE and SentiMoji) show varying level performance drop across the three datasets. We find that this inconsistency is mainly due to the "subjectivity in annotation" and performance improvement for the studied supervised tools in cross-platform settings may require the fixing of the datasets.

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

↑