arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.14624cs.SEcs.AI
收藏

询问何为关键:面向软件工程任务的奖励驱动澄清

Asking What Matters: Reward-Driven Clarification for Software Engineering Tasks

Language Technologies Institute, Carnegie Mellon University, Pittsburgh, USA(语言技术研究所,卡内基梅隆大学,匹兹堡,美国)

Sanidhya Vijayvargiya, Vijay Viswanathan, Graham Neubig

AI总结:

本文研究软件工程任务中有效澄清问题的方法,通过量化影响任务成功的信息类型和用户能提供的信息,提出基于Shapley属性和分布比较的多阶段强化学习奖励机制,训练出CLARITI模块,在未明确问题上表现优于GPT-5,生成更少问题。

摘要:

人类常对任务描述不完整,助手需知道何时何地提问澄清。然而,在软件工程任务中,有效澄清仍具挑战性,因为并非所有缺失信息都同样有价值,且问题必须针对用户能现实提供信息。我们通过量化影响任务成功的信息类型和模拟用户能提供的信息,研究真实软件工程任务中的澄清。利用Shapley属性和分布比较,我们识别出有效澄清的两个关键属性:任务相关性(哪些信息预测成功)和用户可回答性(用户能现实提供什么)。我们将这些属性作为多阶段强化学习奖励来训练CLARITI,一个8B参数的澄清模块,在未明确问题上表现优于GPT-5,同时生成41%更少的问题。我们的结果表明,将奖励设计基于信息影响和用户可回答性的实证分析能提高澄清效率。

英文摘要:

Humans often specify tasks incompletely, so assistants must know when and how to ask clarifying questions. However, effective clarification remains challenging in software engineering tasks as not all missing information is equally valuable, and questions must target information users can realistically provide. We study clarification in real software engineering tasks by quantifying which types of information most affect task success and which questions elicit useful responses from simulated users. Using Shapley attribution and distributional comparisons, we identify two key properties of effective clarification: task relevance (which information predicts success) and user answerability (what users can realistically provide). We operationalize these properties as multi-stage reinforcement learning rewards to train CLARITI, an 8B-parameter clarification module, that matches GPT-5's resolution rate on underspecified issues while generating 41% fewer questions. Our results suggest that grounding reward design in empirical analysis of information impact and user answerability improves clarification efficiency.

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

↑