arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.08622cs.CLcs.SE
收藏

启发式访谈与需求之间的自动对齐

Automated Alignment between Elicitation Interviews and Requirements

University of Bologna(博洛尼亚大学)

Francesco Dente, Fabiano Dalpiaz, Paolo Papotti

AI总结:

提出将访谈转录与用户故事需求自动对齐的任务,定义忠实度和覆盖率两个度量,利用大语言模型和嵌入模型实现自动评估,在四个数据集上达到0.86 macro-F1。

摘要:

软件需求来源于多种启发式技术,其中许多具有对话性质,如访谈。然而,评估这些衍生需求是否忠实反映利益相关者的需求仍然是一项具有挑战性的手工任务。在本文中,我们形式化了将访谈转录与以用户故事表示的需求集合对齐的任务。我们提出了两种启发式对齐度量,称为(i)需求忠实度:转录支持的故事比例,以及(ii)访谈覆盖率:至少被一个故事支持的转录比例。然后,我们使用大语言模型和嵌入模型进行实验,评估自动计算这些度量的能力。在四个数据集上的实验表明,基于LLM的解决方案在手动标注的块-故事对上达到了0.86的宏F1分数。我们还展示了如何将嵌入模型用作阻断器,使方法更具可扩展性。这项工作为更多关于连接对话制品与需求的研究铺平了道路。形式化框架和自动匹配技术是基本组件,可用于新兴任务,如将需求追溯到访谈以及从对话生成需求。

英文摘要:

Software requirements are derived from a variety of elicitation techniques, many of which have a conversational nature, like interviews. However, evaluating whether those derived requirements faithfully reflect the stakeholders' needs remains a challenging manual task. In this paper, we formalize the task of aligning the transcript of an interview with a collection of requirements represented as user stories. We propose two heuristic metrics for alignment, called (i) requirements faithfulness: the proportion of stories supported by the transcript, and (ii) interview coverage: the proportion of transcript supported by at least one story. Then, we run experiments with large language models and embedding models that assess the ability of evaluating these metrics automatically. Experiments over four datasets show that an LLM-based solution achieves 0.86 macro-F1 on manually labeled chunk-story pairs. We also show how embedding models can be used as blockers to make the approach more scalable. This work paves the way for more research on linking conversational artifacts with requirements. The formal framework and the automated matching techniques are basic components that can be used for emerging tasks such as tracing requirements to interviews and generating requirements from conversations.

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

↑