TRANSMISSION // 2611.26722v1
A Large Preference Dataset for Teaching AI to Call Tools
Source published
TOUMAII pairs reference tool calls with model-generated alternatives to train AI systems to distinguish better from worse tool use. Its authors report 4.5 million pairs and a benchmark comparison, while cautioning that agreement with a reference does not guarantee correctness.

When an AI agent calls a tool, a small mistake can matter: the wrong function, a missing argument or a formatting mismatch can derail a task. TOUMAII is a dataset designed to help models learn not just from reference calls, but from plausible alternatives that differ from them.
Why compare good and bad tool calls?
AI agents use tools such as APIs and databases to carry out tasks over several steps. For those interactions to work, a model must choose a suitable function, provide arguments in the expected format and respond to what happens next. A call can look almost right yet fail—for example, if an API expects a lowercase currency code and receives an uppercase one.
Supervised fine-tuning teaches a model by showing it examples of desired responses. The authors argue that this approach does not directly teach a model to rank a correct call above a plausible but flawed alternative. Direct preference optimization (DPO) uses paired examples: one response is preferred, another rejected. TOUMAII’s central question is whether a pipeline can produce such pairs at scale for tool-calling, including multi-turn interactions.
Building the pairs
The researchers introduce TOUMAII-Gen, a pipeline that takes tool-calling training examples—including conversation history, tool descriptions and a reference response—and asks a language model to generate a competing response. The generated answer might omit a call, choose the wrong function or provide incorrect arguments. The reference is treated as preferred and the generated answer as rejected.
The team applied the pipeline to Agent-Ark/Toucan-1.5M, producing 4,515,503 preference pairs after filtering and de-duplication. The examples cover single- and multi-turn conversations, with single or multiple function calls. Applying the pipeline to ToolACE produced a smaller dataset of 100,846 pairs, which the authors offer as an example of using a different source.
Filtering removed many generated candidates. The paper reports that 46.8% of nearly 9.65 million candidates remained in the main dataset. Removals included pairs that the scoring system judged indistinguishable, examples with long free-text arguments that were difficult to assess, and certain repeated or problematic examples.
What the evaluation found
To test the data, the authors fine-tuned a 3-billion-parameter Granite model with DPO and compared TOUMAII with preference data from ToolRM. They evaluated the models on BFCL v4, a tool-calling benchmark. The training setups were designed for comparison; results summarize four non-overlapping data slices, not four independent random training seeds.
The results do not show a broad win on every measure. Overall accuracy was 37.01% for TOUMAII-trained models, 36.05% for ToolRM-trained models and 37.76% for the unmodified base model. TOUMAII scored higher than ToolRM on the benchmark’s live and memory categories: reported averages were 77.55% versus 75.20% for live accuracy, and 34.68% versus 28.33% for memory accuracy. These results are consistent with the authors’ view that TOUMAII can provide useful preference-training data, but do not show that it improves every measure or beats the base model overall.
What the results cannot establish
A central caveat is how the rejected responses are identified. Automated scoring measures agreement with a reference tool call; it does not establish that the reference is semantically or operationally correct in every situation. Another call may also be valid, or the reference may contain an error. The authors describe safeguards, but say this risk cannot be eliminated. Multi-turn cases are especially complicated because an intermediate call may be corrected after tool feedback.
The dataset also inherits limitations from its source conversations and the models that generated alternatives. The authors note that reasoning was disabled during rejected-response generation and that TOUMAII currently lacks irrelevance examples—cases where the appropriate response is to recognize that a tool call is not warranted. Benchmark performance does not certify that a model is safe to connect to consequential systems; the paper calls for application-specific validation and deployment safeguards.
This work is described in an arXiv preprint, not an established consensus. The authors report releasing code and datasets, but broader assessment across models, data sources and real-world settings would help clarify how well the method generalizes. TOUMAII offers a substantial resource for studying tool-call preferences; whether reference-based preferences reliably translate into correct actions beyond the tested setup remains an open question.
- AI agents
- tool calling
- preference optimization
- training datasets
- direct preference optimization
- language models
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
AI sycophancy can take hold before preference training
Shared method: Both papers involve direct preference optimization: TOUMAII uses DPO to train tool-calling models on preference pairs, while the sycophancy study evaluates DPO as a preference-alignment stage in OLMo and Tülu. Their questions and outcomes differ, so the sycophancy results do not establish how TOUMAII training affects sycophancy.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2611.26722v1 — Original paper
Excerpt reference:
static/papers/2611.26722v1.md:349-422
Basis: Paper text
Source SHA-256:c1b11eb5154b36cfd2f7a82247055e0032537ecf644de3aa99dc12567b88e2d92611.10045v1 — Original paper
Excerpt reference:
static/papers/2611.10045v1.md:102-205
Basis: Paper text
Source SHA-256:905507190b630606e0a103b429620e779d7a0e5b8d97190c81793bddfda39d46
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
When AI learns from its own answers, agreement is not enough
Source published
Shared keywords: direct preference optimization, language models
Correct Answers Can Hide an AI Model’s Dependence on Metadata
Source published
Shared keywords: direct preference optimization, language models
Can switching off AI safety components make a model harder to jailbreak?
Source published
Shared keywords: direct preference optimization
Choosing Which AI Preferences to Label—and When Disagreement Helps
Source published
Shared keywords: direct preference optimization
AI debate can become training data—but agreement is not proof
Source published
Shared keywords: direct preference optimization