TL;DR
LLM agents are highly sensitive to how tool interfaces (schemas) are designed, even when the underlying functionality remains identical. This "schema bias" can cause an agent's success rate to swing from near-perfect to total failure based solely on interface choices like merging tools or using multi-call protocols. While reinforcement learning can mitigate these biases, the improvements rarely generalize to entirely new interface designs.
What Problem Does This Paper Address?
When we build LLM agents, we define their "action space" through a tool schema—a set of function names, descriptions, and argument structures. Researchers and engineers usually treat a single schema as the ground truth. However, the same set of executable actions can be represented in many ways. For example, a "modify order" action could be a single function call or a multi-step transaction (begin, set, commit).
This paper identifies schema bias: the phenomenon where an agent’s performance varies significantly across functionally equivalent representations of the same action space. If an agent is truly capable, it should be robust to these interface changes. The authors argue that current benchmarks might be measuring how well a model fits a specific, arbitrary interface rather than its actual task-solving capability.
Methods
The authors developed an executable transformation framework to systematically study this bias. They introduced nine operators to rewrite a "native" tool schema into equivalent variants:
- Tool-set partitioning: Merging multiple tools into a single dispatcher or splitting one tool into many based on argument values.
- Per-tool representation: Changing argument nesting, renaming functions (e.g., using opaque IDs), or stripping descriptions.
- Cross-call protocols: Breaking one action into multiple dependent calls, such as transactions or "schema discovery" (where the agent must query the API for details before calling).
Crucially, they built an execution adapter to ensure that every variant decodes back to the same "native" actions, allowing for a perfectly controlled comparison where only the interface changes.
Datasets
- Synthetic Environment: A new controlled benchmark featuring 12 domains (e.g., home automation, car navigation), 168 native operations, and 2,748 task queries.
- Real-world Benchmarks: To validate their findings, they applied their transformations to existing benchmarks: $\tau^2$-bench (airline and retail domains) and the Berkeley Function Calling Leaderboard (BFCL).
Key Insights and Ideas
- Merging is harder than splitting: LLMs generally handle a large number of specific tools better than a few "god-tools" that use complex internal dispatching. Merging tools reduced success rates by a median of 19 points.
- Protocols are the ultimate hurdle: Multi-call protocols like transactions and schema discovery caused the most dramatic failures, often dropping earlier-generation models to near-zero success.
- Bias is model-specific: A schema that works for Llama might fail for Qwen. Even closed models like GPT-4o are not immune; they specifically struggled with variants that exposed very large tool catalogs.
- Difficulty is hard to predict: You cannot determine if a schema is "hard" just by looking at it or using simple probes. Reliable difficulty estimation requires running at least a small sample (approx. 100) of actual task queries.
- RL > SFT for mitigation: While Supervised Fine-Tuning (SFT) can fix bias, it often imposes a "tax" on the model's performance on the original native schema. On-policy Reinforcement Learning (specifically GRPO) was able to repair biased variants without degrading native performance.
Key Results
- Massive Performance Swings: Success rates for the same task ranged from 0% to 97% depending only on the schema.
- Failure Modes: The authors categorized failures into seven modes. For instance, merged catalogs often failed because the model got "stuck" calling a native name that was no longer in the schema, while schema discovery often led to "silent" errors with wrong arguments.
- Training Limits: Training on a mixture of schemas makes an agent more robust to those specific changes and their combinations, but it does not grant general robustness to entirely new types of interface operators.
Limitations and Future Work
The study is limited to nine specific transformation operators. The space of equivalent schemas is likely much larger (e.g., changing how errors are reported). Furthermore, the mitigation results show that we haven't yet found a way to make agents "interface-agnostic" by default; they still need to see specific interface styles during training to handle them well.
The authors suggest that future agent evaluations should report performance over a small set of verified-equivalent schemas rather than just one, to ensure the reported capabilities are truly transferable.
Summary updated