法官遵循参考:验证工具调用参数中的推导差距

·

研究论文 · 2026/10/15

工具调用评判器评估LLM智能体提出的参数值。我们发现,当评判器的输入中没有针对某个正确值的参考文本(即没有说明该值应为何值的文本)时,评判器接受该正确值的频率会降低。这种情况发生在:该值是函数模式中的默认值而用户未提及、该值需要推断、或该值来源文本被从评判器输入中截断时。我们将这种接受率下降称为推导差距。该现象在我们评估的全部七个评判器中均出现,包括System One模型CLM和Jev。该差距不仅是截断造成的假象:在无截断的基准测试中,正确默认值的差距最大。一项受控的来源重定位测试表明,评判器会遵循其输入中的参考:它们更倾向于一个可见的错误值,而非一个来源被隐藏的正确值。我们提出DeRef(Derived Reference):一个单独的模型在不查看候选值的情况下读取完整历史,并为评判器撰写参考。在三个基准测试中,DeRef提升了所有受测评判器的整体参数AUROC。在受控测试中,它将AUROC从随机水平或以下提升至98.40至99.59之间。

该研究揭示了工具调用验证中一个普遍且关键的偏差,并提出了简单有效的缓解方法,对提升LLM智能体工具调用的可靠性具有直接意义。

Tool-call judges evaluate argument values proposed by LLM agents. We find that they accept a correct value less often when their input holds no reference for it, that is, no text that says what the value should be. This happens when the value is a default value from the function schema that the user did not mention, when it has to be inferred, or when the text it comes from was cut from the judge input. We call this drop in acceptance the derivation gap. It appears across all seven judges we evaluate, including System One models CLM and Jev. The gap is not only a truncation artifact: correct default values have the largest gap on a benchmark with no truncation. A controlled source-relocation test shows that judges follow the reference in their input: they favor a visible incorrect value over a correct value whose source is hidden. We introduce DeRef (Derived Reference): a separate model reads the full history without seeing the candidate and writes a reference for the judge. Across three benchmarks, DeRef improves overall argument AUROC for all judges tested. On the controlled test, it raises AUROC from chance or below to between 98.40 and 99.59.

阅读原文

参与讨论