arXiv(opens in a new tab)cs.AISep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.03966

Interface-Induced Trajectory Censoring

Wenbo Wang

Abstract

Agent evaluations report a tool-call rate read off the serving stack. That number can be zero while the model is emitting well-formed calls: the interface censors the trajectory before anything downstream sees it.

On BFCL v4's own data, executor and scorer, holding weights, cases, decoding and seeds fixed and changing only the serving adapter configuration, the same model scores 0.00 or 0.96 / 0.19 (simple_python / multi_turn_base). A 2×2 over chat template and parser locates the effect exactly: both main effects are exactly zero and all of it sits in the interaction — no component is defective, and repairing one side of the contract buys precisely nothing. On τ-bench's 115 interactive retail tasks the same swap moves server-parsed calls from 0 to 636 and tasks reaching any tool execution from 0 to 103. Our own probe reproduces the funnel across a 21× scale range of Qwen2.5-Coder: the server parses 0/100 at every size while well-formed emitted calls rise to 80/100 at 32B (≈72 after calibration against a third-party adjudicated gold standard). Under a matched envelope, across a comparable span of scale, the silent fraction instead stays at 0–2 — a prediction committed to the repository before the run. Llama-3.1-8B's 23% rate of calling the task function itself as a tool falls to 0 under one strict: true flag.

The mismatch reaches inside the training loop, and its consequence is scale-dependent: in verl's AgentLoop at 7B, 45 of 115 generations carry a complete call; 0 are accepted, 0 execute, 0 return an observation, while at 1.5B the same zero is over-determined, so we report the two scales separately. At evaluation time, repairing the adapter restores the mechanism but not a significant outcome gain — parsing 0 → 84, rescues 0 → 9, pass rate 53→62 (n.s.). We release a 98-line preflight check that catches every silent failure reported here. The observed tool-call rate is not a property of the model alone; it is a property of the model-interface stack that measures it.

1 Introduction

We set out to train a multi-turn code agent with RL and could not explain our own training curve. Over 150 GRPO steps on Qwen2.5-Coder-1.5B, pass@1 on a held-out EvalPlus split rose 2.6–2.8 points across three independent runs (p=0.064/0.078/0.077p = 0.064 / 0.078 / 0.077 — none significant at α=.05\alpha = .05; the evidence is the consistent direction across two algorithms and two seeds, not any single test). But

Where the agent trajectory is censored: emitted → parsed → executed → observed → rescued (n=100 per arm)

Figure

↑ Emitted-call count is measurable only when the server parses nothing; a successful parse moves the call into tool_calls and leaves content empty.

Figure 1: Where the agent trajectory is censored. Five layers, n=100 per arm. The two left panels (documented default configuration) show a tall first bar and a cliff to zero: the model emits well-formed calls and nothing downstream happens. Emitted-call counts are measurable only where the server parses nothing — a successful parse moves the call into tool_calls and empties content — so those cells are N/A, not zero.

91–94% of newly-passing items passed on the first turn, and items rescued by turn 2 or later stayed flat at 6–9 out of 540 from step 0 to step 150 (Appendix G). The natural reading is that a 1.5B model cannot learn multi-turn repair. What we found instead was that the tool was never successfully called. Not rarely — never. And nothing in the stack said so: the server returned HTTP 200, tool_calls was an empty array, and the training loop recorded a well-formed single-turn trajectory.

An agent evaluation does not measure a model. It measures a composition model × protocol × serialization × parser × execution stack, and the failure of most stages is indistinguishable at the output from model incapability: when a parser does not recognise the format a model emits, the serving layer reports zero tool calls — exactly what a model that refuses to use tools would produce. We call this interface-induced trajectory censoring. 1^{1} It acts in two opposite directions, and our results contain a clean instance of each: masking, where a valid call is not recognised and the action never reaches the environment ( §4.3§4.3), and suppression, where an invalid call is removed from the sampleable support before it becomes an action ( §4.5§4.5). The serving interface is therefore simultaneously part of the measurement function and part of the agent's effective action space — literally so under RL, where whatever the policy emits must survive serialisation and parsing before it becomes an action that earns a reward. When nothing tool-intended survives that passage, the experience distribution contains no tool-mediated trajectory at all.

Why this is not a parser bug. The term invites a reading we refuse at the outset. Replaying vLLM's own hermes extractor line by line over every stored first turn in our archive — 4254 of them, after removing byte-identical duplicate files — we find zero cases in which the server failed to parse a call its own rules would have accepted ( §4.3§4.3). What fails is the contract between three parties configured independently: what the checkpoint was trained to emit, what the chat template tells it

1^{1}Borrowed by analogy: in survival analysis censoring is a threshold on a continuous variable, whereas a parser is a deterministic filter on output format. What carries over is the structure of the inference error — the observation is not missing at random but systematically unobservable on one side of a boundary, and the boundary correlates with the quantity being measured.

to emit, and what the parser is defined to accept. Qwen2.5-Coder emits a well-formed bare call and never the <tool_call> envelope, so hermes not seeing it is correct behaviour; Qwen2.5-Instruct emits the envelope and then breaks the JSON inside it. Censoring can occur at any boundary along emission → serialization → parse → execution, and at every one the observable is identical: HTTP 200 with an empty tool_calls array. The claim is therefore not that parsers are buggy but that a tool-call rate is a property of a three-way contract, and is routinely reported as though it were a property of the model alone.

What is and is not new. That Qwen2.5-Coder does not emit hermes-format tool calls was reported in vLLM issue #32926 (2026-01-23) with a <tools> parser proposal; it was closed as not planned and labelled stale, so the trap is still live (§2). What this paper adds is measurement, decomposition and consequence. We measure the funnel on two standard benchmarks — BFCL v4 and τ-bench — where changing only the serving adapter moves BFCL's reported score from 0.00 to 0.96 / 0.19 and τ-bench's parsed calls from 0 to 636, and a 2 × 2 over template and parser finds both main effects exactly zero with the whole effect in their interaction (§4.1). We separate model intent / emitted format / server parse / actual execution / multi-turn rescue into five independently measured quantities — reporting only the third is the practice we argue against — quantify what censoring removes across a 21× scale range, and pair that ladder with a preregistered counterfactual under a matched envelope where the silent fraction stays at 0–2 instead of rising to 80 (§4.3). Four families failing at template, parser, schema and token layers motivate a layered taxonomy on deliberately asymmetric evidence (§4.6). And we follow the distortion into training: at 7B, 45 of 115 generations inside verl's AgentLoop carry a complete call and none becomes an action, so the sampled experience contains no tool-mediated trajectory to reinforce. We argue that from the sampled rollouts, not the support of the policy — zero observed samples is not zero probability — and the comparison arm changes protocol and interface together (§4.9).

References (1)

  • 36/52 target the task function, 16/52 carry executable code elsewhere in the body