T-FREX:一种基于Transformer的移动应用评论特征提取方法
T-FREX: A Transformer-based Feature Extraction Method from Mobile App Reviews
AI总结:
本文提出基于Transformer的全自动移动应用评论特征提取方法T-FREX,通过众包平台构建真实特征数据集并微调多个大语言模型,实验表明其平均优于传统句法方法,尤其在已微调领域发现新特征时表现更佳。
摘要:
移动应用评论是用于软件相关知识生成活动的大规模数据源,这些活动包括软件维护、演化和反馈分析。从这些评论中有效提取特征(即功能或特性)是支持分析这些特征的接受度、识别相关的新功能请求以及确定功能开发优先级等任务的关键。传统方法侧重于基于句法模式的方法,通常与上下文无关,在封闭的应用集合上进行评估,难以复现,并且局限于数量有限的应用集合和应用领域。与此同时,基于Transformer架构的大语言模型(LLMs)在软件工程任务中的普及,为对这些模型支持特征提取的性能进行实证评估奠定了基础。在本研究中,我们提出了T-FREX,一种基于Transformer的全自动移动应用评论特征提取方法。首先,我们从一个真实的众包软件推荐平台收集用户给出的真实特征集合,并将其自动转换为应用评论数据集。然后,我们使用这个新创建的数据集,在不同的数据配置下,对多个大语言模型在命名实体识别任务上进行微调。我们根据该真实特征集合评估T-FREX的性能,并通过将T-FREX与该领域的一种基线方法进行比较来补充我们的分析。最后,我们通过外部人工评估来评估T-FREX预测的新特征的质量。结果表明,T-FREX平均优于传统的基于句法的方法,尤其是在从模型已微调的领域中发现新特征时。
英文摘要:
Mobile app reviews are a large-scale data source for software-related knowledge generation activities, including software maintenance, evolution and feedback analysis. Effective extraction of features (i.e., functionalities or characteristics) from these reviews is key to support analysis on the acceptance of these features, identification of relevant new feature requests and prioritization of feature development, among others. Traditional methods focus on syntactic pattern-based approaches, typically context-agnostic, evaluated on a closed set of apps, difficult to replicate and limited to a reduced set and domain of apps. Meanwhile, the pervasiveness of Large Language Models (LLMs) based on the Transformer architecture in software engineering tasks lays the groundwork for empirical evaluation of the performance of these models to support feature extraction. In this study, we present T-FREX, a Transformer-based, fully automatic approach for mobile app review feature extraction. First, we collect a set of ground truth features from users in a real crowdsourced software recommendation platform and transfer them automatically into a dataset of app reviews. Then, we use this newly created dataset to fine-tune multiple LLMs on a named entity recognition task under different data configurations. We assess the performance of T-FREX with respect to this ground truth, and we complement our analysis by comparing T-FREX with a baseline method from the field. Finally, we assess the quality of new features predicted by T-FREX through an external human evaluation. Results show that T-FREX outperforms on average the traditional syntactic-based method, especially when discovering new features from a domain for which the model has been fine-tuned.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。