Lune

EMNLP Findings2024

Uncertainty Calibration for Tool-Using Language Agents

Hao Liu, Zi-Yi Dou, Yixin Wang, Nanyun Peng, Yisong Yue

Abstract

There is increasing interest in equipping language models with the ability to leverage external tools for complex, goal-oriented tasks. However, interacting with external tools introduces inherent uncertainties due to imperfections and misalignments between the tools' outputs and the agents' internal models, often leading to suboptimal outcomes. We thus study the problem of tool-use calibration in language agents, and identify prompt design and execution trace selection as two primary areas that suffer from miscalibration. We then propose PROBECAL, which recalibrates the internal probabilities of tool-using language agents to better reflect the actual effectiveness of tool interactions, and enables a more appropriate selection of prompts and execution paths. We empirically show that PROBECAL can significantly and consistently improve off-the-shelf language models in tool-using applications.

Ask Lune

Ask anything. The answer quotes the paper.

Lune reads all of it and the papers around it, then shows you the passages behind every answer.

Questions to start from

Lune answers from

the full paper · 2 top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Cited by top-tier papers2

  1. Agentic Confidence CalibrationJiaxin Zhang, Caiming Xiong, Chien-Sheng WuICML 2026 · 7 citations
  2. Verifiable Reasoning for LLM-based Generative RecommendationXinyu Lin, Hanqing Zeng, Hanchao Yu, Yinglong Xia et al.SIGIR 2026 · 1 citation

Builds on19

  1. Toolformer: Language Models Can Teach Themselves to Use ToolsTimo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu et al.NeurIPS 2023 · 5,989 citations
  2. Calibrate Before Use: Improving Few-shot Performance of Language ModelsZihao Zhao, Eric Wallace, Shi Feng, Dan Klein et al.ICML 2021 · 1,843 citations
  3. ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIsYujia Qin, Shihao Liang, Yining Ye, Kunlun Zhu et al.ICLR 2024 · 1,469 citations
  4. ViperGPT: Visual Inference via Python Execution for ReasoningDídac Surís, Sachit Menon, Carl VondrickICCV 2023 · 732 citations
  5. PAL: Program-aided Language ModelsLuyu Gao, Aman Madaan, Shuyan Zhou, Uri Alon et al.ICML 2023 · 700 citations

Related papers

  1. Learning to Use Tools via Cooperative and Interactive AgentsZhengliang Shi, Shen Gao, Xiuyi Chen, Yue Feng et al.EMNLP Findings 2024 · 14 citations
  2. The Confidence Dichotomy: Analyzing and Mitigating Miscalibration in Tool-Use AgentsWeihao Xuan, Qingcheng Zeng, Heli Qi, Yunze Xiao et al.ACL 2026 · 4 citations
  3. JTPRO: A Joint Tool-Prompt Reflective Optimization Framework for Language AgentsSandip Ghoshal, Anshul Mittal, Jyotika Singh, Miguel Ballesteros et al.ACL Findings 2026
  4. ToolOmni: Enabling Open-World Tool Use via Agentic learning with Proactive Retrieval and Grounded ExecutionShouzheng Huang, Meishan Zhang, Baotian Hu, Min ZhangACL 2026
  5. A Joint Optimization Framework for Enhancing Efficiency of Tool Utilization in LLM AgentsBin Wu, Edgar Meij, Emine YilmazACL Findings 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines