LeaveItOutBench 测试 LLM 如何处理有状态工具调用中的缺省字段
Nothing Is Harder Than Nothing, Until You Write It Down: Absence Conventions in Stateful Tool Use
做 Agent 工具调用的人真该看看这篇:同一个请求,省略字段到底是"不改"还是"重置",5 个模型的准确率能差出 26.7 个点, omission 规则反转时甚至掉到 3.8%。论文还给了修复办法——加一张规则表就能拉回 40 个百分点,写工具文档时直接能用。
一篇 arXiv 论文提出 LeaveItOutBench,考察 LLM 在有状态 function calling 中如何处理被省略的字段、空值、显式 null 与默认值。工具更新记录时,省略字段可能意味着保持不变,也可能意味着重置为默认值。测试中每对任务共享相同的请求、schema 和目标状态,只改变一条更新规则,模型以文本形式输出一个 JSON 调用,评分基于调用后的完整状态。
在 5 个预注册模型和 120 个留出任务族上,常规规则下准确率为 76.2%,规则反转后降至 49.5%,差距 26.7 个百分点。在 32 个省略类任务族中,省略表示"保持不变"时准确率为 76.9%,省略表示"重置为默认值"时仅 3.8%。在工具描述未说明规则时,两种任务使用完全相同的提示词,暴露了模型的隐性约定依赖。
干预实验显示,明确定义操作并加入规则表后,反转规则下的准确率提升 39.8 个百分点(无示例)和 43.7 个百分点(含示例)。后续在 Qwen3-14B 上的实验中,两种显式操作接口比完整文档分别多得 5.8 和 6.7 分,但均未达到预注册的 8 分门槛。
Nothing Is Harder Than Nothing, Until You Write It Down: Absence Conventions in Stateful Tool Use
When a tool updates a record, leaving a field out can keep it unchanged or reset it to a default. LeaveItOutBench tests how large language models (LLMs) handle omitted fields, empty or falsy values, explicit null and values that match the default in stateful function calling. Each task pair changes one update rule for the same request, schema and target state. Models write one JSON call as text. We score the full state after the call and distinguish stored values from inherited defaults. When the tool description leaves the rule unstated, both tasks use the same prompt. Across five pre-registered models and 120 held-out task families, exact accuracy was 76.2% under conventional rules and 49.5% under reversed rules, a gap of 26.7 points. On the 32 omission families, accuracy was 76.9% when omission kept the field unchanged and 3.8% when it reset the field to a default. Defining the operations and adding a rule table raised accuracy under reversed rules by 39.8 percentage points without worked examples and 43.7 with them. Three later models from two vendors also showed a gap under the short description. In a follow-up on Qwen3-14B alone, two interfaces with explicit operations gained 5.8 and 6.7 points over full documentation. Both fell short of the pre-registered eight-point threshold.
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:LLM、function calling、智能体、LeaveItOutBench,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Marek Šuppa, Jaroslav Kopčan),经 AITOP 多维评分管线结构化提炼。