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

从评论到需求:大语言模型能否生成类人用户故事?

From Reviews to Requirements: Can LLMs Generate Human-Like User Stories?

Islamic University of Technology (IUT)(伊斯兰理工大学)

Shadman Sakib, Oishy Fatema Akhand, Tasnia Tasneem, Shohel Ahmed

AI总结:

研究评估大语言模型生成用户故事的能力,发现其在流畅性和格式上表现优异,但难以生成独立独特的用户故事,对敏捷项目 backlog 有帮助。

摘要:

应用商店评论提供了持续的真实用户反馈,有助于改进软件需求。然而,这些评论往往杂乱、非正式,难以手动分析。尽管有自动化技术,但许多方法在复制时表现不佳,无法生成干净的用户故事。本研究评估了GPT-3.5 Turbo、Gemini 2.0 Flash和Mistral 7B Instruct等大语言模型能否直接从原始应用评论生成可用的用户故事。使用包含1000多条健康应用评论的Mini-BAR数据集,测试了零次、一次和二次提示方法。通过人类判断(RUST框架)和RoBERTa分类器(在UStAI上微调)评估生成的用户故事质量。结果显示,LLMs在流畅性和格式上可匹配甚至优于人类,尤其在使用少样本提示时。然而,它们仍难以生成独立且独特的用户故事,这对构建强大的敏捷回溯至关重要。总体而言,我们的发现展示了如何可靠地将无结构的应用评论转化为可操作的软件需求,为开发者提供清晰的指导,将用户反馈转化为有意义的改进。

英文摘要:

App store reviews provide a constant flow of real user feedback that can help improve software requirements. However, these reviews are often messy, informal, and difficult to analyze manually at scale. Although automated techniques exist, many do not perform well when replicated and often fail to produce clean, backlog-ready user stories for agile projects. In this study, we evaluate how well large language models (LLMs) such as GPT-3.5 Turbo, Gemini 2.0 Flash, and Mistral 7B Instruct can generate usable user stories directly from raw app reviews. Using the Mini-BAR dataset of 1,000+ health app reviews, we tested zero-shot, one-shot, and two-shot prompting methods. We evaluated the generated user stories using both human judgment (via the RUST framework) and a RoBERTa classifier fine-tuned on UStAI to assess their overall quality. Our results show that LLMs can match or even outperform humans in writing fluent, well-formatted user stories, especially when few-shot prompts are used. However, they still struggle to produce independent and unique user stories, which are essential for building a strong agile backlog. Overall, our findings show how LLMs can reliably turn unstructured app reviews into actionable software requirements, providing developers with clear guidance to turn user feedback into meaningful improvements.

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

↑