arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1907.02202cs.SEcs.CL
收藏

SEntiMoji:一种基于Jumeji的软件工程情感分析学习方法

SEntiMoji: An Emoji-Powered Learning Approach for Sentiment Analysis in Software Engineering

Peking University(北京大学);University of Michigan(密歇根大学)

Zhenpeng Chen, Yanbin Cao, Xuan Lu, Qiaozhu Mei, Xuanzhe Liu

摘要:

情感分析在软件工程(SE)中有各种应用场景,比如检测提交消息中开发人员的情绪,识别他们在问答论坛上的观点。然而,常用的开箱即用的情感分析工具不能获得可靠的结果,对技术术语的误解被证明是主要原因。然后,研究人员必须利用标记的SE相关文本,通过各种算法定制SE任务的情感分析。然而,稀缺的标记数据只能覆盖非常有限的表达式,因此不能保证分析质量。为了解决这个问题,我们求助于容易获得的表情符号使用数据。更具体地说,我们采用情绪表情符号作为情绪的嘈杂标签,并提出了一种表示学习方法,使用包含表情符号的推文和GitHub帖子来学习SE相关文本的情感感知表示。这些带有表情符号标签的帖子不仅可以提供技术术语,还可以包含跨领域共享的更一般的情感模式。它们以及标记数据用于学习最终的情感分类器。与现有的情感分析方法相比,该方法在典型的基准数据集上有显著的改进。通过进一步的对比实验,我们发现推文对我们的方法的力量做出了关键贡献。这一发现告诉未来的研究不要单方面追求特定领域的资源,而是试图通过无处不在的信号(如表情符号)从开放领域转化知识。

英文摘要:

Sentiment analysis has various application scenarios in software engineering (SE), such as detecting developers' emotions in commit messages and identifying their opinions on Q&A forums. However, commonly used out-of-the-box sentiment analysis tools cannot obtain reliable results on SE tasks and the misunderstanding of technical jargon is demonstrated to be the main reason. Then, researchers have to utilize labeled SE-related texts to customize sentiment analysis for SE tasks via a variety of algorithms. However, the scarce labeled data can cover only very limited expressions and thus cannot guarantee the analysis quality. To address such a problem, we turn to the easily available emoji usage data for help. More specifically, we employ emotional emojis as noisy labels of sentiments and propose a representation learning approach that uses both Tweets and GitHub posts containing emojis to learn sentiment-aware representations for SE-related texts. These emoji-labeled posts can not only supply the technical jargon, but also incorporate more general sentiment patterns shared across domains. They as well as labeled data are used to learn the final sentiment classifier. Compared to the existing sentiment analysis methods used in SE, the proposed approach can achieve significant improvement on representative benchmark datasets. By further contrast experiments, we find that the Tweets make a key contribution to the power of our approach. This finding informs future research not to unilaterally pursue the domain-specific resource, but try to transform knowledge from the open domain through ubiquitous signals such as emojis.

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

↑