Sentiment analysis in software engineering focuses on understanding emotions expressed in software artifacts. Previous research highlighted the limitations of applying general off-the-shelf sentiment analysis tools within the software engineering domain and indicated the need for specialized tools tailored to various software engineering contexts. The development of such tools heavily relies on supervised machine learning techniques that necessitate annotated datasets. Acquiring such datasets is a substantial challenge, as it requires domain-specific expertise and significant effort. Objective: This study explores the potential of ZSL to address the scarcity of annotated datasets in sentiment analysis within software engineering Method:} We conducted an empirical experiment to evaluate the performance of various ZSL techniques, including embedding-based, NLI-based, TARS-based, and generative-based ZSL techniques. We assessed the performance of these techniques under different labels setups to examine the impact of label configurations. Additionally, we compared the results of the ZSL techniques with state-of-the-art fine-tuned transformer-based models. Finally, we performed an error analysis to identify the primary causes of misclassifications. Results: Our findings demonstrate that ZSL techniques, particularly those combining expert-curated labels with embedding-based or generative-based models, can achieve macro-F1 scores comparable to fine-tuned transformer-based models. The error analysis revealed that subjectivity in annotation and polar facts are the main contributors to ZSL misclassifications. Conclusion: This study demonstrates the potential of ZSL for sentiment analysis in software engineering. ZSL can provide a solution to the challenge of annotated dataset scarcity by reducing reliance on annotated dataset.
HausaMovieReview: A Benchmark Dataset for Sentiment Analysis in Low-Resource African Language
Federal University Dutsin-Ma(杜钦马联邦大学);Aliko Dangote University of Science and Technology(阿利科·丹格特科技大学);Northwest University(西北大学);Bayero University Kano(卡诺巴耶罗大学)
SECite: Analyzing and Summarizing Citations in Software Engineering Literature
Dept. of Computer Science SUNY Polytechnic Institute(计算机科学系圣尼古拉学院);Dept. of Information Systems University of Maryland Baltimore County(信息系统系马里兰大学巴尔的摩县)
Evaluating Pre-Trained Models for User Feedback Analysis in Software Engineering: A Study on Classification of App-Reviews
University of British Columbia(不列颠哥伦比亚大学)
内容:用户在应用商店或社交媒体上撰写的移动应用评论是应用开发人员的重要资源。分析应用评论已被证明对软件工程的许多领域都很有用(例如,需求工程、测试)。应用评论的自动分类需要大量的工作来手动管理标记的数据集。当分类目的发生变化时(例如,识别错误与可用性问题或情感),新的数据集应该被标记,这会阻止开发的模型在实践中用于新的期望类/任务的可扩展性。最近的预训练神经语言模型(PTM)以无监督的方式在大型语料库上进行训练,并成功解决了类似的自然语言处理问题。然而,PTM的适用性没有探索应用程序审查分类目标:我们调查的好处PTM应用程序审查分类相比,现有的模型,以及PTM在多个设置的可转移性。方法:我们实证研究的准确性和时间效率的PTM相比,以前的方法,使用六个数据集从文献中。此外,我们还研究了在应用程序评论上训练的PTM(即特定于域的PTM)的性能。我们建立了不同的研究来评估多个设置中的PTM:二元与多类分类,zero-shot分类(当新标签引入模型时),多任务设置,以及来自不同资源的评论分类。这些数据集是来自Google Play Store、Apple App Store和Twitter数据的手动标记的应用程序评论数据集。在所有情况下,将使用微观和宏观精度,召回率和F1分数,我们将报告模型训练和预测所需的时间。