TOUMAII releases ~4.5M-pair tool-calling preference dataset and generator

The paper introduces TOUMAII, a large-scale preference dataset for tool-calling containing about 4.5M validated preference pairs. The pairs are derived from conversations in Agent-Ark/Toucan-1.5M, which is released under apache-2.0. The dataset covers both multi-turn and single-turn interactions and includes parallel and sequential function calls.

The starting point is a gap the authors describe. Enterprise agents that run multi-step tasks have to interact with tools, call APIs or query databases, so tool-calling is a basic capability. Supervised fine-tuning (SFT) trains a model to produce the correct call but never contrasts it with a plausible incorrect one. That contrast matters here, because even a minor formatting error can invalidate a call and a wrong decision can derail the whole interaction. Direct preference optimisation (DPO) targets exactly this contrast, but it needs preference pairs rather than plain demonstrations. For tool-calling, and especially for realistic multi-turn settings, the authors say such data remains extremely scarce.

Alongside the dataset, the authors release TOUMAII-Gen, a synthetic data generation pipeline. It takes tool-calling SFT datasets as input and produces a preference dataset containing naturally occurring, model-generated tool-calling failure modes. In other words, the rejected side of each pair comes from the kinds of mistakes models actually make.

To check that the DPO data is useful, the authors fine-tuned a 3-billion-parameter model. They report performance parity with other high-quality tool-calling preference datasets. The summary of the paper gives no benchmark, metric or scores for this result.

To show that the pipeline is not tied to one source, the authors also release a second, small preference dataset derived from ToolACE (apache-2.0). They present it as evidence of the pipeline's source-agnostic nature. The complete code and datasets are released, with code on GitHub under the tum-ai organisation (toumaii-gen) and the datasets in a tum-ai collection on Hugging Face.

Key facts

  • TOUMAII is a tool-calling preference dataset of about 4.5M validated pairs, derived from Agent-Ark/Toucan-1.5M conversations (apache-2.0).
  • It includes multi-turn and single-turn interactions, with parallel and sequential function calls.
  • TOUMAII-Gen is a pipeline that consumes tool-calling SFT datasets and generates preference data from naturally occurring model-generated failure modes.
  • A fine-tuned 3-billion-parameter model reached performance parity with other high-quality tool-calling preference datasets.
  • A second small preference dataset derived from ToolACE (apache-2.0) is released to show the pipeline works on other sources; code and datasets are public.

Why it matters

Tool-calling is what lets an agent act: call an API, query a database, chain steps together. SFT teaches a model the right call but not how it differs from a plausible wrong one, and DPO is built for that contrast. The authors say preference data for tool-calling is extremely scarce, particularly for realistic multi-turn use. A dataset of about 4.5M pairs, plus a generator that can make more from other SFT sources, addresses that shortage directly.

Who it affects

Teams building enterprise agents that depend on reliable tool and API calls, and researchers or practitioners who want to apply DPO to tool-calling models. The pipeline is aimed at anyone who already holds a tool-calling SFT dataset and wants preference pairs from it.

How to use it

The authors release the complete code and datasets. The generator, TOUMAII-Gen, is at github.com/tum-ai/toumaii-gen, and the datasets are in the tum-ai collection "toumaii-generated-datasets" on Hugging Face. The pipeline takes tool-calling SFT datasets as input, so it can be pointed at a dataset of your own; the ToolACE-derived set is the worked example of a second source. The source datasets Toucan-1.5M and ToolACE are apache-2.0.

How solid is it

The evidence for quality is one experiment: a 3-billion-parameter model fine-tuned on the DPO data, reported as matching other high-quality tool-calling preference datasets. The abstract does not name the model, benchmark, metrics or scores, and does not name the comparison datasets. The result is parity, not improvement: the authors do not claim TOUMAII beats other datasets. How the preference pairs were validated is not described.

Risks and caveats

Parity with existing datasets means the main gain is scale, openness and a reusable generator, not demonstrated better performance. The data is synthetic and built from model-generated failures, so its usefulness depends on how well those failures resemble real ones. With no benchmark details available, the single 3B result is hard to judge or compare, and nothing is said about larger models. The size of the ToolACE-derived dataset is given only as small.

“Supervised fine-tuning (SFT) optimises for producing the correct call, but never contrasts it with a plausible incorrect one.”

— From the TOUMAII paper abstract