Controllable and Verifiable Tool-Use Data Synthesis for Agentic Reinforcement Learning

Siyuan Xu, Shiyang Li, Xin Liu, Tianyi Liu, Yixiao Li, Zhan Shi, Zixuan Zhang, Zilong Wang, Qingyu Yin, Jianshu Chen, Tuo Zhao, Bing YinarXiv 2026

TL;DR

The paper introduces COVERT, a two-stage synthetic data generation pipeline designed to train Large Language Models (LLMs) for tool use via reinforcement learning (RL). By generating reliable base trajectories and applying "oracle-preserving" augmentations (such as adding distractor tools or injecting noisy outputs), COVERT creates scalable, reward-checkable environments. This approach significantly boosts model robustness under real-world ambiguity and unreliability without degrading general reasoning capabilities.

What Problem Does This Paper Address?

While teaching LLMs to use external APIs, calculators, and code interpreters has drastically expanded their capabilities, deploying these models in the real world remains challenging. Real-world tool use is messy: user queries are often ambiguous, environments contain irrelevant "distractor" tools, and APIs frequently return noisy, multi-format, or flat-out erroneous outputs.

Currently, most synthetic datasets for tool use are designed for Supervised Fine-Tuning (SFT). These datasets are static, consisting of a fixed user query, a predefined tool call, and a static response. However, Reinforcement Learning (RL) requires dynamic, executable environments where a model can perform online rollouts and receive feedback (rewards) based on its actions. Existing RL approaches either rely on narrow, domain-specific real executors (like a specific Python interpreter) or train on static SFT datasets where the complexity of tool interactions cannot be explicitly controlled.

Methods

The authors propose the COVERT (COntrollable and VERifiable Tool-use data synthesis) framework, which moves away from static datasets toward interactive, reward-checkable training environments. It operates in two distinct stages:

  1. Stage 1: Reliable Base Trajectory Generation: The pipeline bootstraps a large pool of clean, simple tool-use instances using a self-evolving generation loop. To guarantee data fidelity, every generated trajectory must pass through a multi-level validation check consisting of a deterministic Format Checker, a deterministic Rule Checker (verifying schema constraints), and an LLM-based Semantic Checker.
Figure 2: Reliable tool-use trajectory generation pipeline (Stage I) with diverse prompt construction, LLM-based generation, multi-level trajectory checking, and self-evolving seed pool expansion.
  1. Stage 2: Oracle-Preserving Augmentation: To prepare the data for RL, COVERT takes these clean base trajectories and intentionally injects controlled environmental perturbations (or "knobs") while strictly preserving the ground-truth ("oracle") targets needed to calculate rewards.
Figure 1: Overview of the proposed COVERT pipeline. Stage 1 generates reliable base tool-use trajectories with simple queries and single tools via self-evolution and validation. Stage 2 applies oracle-preserving augmentations to produce complex multi-tool scenarios with noisy and multi-format outputs, while preserving oracle tool behaviors for reward computation during RL training.

These augmentations are categorized by how they are verified during RL training:

  • Exact-Verifiable Augmentations: These include adding semantically similar distractor tools to the system prompt, rewriting queries to be indirect, or embedding tool outputs inside noisy system logs. Because the correct tool call ($c^*$) and final answer ($a^*$) do not change, rewards are computed deterministically via exact reference matching.
  • Judge-Assisted Augmentations: These simulate trickier edge cases, such as injecting API connection errors or providing problematic queries that lack required parameters. Since the expected final answer changes (e.g., the model should complain about the API error rather than hallucinating an answer), a lightweight LLM judge (Qwen2.5-Instruct-7B) is used to verify the specific behavioral target.
Figure 3: Illustration of oracle-preserving augmentation. Starting from a simple and reliable base tool-calling trajectory (left), we apply controlled perturbations to the user query and tool environment (right), including indirect entity references, distractor tools, and injected tool-call failures.

RL Training: Using these synthesized environments, the authors optimize the tool-calling policy using Group Relative Policy Optimization (GRPO), an RL algorithm well-suited for verifiable reward settings because it does not require a separate value model.

Datasets

  • Training Data: Synthesized entirely from scratch using the COVERT pipeline. The synthetic tools generated are completely disjoint from evaluation benchmarks in both schema and domain to ensure fair generalization testing.
  • Tool-Use Evaluation: Evaluated on BFCL v3 (Berkeley Function Calling Leaderboard) and ACEBench, which test single-turn, multi-turn, parallel tool calls, and irrelevance detection.
  • General-Ability Evaluation: To monitor for negative side-effects (catastrophic forgetting), the models were tested on standard benchmarks including LiveCodeBench-v5, AIME 2024/2025, Math500, GSM8K, IFEval, GPQA-Diamond, and MMLU-Pro.

Key Insights and Ideas

  • Oracle Preservation Bypasses Sandbox Overhead: Instead of building complex, stateful, and slow real-world API sandboxes for RL rollouts, COVERT proves that you can simulate complex environments synthetically. By knowing the "oracle" behavior beforehand, you can safely corrupt the environment inputs/outputs and still maintain a reliable reward signal.
  • SFT and RL are Additive: SFT is excellent at teaching the model structural priors (like correct JSON formatting and basic API syntax). RL, however, excels at refining semantic correctness and error-handling behaviors that static data cannot easily capture. Stacking COVERT-RL on top of SFT yields significant, complementary performance gains.
  • RL Protects General Reasoning: Massive SFT on tool-use data often causes regressions in an LLM's core capabilities (like math or coding). Because COVERT uses targeted RL optimization with precise reward functions, it achieves tool-use robustness while leaving general-domain performance completely intact.

Key Results

The framework was evaluated using Qwen2.5-Instruct (7B and 14B) as base models:

  • Overall Tool-Use Boost: On Qwen2.5-Instruct-14B, COVERT-RL improved overall accuracy on BFCL v3 from 56.5% to 59.9% and on ACEBench from 53.0% to 59.3%.
  • The Power of Stacking: When COVERT-RL was applied on top of an already fine-tuned model (TOUCAN-SFT), performance climbed even higher, reaching 62.1% on BFCL v3 and 61.8% on ACEBench.
  • Targeted Robustness Gains: The highest improvements occurred exactly where the augmentations targeted. For instance, on BFCL v3's Irrelevance Detection category, accuracy jumped by 11.9% at the 14B scale. On ACEBench's Special category (which covers noisy outputs and tool failures), accuracy increased by 14.2% at the 7B scale.

Limitations and Future Work

  • Limited Long-Horizon Planning: COVERT currently focuses on short-to-moderate interactions. It does not yet simulate tightly coupled, stateful dependencies across a long sequence of turns, which explains why performance on long-horizon agent benchmarks remained flat.
  • Judge Determinism: While the judge-assisted verification is constrained to narrow, capability-specific decisions, it still relies on an LLM judge whose outputs are inherently non-deterministic. The authors note that a systematic human-agreement study for the judge remains future work.

Summary updated

BibTeX
@misc{xu2026controllable,
  author = {Siyuan Xu and Shiyang Li and Xin Liu and Tianyi Liu and Yixiao Li and Zhan Shi and Zixuan Zhang and Zilong Wang and Qingyu Yin and Jianshu Chen and Tuo Zhao and Bing Yin},
  title = {{Controllable and Verifiable Tool-Use Data Synthesis for Agentic Reinforcement Learning}},
  year = {2026},
  eprint = {2604.09813},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.09813},
}
Figure