paper-with-me

홈 › Papers

Tools in the Loop: Quantifying Uncertainty of LLM Question Answering Systems That Use Tools

2025-05-22 · Panagiotis Lymperopoulos, Vasanth Sarathy

Modern Large Language Models (LLMs) often require external tools, such as machine learning classifiers or knowledge retrieval systems, to provide accurate answers in domains where their pre-trained knowledge is insufficient. This integration of LLMs with external tools expands their utility but also introduces a critical challenge: determining the trustworthiness of responses generated by the combined system. In high-stakes applications, such as medical decision-making, it is essential to assess the uncertainty of both the LLM's generated text and the tool's output to ensure the reliability of the final response. However, existing uncertainty quantification methods do not account for the tool-calling scenario, where both the LLM and external tool contribute to the overall system's uncertainty. In this work, we present a novel framework for modeling tool-calling LLMs that quantifies uncertainty by jointly considering the predictive uncertainty of the LLM and the external tool. We extend previous methods for uncertainty quantification over token sequences to this setting and propose efficient approximations that make uncertainty computation practical for real-world applications. We evaluate our framework on two new synthetic QA datasets, derived from well-known machine learning datasets, which require tool-calling for accurate answers. Additionally, we apply our method to retrieval-augmented generation (RAG) systems and conduct a proof-of-concept experiment demonstrating the effectiveness of our uncertainty metrics in scenarios where external information retrieval is needed. Our results show that the framework is effective in enhancing trust in LLM-based systems, especially in cases where the LLM's internal knowledge is insufficient and external tools are required.

📄 PDF Abstract BibTeX arXiv:2505.16113

Code (0)

등록된 구현이 없습니다.

Tasks

Information RetrievalQuestion AnsweringRAGRetrievalRetrieval-augmented GenerationUncertainty Quantification

Similar Papers 제목 키워드 기반

V-Loop: Visual Logical Loop Verification for Hallucination Detection in Medical Visual Question Answering

2026-01-26 · Mengyuan Jin, Zehui Liao, Yong Xia arxiv

Multimodal Large Language Models (MLLMs) have shown remarkable capability in assisting disease diagnosis in medical visual question answering (VQA). However, their outputs remain vulnerable to hallucinations (i.e., respo…

Visual Question AnsweringComputational Efficiency

Selectively Answering Ambiguous Questions

2023-05-24 · Jeremy R. Cole, Michael J. Q. Zhang, Daniel Gillick, Julian Martin Eisenschlos 외

Trustworthy language models should abstain from answering questions when they do not know the answer. However, the answer to a question can be unknown for a variety of reasons. Prior research has focused on the case in w…

Question Answering

Beyond statistical significance: Quantifying uncertainty and statistical variability in multilingual and multitask NLP evaluation

2025-09-26 · Jonne Sälevä, Duygu Ataman, Constantine Lignos arxiv

We introduce a set of resampling-based methods for quantifying uncertainty and statistical precision of evaluation metrics in multilingual and/or multitask NLP benchmarks. We show how experimental variation in performanc…

Machine TranslationQuestion Answering

UncertaintyZoo: A Unified Toolkit for Quantifying Predictive Uncertainty in Deep Learning Systems

2025-12-06 · Xianzong Wu, Xiaohong Li, Lili Quan, Qiang Hu arxiv

Large language models(LLMs) are increasingly expanding their real-world applications across domains, e.g., question answering, autonomous driving, and automatic software development. Despite this achievement, LLMs, as da…

Vulnerability DetectionAutonomous DrivingQuestion Answering

Agentic System as Compressor: Quantifying System Intelligence in Bits

2026-06-24 · Zihan Qin, Hongrui Zhang arxiv

Large language models are turning from isolated predictors into agentic systems: they call tools, retrieve evidence, obey environment constraints, use verifiers, and complete tasks through search and multi-turn interacti…

Question Answering