LLMs fall back to a familiar convention when the tool description does not say what an omitted field means. Adding operation definitions and a rule table recovers most of the lost accuracy, with or without worked examples.
Going deeper
| Rule | Input form | Aligned | Counter | Source (aligned / counter) |
| omitted | field absent from updates | Keep | Reset | RFC 7396 partial patch / full-replacement update |
| bare_null | {"field":f,"value":null} | Clear | Set(null) | RFC 7396 / GraphQL, protobuf explicit presence |
| bare_empty | value is the falsy inhabitant | Set(v) | Clear | explicit field presence / protobuf implicit presence |
| bare_default | value equals the current default | Set(v) | Reset | JSON Schema default annotation / protobuf implicit presence |
| bare_no_value | {"field":f} | Keep | Keep | explicit channel |
| bare_other | any other permitted value | Set(v) | Set(v) | none |
| mode_keep | "absence_mode":"keep" | Keep | Keep | explicit channel |
| mode_clear | "absence_mode":"clear" | Clear | Clear | explicit channel |
| mode_reset | "absence_mode":"reset" | Reset | Reset | explicit channel |
| literal | "literal":true with a value | Set(v) | Set(v) | explicit channel |
Imagine a shared address book at work. When you update a contact's card and leave the fax number blank, does the old fax number stay, or does the system erase it? Different office software does different things, and the answer is usually buried in a manual nobody reads.
This paper asks whether AI assistants guess the right answer when the manual does not say. It builds pairs of tasks where the only difference is the hidden rule. If the rule matches the common convention, models get it right about three-quarters of the time. If it is flipped, accuracy collapses, especially for omitted fields, where it drops to under 4%.
The good news: writing the rule down in a truth table, without even showing a worked example, recovers almost all the lost accuracy. The catch: giving the model a form that forces it to spell out keep, set, clear or reset did not reliably beat the truth table, at least on the one small model where it was tested.
The abstract, word for word, with the six densest phrases unpacked.
When a tool updates a record, leaving a field out can keep it unchanged or reset it to a default1. 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 state2. 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 points3. 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 default4. Defining the operations and adding a rule table raised accuracy under reversed rules by 39.8 percentage points without worked examples5 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 threshold6.
Two lines of work: protocols that disagree on absent fields, and benchmarks that test LLM tool use.
Read four parts, in this order.
Skip Appendix D if you do not need the pre-registration details and harness specifics.
If the gap is an artifact, these places are where to look.
| Collision family | Aligned | Counter | CIP | |
|---|---|---|---|---|
| omission | 76.9 | 3.8 | 73.1 | 320 |
| null | 75.7 | 70.0 | 5.7 | 280 |
| empty | 72.1 | 62.1 | 10.0 | 280 |
| default | 79.4 | 66.2 | 13.1 | 320 |
It is 73.1 points [63.1,81.9] on omission, where counter-conventional accuracy is 3.8%, against 5.7 – 13.1 points on null, empty and default (Appendix E). When omission means keep, the reference call can leave unchanged fields out. When omission means reset, the call must name every field it needs to keep in all five interfaces. The comparison changes both the rule and the number of fields a correct call must name. Under ValueOnly an explicit Keep appears in 26 of 400 such slots, with 306 omitted; with the truth table, 327 and 60; without examples, 331 and 61.
| Model | Arm | Counter | vs Prose | 95% CI | 8 pp |
|---|---|---|---|---|---|
| open_small | FlatDelta | 75.8 | 5.8 | [2.5, 10.0] | no |
| open_small | TypedDelta | 76.7 | 6.7 | [1.7, 11.7] | no |
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
We used a large language model for grammatical and stylistic polishing of the text.
More latest news
Read all