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

提问却缺失:自然语言数据查询中的决策覆盖

Asking but Missing: Decision Coverage in Natural-Language Data Querying

Zhejiang University of Technology(浙江工业大学)

Hangle Hu, Chenyu Hou, Bin Cao, Jing Fan, Wei Luo

AI总结:

该研究针对大型语言模型将自然语言数据问题转为代码时的欠指定决策补全问题,提出GCG诊断协议,在BIRD-Pandas上的实验表明回答澄清问题可提升准确率,但核心难点是识别需提问的问题。

摘要:

大型语言模型越来越多地被用于将关于结构化数据的自然语言问题转换为可执行程序,一个根本挑战是识别问题何时允许多种计算解释,并确定解决这些解释所需的决策。我们研究语言模型是在生成代码前识别这些未解决的决策,还是默默采用可能导致错误结果的假设,我们将后者行为称为欠指定决策补全(UDC)。为区分UDC的不同原因,我们引入基于代码生成(GCG)的诊断协议,该协议将未解决决策的识别、利用证据解决决策及其转换为可执行代码的过程分离开来。通过分别检查每个阶段,我们可以确定导致错误结果的决策最初在何处被遗漏或处理不当。我们在BIRD-Pandas上用12个模型评估该框架,结果显示回答澄清问题能持续提高执行准确率,但仍存在大量错误。我们的发现表明,主要困难不在于回答澄清问题,而在于首先识别出需要提问的问题。

英文摘要:

Large language models are increasingly used to translate natural language questions about structured data into executable programs. A fundamental challenge is recognizing when a question admits multiple computational interpretations and identifying the decisions needed to resolve them. We investigate whether language models recognize these unresolved decisions before generating code, or silently adopt assumptions that may lead to incorrect results. We refer to the latter behavior as Underspecified Decision Completion (UDC). To distinguish different causes of UDC, we introduce Grounded Code Generation (GCG), a diagnostic protocol that separates the identification of unresolved decisions, their resolution using evidence, and their translation into executable code. By examining each stage separately, we can determine where the decisions responsible for incorrect results were first missed or mishandled. We evaluate this framework on BIRD-Pandas with twelve models. The results show that answering clarification questions consistently improves execution accuracy, yet substantial errors remain. Our findings suggest that the main difficulty lies not in answering clarification questions, but in recognizing which questions need to be asked in the first place.

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

↑