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

迈向软件工程中可信的情感分析:数据集特征与工具选择

Towards Trustworthy Sentiment Analysis in Software Engineering: Dataset Characteristics and Tool Selection

Martin Obaidi, Marc Herrmann, Jil Klünder, Kurt Schneider

AI总结:

本研究分析多平台开发者数据集特征,评估14种情感分析工具,提出基于特征的映射方法以推荐合适工具,提升软件工程中情感分析的可信度。

摘要:

软件开发高度依赖基于文本的沟通,这使得情感分析成为理解团队动态和支持需求工程中可信的AI驱动分析的有价值工具。然而,由于沟通风格和内容的差异,现有的情感分析工具在不同平台的数据集上往往表现不一致。在本研究中,我们分析了来自五个平台的10个开发者沟通数据集的语言和统计特征,并评估了14个情感分析工具的性能。基于这些结果,我们提出了一种映射方法和问卷,以数据集的特征作为输入,为新数据集推荐合适的情感分析工具。我们的结果表明,数据集特征可用于改进工具选择,因为不同平台在语言和统计属性上存在显著差异。虽然基于Transformer的模型(如SetFit和RoBERTa)始终取得强劲结果,但工具的有效性仍依赖于具体情境。我们的方法支持研究人员和实践者在软件工程中选择可信的情感分析工具,同时强调随着沟通情境的演变,持续评估的必要性。

英文摘要:

Software development relies heavily on text-based communication, making sentiment analysis a valuable tool for understanding team dynamics and supporting trustworthy AI-driven analytics in requirements engineering. However, existing sentiment analysis tools often perform inconsistently across datasets from different platforms, due to variations in communication style and content. In this study, we analyze linguistic and statistical features of 10 developer communication datasets from five platforms and evaluate the performance of 14 sentiment analysis tools. Based on these results, we propose a mapping approach and questionnaire that recommends suitable sentiment analysis tools for new datasets, using their characteristic features as input. Our results show that dataset characteristics can be leveraged to improve tool selection, as platforms differ substantially in both linguistic and statistical properties. While transformer-based models such as SetFit and RoBERTa consistently achieve strong results, tool effectiveness remains context-dependent. Our approach supports researchers and practitioners in selecting trustworthy tools for sentiment analysis in software engineering, while highlighting the need for ongoing evaluation as communication contexts evolve.

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

↑