Action-Space Shaping for LLM Agents: Measuring and Mitigating Tool-Schema Bias

Yinhong Liu, Zhili Tan, Zilin Wang, Zhijiang GuoarXiv 2026

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).
Figure 1: Schema variants, schema bias, and training mitigation. (A) All schema variants Si are just different representations of the same action space Ω: a call in any of them decodes to the same native action a∗and reaches the same final state. Each space is shown with an abbreviated schema for one action. (B) Schema bias is large and model-specific. Success rates of four LLMs under four representative variants; the dashed line is each model’s native-schema score. The same variant can match native for one model and collapse to zero for another (full grid in Figure 2). (C) Qwen3- 4B after SFT or RL on native-only or variant-mixture data. Hatched segments are gains (green) or losses (red). Native-only data leaves most of the bias under either method; RL on variant-mixture data mitigates bias while keeping the native score (§8).

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.
Figure 2: The model-by-schema performance grid: exact success and failure mode composi- tion. Each cell is one model (column) on one verified-equivalent schema (row), 2,748 identical tasks. The number is the exact success rate (%), represented as the white portion of composition bar. The coloured segments are the absolute rates of the automatically detected failure modes analysed in §6. Row labels are the representative variant names following Table 1. The two rightmost columns are closed models evaluated through their APIs. The remaining variants are reported in Appendix

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.
Figure 3: Merging is generally more harmful than splitting. Left: colored lines show each model’s change from its native-schema success rate. The black line is the median across the nine models. The x-axis represents ratio of function count between variant and native schema. We sample ten variants to span the granularity ladder from full merge to full split. Each ratio is the query- weighted mean across 12 schema domains. Right: a compact and abbreviated schema example shows how merging and enum splitting transform the native schema.

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

BibTeX
@misc{liu2026action,
  author = {Yinhong Liu and Zhili Tan and Zilin Wang and Zhijiang Guo},
  title = {{Action-Space Shaping for LLM Agents: Measuring and Mitigating Tool-Schema Bias}},
  year = {2026},
  eprint = {2609.34971},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.34971},
}
Figure