Back to AI Research

AI Research

Interface-Induced Trajectory Censoring | AI Research

Key Takeaways

  • Interface-Induced Trajectory Censoring investigates a critical disconnect between how AI models are trained and how they are evaluated.
  • 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, the same model scores 0.00 or 0.96 / 0.19.
  • On tau-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.
Paper AbstractExpand

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, the same model scores 0.00 or 0.96 / 0.19. A 2x2 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 tau-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 probe reproduces the funnel across a 21x 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 an adjudicated gold standard). Under a matched envelope, across a comparable scale span, the silent fraction 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. 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 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.

Interface-Induced Trajectory Censoring investigates a critical disconnect between how AI models are trained and how they are evaluated. The paper demonstrates that the "tool-call rate"—a key metric used to judge an agent's ability to use external software—is often misleading. Because the serving interface (the software layer that sits between the model and the environment) may fail to recognize the specific format a model uses to request a tool, it can "censor" valid calls before they ever reach the execution stage. This creates a situation where a model appears incapable of using tools, even when it is successfully generating well-formed requests.

The Measurement Trap

The core problem is that an agent evaluation does not measure the model in isolation; it measures the entire stack, including the chat template, the parser, and the execution protocol. When these components are mismatched, the system may report zero tool calls. The author shows that this is not necessarily a bug in the parser itself, but a failure of the "contract" between the model’s training and the interface’s expectations. For example, a model might emit a perfectly valid JSON call, but if the interface is configured to look for a specific XML-style tag that the model was not trained to produce, the interface will simply discard the output. To see meta in practice, How to Make Cinematic Commercials walks through a concrete example.

Scale-Dependent Distortion

The research reveals that this censoring effect grows as models get larger. In tests using Qwen2.5-Coder, the server-side tool-call rate remained at zero across all model sizes. However, when the researchers analyzed the raw output, they found that larger models were actually emitting valid tool calls at a high rate (up to 80% for the 32B model). Because the interface was misaligned, the "silent fraction"—the number of valid calls that were ignored—increased as the model became more capable. This suggests that researchers might be underestimating the tool-use capabilities of larger models simply because their evaluation infrastructure is filtering out the evidence.

Impact on Training

This issue is not limited to final evaluations; it also distorts the training process. When using reinforcement learning (RL) to train agents, the training loop relies on receiving feedback from tool executions. If the interface censors the model's tool calls, the training loop never sees a successful execution, meaning the model receives no signal to reinforce that behavior. The study found that at certain scales, models were generating complete, valid calls that were never accepted or executed, effectively leaving the agent with no "tool-mediated" experience to learn from. The ai agents story also surfaces in AI Agents Going Rogue Renew Calls..., adding another angle.

A Practical Solution

To address this, the author argues that researchers should stop treating tool-call rates as a simple property of the model. Instead, they should verify the entire stack before drawing conclusions about model performance. The paper provides a 98-line preflight check designed to catch these silent failures. By separating the model’s intent from the interface’s parsing, developers can determine whether a failure is due to the model’s lack of capability or a simple mismatch in the communication protocol between the model and the server. The same ai evaluation question is explored in Wrong Prediction, Right Answer, which adds a research perspective. as detailed in the full paper on Arxiv

Comments (0)

No comments yet

Be the first to share your thoughts!