How Can Input Reformulation Improve Tool Usage Accuracy in a Complex Dynamic Environment? A Study on τ -bench

Venkatesh Mishra, Amir Saeidi, Satyam Raj, Mutsumi Nakamura, Jayanth Srinivasa, Gaowen Liu, Ali Payani, Chitta Baral

TL;DR

Large Language Models (LLMs) struggle with complex, multi-turn tool-use tasks due to issues like forgetting context and violating domain rules. This paper introduces IRMA, a novel framework that reformulates agent inputs with relevant domain rules and tool suggestions, significantly improving accuracy and reliability in dynamic environments.

What Problem Does This Paper Address?

LLMs are increasingly being developed as autonomous agents capable of using tools to perform complex tasks in dynamic, conversational environments. However, these agents often falter in real-world scenarios like customer support or enterprise operations. Specifically, in multi-turn interactions, LLMs struggle with:

  • Consistent Reasoning: Maintaining logical flow and making correct decisions over extended conversations.
  • Domain-Specific Policies: Adhering to intricate rules and constraints that govern task completion.
  • Information Extraction: Accurately extracting and utilizing information from long conversation histories.

These failures can lead to incorrect actions, policy violations, and ultimately, task failure. The paper aims to diagnose these nuanced failure modes and propose a method to mitigate them by improving the agent's input before it takes any action.

Methods

The authors propose a three-pronged approach:

  1. Error Classification: A comprehensive manual analysis of common errors in LLM agent conversations within the $\tau$-bench benchmark. This taxonomy helps identify the root causes of failures.
  2. Manual Input Reformulation: Experimenting with human-guided prompt reformulations to see if providing additional context (domain rules, tool suggestions) improves agent decision-making.
  3. IRMA Framework: Automating the input reformulation process. IRMA is a multi-agent framework that augments the user's query with:
  4. Memory: Storing conversation history to maintain context.
  5. Constraints: Extracting relevant domain policies to guide decisions.
  6. Tool Suggestions: Providing a curated list of relevant tools to aid selection.

This framework aims to enhance the agent's input quality, leading to more accurate and context-aware decisions before any action is taken, rather than relying on post-hoc correction.

Datasets

The primary dataset used for evaluation is $\tau$-bench [11]. This benchmark simulates realistic multi-turn interactions in two domains:

  • Airline: 50 tasks focused on flight reservation scenarios.
  • Retail: 115 tasks focused on shopping and order management.

The paper also mentions analyzing errors related to "Ground Truth (GT) errors" and "User Instruction (UI) errors" within $\tau$-bench, and evaluating IRMA's performance after removing tasks affected by these issues.

Key Insights and Ideas

  • Input Quality is Paramount: The core idea is that improving the input to the LLM agent is more effective than solely relying on post-hoc error correction methods like self-reflection. By providing a richer, more structured input, the agent is better equipped to make correct decisions from the outset.
  • Contextual Memory and Constraints are Crucial: The success of IRMA highlights the importance of explicitly feeding the agent its conversation history (memory) and relevant domain rules (constraints). LLMs, even powerful ones, can struggle to retain this information implicitly over long interactions.
  • Tool Selection is a Bottleneck: Even with a clear task, LLMs can struggle to pick the most appropriate tool, especially when tool names are similar or when context is lost. IRMA's tool suggestion module directly addresses this.
  • Robustness to Noisy Data: IRMA shows increased robustness when tasks with ground truth or user instruction errors are removed, suggesting it's less sensitive to imperfect supervision compared to other methods.

Key Results

IRMA significantly outperforms baseline methods like ReAct, Function Calling (FC), and Self-Reflection (SR) on the $\tau$-bench benchmark.

  • Overall Pass@1: IRMA outperforms ReAct, SR, and FC by 6.1%, 3.9%, and 0.4% respectively.
  • Airline Tasks (vs. Closed-Source Models): IRMA achieves improvements of 20%, 22.4%, and 9.2% over Gemini 1.5 Pro-FC, Claude 3.5 Haiku-FC, and Claude 3.5 Sonnet-FC, respectively.
  • Reliability and Consistency (Pass@5): IRMA significantly outperforms ReAct and FC by 16.1% and 12.6% respectively in overall pass@5 scores, demonstrating superior reliability. It also outperforms Self-Reflection by 19.1% in pass@5.
  • Efficiency: IRMA solves tasks in fewer turns than competing methods, indicating greater efficiency. For example, it uses 7.9 fewer turns than Self-Reflection in retail tasks.

Limitations and Future Work

  • Pass@5 Performance: While IRMA shows superior reliability, its overall pass@5 score hovers around 43%, indicating room for further improvement in tool-using agent reliability.
  • Benchmark Specificity: The current evaluation is limited to the $\tau$-bench benchmark. Future work should involve evaluating IRMA across a broader range of real-world environments to assess its generalizability.
  • Unfair Reward Modeling: The authors suggest that $\tau$-bench itself might suffer from issues related to unfair reward modeling, which could impact evaluation. Developing more robust evaluation environments is crucial.
  • Component Complementarity: Ablation studies show that while all components (Memory, Constraints, Tool Suggestion) contribute, Memory and Constraints are particularly vital for long-horizon reasoning and policy adherence. Future work could explore optimal combinations and further refine these modules.

Summary updated

BibTeX
@inproceedings{mishra2025how,
  author = {Venkatesh Mishra and Amir Saeidi and Satyam Raj and Mutsumi Nakamura and Jayanth Srinivasa and Gaowen Liu and Ali Payani and Chitta Baral},
  title = {{How Can Input Reformulation Improve Tool Usage Accuracy in a Complex Dynamic Environment? A Study on τ -bench}},
  booktitle = {MTI-LLM @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=DNLfJbGV6D},
}
Figure