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

多轮LLM对话中NFR评估的准确性与满意度

Accuracy and Satisfaction in Multi-Turn LLM Dialogues for NFR Assessment

University of Maine(缅因大学);University of Notre Dame(圣母大学)

Ali Pourghasemi Fatideh, Wilder Baldwin, Maria Dhakal, Collin McMillan, Sepideh Ghanavati

AI总结:

研究开发者在与LLM对话助手评估非功能需求(NFR)时的准确性和满意度,发现开发者倾向于同意LLM评估但准确性低,且长回复和过多信息提供轮次降低满意度,而主动交互提升满意度。

摘要:

基于LLM的对话助手已成为软件开发人员的主流工具,但当前评估基准仅关注功能正确性。这导致在处理非功能需求(NFR)时,评估这些对话的质量和准确性存在关键空白,因为NFR本质上是模糊的、依赖于上下文的,并涉及程序的许多部分。评估这些系统在NFR协作推理方面的支持程度,需要超越单轮准确性的方法,以捕捉系统输出的正确性和多轮交互的质量。在本文中,我们研究了开发人员与基于LLM的代理在健康保险流通与责任法案(HIPAA)法规合规领域中的多轮对话的准确性和质量。我们雇佣了49名程序员与GitHub Copilot交互,以评估148个HIPAA衍生的NFR,针对iTrust代码库(一个旨在符合HIPAA法规的系统),从三个维度进行:需求满足程度、推理和代码定位。我们发现开发者倾向于同意LLM的评估,但相对于专家真实情况,准确性较低。我们对用户满意度进行建模,发现较长的系统回复和更多提供信息的轮次对用户满意度产生负面影响,而主动交互则产生积极影响。我们的发现为设计支持NFR评估的基于LLM的对话系统提供了见解。

英文摘要:

LLM-based dialogue assistants have become mainstream tools for software developers, yet current evaluation benchmarks focus exclusively on functional correctness. This leaves a critical gap in assessing the quality and accuracy of these conversations when handling Non-Functional Requirements (NFRs), which are inherently vague, context-dependent, and involve many parts of a program. Evaluating how well these systems support collaborative reasoning about NFRs requires methods that go beyond single-turn accuracy to capture both the correctness of the system's outputs and the quality of the multi-turn interaction. In this paper, we investigate the accuracy and quality of multi-turn conversations between developers and an LLM-based agent in the domain of Health Insurance Portability and Accountability Act (HIPAA) regulatory compliance. We hired 49 programmers to interact with GitHub Copilot to assess 148 HIPAA-derived NFRs against the iTrust codebase, a system designed to comply with HIPAA regulations, across three dimensions: requirement satisfaction level, reasoning, and code localization. We find that developers tend to agree with LLM assessments, but accuracy against expert ground truth is low. We model user satisfaction and find that longer system responses and more information-providing turns negatively affect user satisfaction, whereas proactive interactions positively affect it. Our findings provide insights for designing LLM-based dialogue systems that support NFR assessment.

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

↑