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

提问还是假设?编码代理中的不确定性意识澄清寻求

Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agents

Faculty of Computer Science, University of Vienna(维也纳大学计算机科学系);UniVie Doctoral School Computer Science, University of Vienna(维也纳大学计算机科学博士学院)

Nicholas Edwards, Sebastian Schuster

AI总结:

本研究评估了LLM代理在未指定任务中的澄清能力,提出了一种不确定性意识的多代理框架,提高了任务解决率,并展示了多代理系统在复杂任务中主动寻求信息的行为。

摘要:

随着大型语言模型(LLM)代理在开放领域如软件工程中的广泛应用,它们经常遇到缺乏关键上下文的未指定指令。尽管人类开发者通过提问来解决模糊性,当前的代理大多优化于自主执行。在本工作中,我们系统地评估了LLM代理在未指定的SWE-bench Verified变体上的澄清能力。我们提出了一种不确定性意识的多代理框架,将未指定检测与代码执行解耦。在专有和开源前沿LLM上,我们的框架实现了69.40%的任务解决率,显著优于标准单代理设置,并缩小了与完全指定指令代理的性能差距。此外,我们发现多代理系统表现出良好的信息寻求行为,在简单任务上保守地提出查询,而在更复杂的问题上主动寻求信息。这些发现表明,当前模型可以转变为积极的合作者,其中代理能够独立识别何时提问以获取缺失信息。

英文摘要:

As Large Language Model (LLM) agents are increasingly deployed in open-ended domains like software engineering, they frequently encounter underspecified instructions that lack crucial context. While human developers naturally resolve underspecification by asking clarifying questions, current agents are largely optimized for autonomous execution. In this work, we systematically evaluate the clarification-seeking abilities of LLM agents on an underspecified variant of SWE-bench Verified. We propose an uncertainty-aware multi-agent scaffold that decouples underspecification detection from code execution. Across both proprietary and open-weight frontier LLMs, our scaffold achieves a 69.40% task resolve rate, significantly outperforming a standard single-agent setup and closing the performance gap with agents operating on fully specified instructions. Furthermore, we find that the multi-agent system exhibits well-calibrated information-seeking behavior, conserving queries on simple tasks while proactively seeking information on more complex issues. These findings indicate that current models can be turned into proactive collaborators, where agents independently recognize when to ask questions to elicit missing information in real-world, underspecified tasks.

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

↑