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

用户评论作为可用性需求的来源:利用大语言模型的前期研究

User Reviews as a Source for Usability Requirements: A Precursor Study on Using Large Language Models

Leibniz University Hannover(汉诺威莱布尼茨大学)

Cedric Wellhausen, Laura Reinhardt, Kurt Schneider

AI总结:

本文探讨利用大语言模型处理用户评论以提取可用性需求的可能性,提出了一套编码数据集和提示工程方法,并验证了LLM在识别可用性需求方面的表现。

摘要:

已知以用户为中心的需求工程方法能产生更符合终用户的产品。LLM4RE提供了支持需求获取过程的有前途的方法(例如需求分类)。先前的方法集中在机器学习(ML)或深度学习(DL)方面,需要大量手动标注数据进行训练。LLM则是在大量用户生成文本数据上预训练,能够实现以用户为中心的工作流程来分析需求。本文探讨了利用LLM改进的自然语言理解能力,而非严格ML分类,结合大规模提取用户评论,分析LLM在理解用户评论方面的表现是否与人类评分者相当。这为开发团队提供了一种快速且经济的流程来收集和处理用户需求。本文的三大贡献是:(1)提供了一个包含300条用户评论的完全编码数据集,这些评论来自三种不同类型的app,由两名人类评分者和一个LLM标注。(2)基于两次提示工程迭代和从10个尼尔森可用性启发法中衍生出的编码指南,构建了一个初始提示,用于LLM过滤与可用性相关的用户评论。(3)确定LLM在将可用性作为非功能需求识别时,其F分数表现良好,但性能和可靠性高度依赖于提示。

英文摘要:

It is known that user-centered approaches to requirements engineering in general lead to a better suited product for the end-users. LLM4RE provides promising approaches to support the requirements elicitation process (e.g. classification of requirements). Previous approaches focus on Machine-Learning (ML) or Deep-Learning (DL) aspects, which require intensive training with a large amount of manually labeled data. LLMs, on the other hand, are pre-trained on large amounts of user-generated text data, enabling a user-centric workflow to analyze requirements. In this paper, we explore the possibility of exploiting the improved natural language understanding of LLMs, rather than strict ML classification, together with the mass extraction of user reviews to analyze if the performance of LLMs in understanding user reviews is comparable to the performance of human raters. This enables a quick and cheap workflow for development teams to gather and process their userś requirements. This paper provides three major contributions: (1) We provide a completely coded dataset of 300 user reviews containing usability-relevant aspects from three different types of apps, that were labeled by two human raters and by an LLM. (2) We build an initial prompt, based on two prompt engineering iterations and specifically developed coding guidelines derived from the 10 Nielsen Usability Heuristics, for LLMs to filter usability relevant user reviews. (3) We determine that LLMs are generally able to recognize usability as a non-functional requirement in user reviews, in terms of their F-score, but the performance and reliability is strongly dependent on the prompt.

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

↑