NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Simulating Complex Multi-Turn Tool Calling Interactions in Stateless Execution Environments

Maxwell Crouse, Ibrahim Abdelaziz, Kshitij Fadnis, Siva Sankalp Patel, Kinjal Basu, Chulaka Gunasekara, Sadhana Kumaravel, Asim Munawar, Pavan KapanipathiarXiv 2026

TL;DR

DiGiT-TC is a novel synthetic data generation framework that creates complex, multi-turn tool-calling datasets without requiring a stateful execution backend. By flipping the traditional generation process—creating tool call sequences before user requests—it successfully trains smaller language models to handle implicit tool dependencies, achieving state-of-the-art performance among open-source models.

What Problem Does This Paper Address?

Fine-tuning smaller, cost-effective large language models (LLMs) to act as agents requires high-quality training data. For multi-turn tool calling, existing frameworks usually rely on synthetic data generated via stateful environments (like a live database or an active sandbox). This allows the data generator to verify if an agent's actions successfully changed the world state to meet a user's goal.

However, in real-world enterprise settings, strict data security constraints, privacy concerns, or the sheer lack of a live backend make stateful environments unavailable or too expensive to run at scale. Without a stateful backend, it is incredibly difficult to generate realistic trajectories containing implicit tool calls—steps an agent must take that the user didn't explicitly ask for (such as checking movie showtimes before booking a ticket). DiGiT-TC addresses this gap by generating complex multi-turn conversations purely from tool specifications.

Methods

DiGiT-TC (Data Generation and Transformation for Tool-Calling) introduces a pipeline that flips the standard data generation script:

  1. Plan Distillation (Flipped Generation): Instead of starting with a user prompt, DiGiT-TC prompts a teacher LLM to generate a complex sequence of tool calls first, using Pythonic references to link inputs and outputs. It treats this sequence as a Directed Acyclic Graph (DAG) and distills it down to the largest connected component to eliminate irrelevant tool calls.
  2. Request Generation & Implicit Selection: The tool sequence is randomly partitioned into implicit ($I$) and explicit ($E$) calls. The teacher LLM is then prompted to generate a user request based only on the explicit goals ($E$), forcing it to leave the prerequisite tools ($I$) unmentioned but necessary.
  3. Statistical Filtering: To ensure the generated user request isn't just a simple linear transcription of the tool calls, the framework calculates the Kendall's $\tau_b$ correlation coefficient between the argument order in the request and the tool calls, filtering out overly straightforward examples.
  4. Back Translation: To mitigate LLM hallucination and noise, an independent LLM attempts to generate tool calls from the newly created user request. If the resulting tool calls do not match the original plan, the sample is discarded.
  5. Error Augmentation: The pipeline simulates human errors (vague requests requiring clarification) and tool execution errors (providing hints to correct wrong tool arguments) to make the final dataset more robust.
Figure 2: Conversation generation stages in DiGiT-TC

Datasets

  • Training Data: The authors generated a new dataset of 5,000 multi-turn conversations using the license-friendly, open-weights gpt-oss-120b model as the teacher, utilizing tool specifications from the Toolmind dataset.
  • Evaluation Benchmarks: The framework was validated on the multi-turn categories of three standard benchmarks:
  • BFCL (Berkeley Function Calling Leaderboard)
  • $\tau$-bench (Retail and Airline domains)
  • ACEBench

Key Insights and Ideas

  • Flipping the Script Provides Control: Generating the tool execution plan before the user request gives fine-grained control over what information is hidden from the model, allowing the systematic injection of implicit dependencies.
  • Implicit Calls Aren't Just for Search: While 57% of implicit tool calls in their data were for information retrieval (e.g., search, fetch, get), a surprising 43% were non-search actions, such as mathematical computations or prerequisite object creation (e.g., initializing a blank business card before adding text).
  • Quality Filtering Beats Frontier Scale: Even when using a smaller, open-weights teacher model (gpt-oss-120b), the combination of back-translation and correlation filtering produced data high enough in quality to beat models trained on frontier data from GPT-4o.

Key Results

  • Fine-tuning Llama 3.1-8B-Inst on DiGiT-TC data boosted its BFCL multi-turn accuracy from a baseline of 9.3% to 35.5%, outperforming other open-source data generation methods like Toucan (22.6%) and Magnet (26.5%).
  • On ACEBench, DiGiT-TC achieved 46.0%, significantly outperforming the base Llama model (24.0%).
  • Ablation studies proved that removing implicit tool calls caused a steep 4% drop in overall performance, confirming that learning to infer unstated steps is a crucial capability for smaller models.
Table 1: Multi-Turn BFCL accuracy results (%) as compared to (1) frontier models, (2) open models, and (3) prior work trained from frontier / open models data (NR – Not Reported)

Limitations and Future Work

  • Environment Absence: If a high-quality, simulated stateful environment is available, DiGiT-TC will likely be less effective than methods that fully exploit live environment feedback.
  • Computational Cost: The multi-stage pipeline (distillation, request generation, back-translation, execution simulation) makes data generation computationally expensive per sample compared to single-shot generation approaches.
  • Token Efficiency: Future work could optimize token efficiency during generation, as the current method passes large sets of tool specifications that scale up token costs significantly.

Summary updated

BibTeX
@misc{crouse2026simulating,
  author = {Maxwell Crouse and Ibrahim Abdelaziz and Kshitij Fadnis and Siva Sankalp Patel and Kinjal Basu and Chulaka Gunasekara and Sadhana Kumaravel and Asim Munawar and Pavan Kapanipathi},
  title = {{Simulating Complex Multi-Turn Tool Calling Interactions in Stateless Execution Environments}},
  year = {2026},
  eprint = {2601.19914},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.19914},
}
Figure