计算机科学 > 机器学习
[提交于 2026年8月27日 (v1),最后修订于 2026年11月30日 (此版本, v2)]
标题:The Calls are Coming from Inside the Model: Investigating Probe-based Detection of Tool-Calling Errors in LLMs
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:The hidden states of large language models (LLMs) are known to capture rich information relating to model knowledge and behavior that can be hard to extract from examination of input and output alone. As LLM-based systems increasingly interface with the external world, one area of concern is detecting incorrect or improper use of tools. Motivated by this, we study the effectiveness of using linear probes to detect incorrect tool-calls, measuring probe efficacy across 18 tool-calling LLMs evaluated on the Berkeley Function Calling Leaderboard and 35k tool-calling instances from Glaive. Overall, we find that probing is an effective means to catch a range of different tool-calling errors, including errors arising from using an argument that has the wrong value but the correct type, which might not be recorded by standard logging frameworks. Important factors in success include model size, probing layer, and model post-training type. We also show that probes are capable of generalizing to novel types of errors, which is critical in real world deployments.
提交历史
来自:Eric Yeats[v1] 2026年8月27日 星期四 22:26:25 UTC (3,391 KB)
[v2] 2026年11月30日 星期一 22:20:26 UTC (4,035 KB)