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

从在线用户反馈到需求:评估大型语言模型在分类与规约生成任务中的表现

From Online User Feedback to Requirements: Evaluating Large Language Models for Classification and Specification Tasks

Lero, the Research Ireland Centre for Software, University of Limerick(利默里克大学软件研究爱尔兰研究中心 Lero);University College Dublin (UCD)(都柏林大学学院);University of Padova(帕多瓦大学)

Manjeshwar Aniruddh Mallya, Alessio Ferrari, Mohammad Amin Zadenoori, Jacek Dąbrowski

AI总结:

本研究评估五个轻量级开源大语言模型在用户请求分类、NFR分类和需求规约生成三个需求工程任务上的性能,发现其分类F1约0.47-0.68、规约质量约3/5,并提供了可复现包与能力洞察。

摘要:

[背景与动机] 在线用户反馈为需求工程(RE)提供了有价值的信息。然而,由于反馈数量庞大且包含噪声,分析在线用户反馈具有挑战性。大型语言模型(LLMs)展现出自动化这一过程的强大潜力,并优于以往的技术。它们还能支持新任务,例如生成需求规约。\n [问题-挑战] 尽管具有潜力,但利用LLMs分析用户反馈以支持需求工程的研究仍不充分。现有研究提供的经验证据有限,缺乏全面评估,且很少提供可复现的软件包,这削弱了有效性和可复现性。\n [主要思想-结果] 我们在三个需求工程任务上评估了五个轻量级开源LLMs:用户请求分类、非功能需求(NFR)分类和需求规约生成。分类性能在两个反馈数据集上进行了测量,规约质量通过人工评估。LLMs实现了中等到较高的分类准确率(F1分数约为0.47-0.68)和中等到较高的规约质量(平均约3/5分)。\n [贡献] 我们新探索了轻量级LLMs在反馈驱动的需求开发中的应用。我们的贡献包括:(i)对三个需求工程任务上轻量级LLMs的经验评估,(ii)一个可复现的软件包,以及(iii)对其在需求工程中能力与局限性的洞察。

英文摘要:

[Context and Motivation] Online user feedback provides valuable information to support requirements engineering (RE). However, analyzing online user feedback is challenging due to its large volume and noise. Large language models (LLMs) show strong potential to automate this process and outperform previous techniques. They can also enable new tasks, such as generating requirements specifications. [Question-Problem] Despite their potential, the use of LLMs to analyze user feedback for RE remains underexplored. Existing studies offer limited empirical evidence, lack thorough evaluation, and rarely provide replication packages, undermining validity and reproducibility. [Principal Idea-Results] We evaluate five lightweight open-source LLMs on three RE tasks: user request classification, NFR classification, and requirements specification generation. Classification performance was measured on two feedback datasets, and specification quality via human evaluation. LLMs achieved moderate-to-high classification accuracy (F1 ~ 0.47-0.68) and moderately high specification quality (mean ~ 3/5). [Contributions] We newly explore lightweight LLMs for feedback-driven requirements development. Our contributions are: (i) an empirical evaluation of lightweight LLMs on three RE tasks, (ii) a replication package, and (iii) insights into their capabilities and limitations for RE.

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

↑