arXiv cs.CL· Zihuiwen Ye, Lukas Aichberger, Michael Kirchhof, Sinead Williamson, Luca Zappella, Yarin Gal, Arno Blaas, Adam Golinski·· 11 小时前AI 评分31
LLM Function-Calling 的不确定性量化评估
Uncertainty Quantification for LLM Function-Calling
AI 导读
首个针对 LLM Function-Calling(FC)场景的不确定性量化(UQ)评估显示,Semantic Entropy 等多采样 UQ 方法在此场景下相比简单单采样方法并无明显优势。研究进一步发现,按抽象语法树解析结果对 FC 输出聚类可提升多采样 UQ 方法表现;对单采样方法,将基于 logit 的评分限制在语义有意义的 token 上可改善校准,并在较小幅度上提升弃答时的效用。
正文 · 原文
Abstract:Large Language Models (LLMs) are increasingly deployed to autonomously solve real-world tasks. A key ingredient for this is the LLM Function-Calling paradigm, a widely used approach for equipping LLMs with tool-use capabilities. However, an LLM calling functions incorrectly can have severe implications, especially when their effects are irreversible, e.g., transferring money or deleting data. Hence, it is of paramount importance to consider the LLM's confidence that a function call solves the task correctly prior to executing it. Uncertainty Quantification (UQ) methods can be used to quantify this confidence and prevent potentially incorrect function calls. In this work, we present what is, to our knowledge, the first evaluation of UQ methods for LLM Function-Calling (FC). While multi-sample UQ methods, such as Semantic Entropy, show strong performance for natural language Q\&A tasks, we find that in the FC setting the entropy-based multi-sample methods we evaluate offer no clear advantage over simple single-sample UQ methods. Additionally, we find that the particularities of FC outputs can be leveraged to improve the performance of existing UQ methods in this setting. Specifically, multi-sample UQ methods benefit from clustering FC outputs based on their abstract syntax tree parsing, while for single-sample UQ methods, restricting the logit-based score to semantically meaningful tokens leaves discrimination essentially unchanged but improves calibration and, by smaller margins, the utility of the score under abstention.
| Subjects: | Computation and Language (cs.CL) |
| Cite as: | arXiv:2604.22985 [cs.CL] |
| (or arXiv:2604.22985v2 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2604.22985 arXiv-issued DOI via DataCite |
|
| Journal reference: | TMLR 2026 |
Submission history
From: Adam Goliński [view email]
[v1]
Fri, 24 Apr 2026 19:56:39 UTC (1,192 KB)
[v2]
Fri, 30 Oct 2026 23:08:24 UTC (434 KB)
来源:arXiv cs.CL · arxiv.org