arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.04686cs.CLcs.AIcs.SE
收藏

ToolFailBench:诊断大语言模型智能体中的工具使用失败

ToolFailBench: Diagnosing Tool-Use Failures in LLM Agents

UC Berkeley(加州大学伯克利分校)

Harsh Soni

AI总结:

介绍ToolFailBench诊断基准,用于衡量金融、医学等领域1000个任务中的工具使用失败情况。通过规则分类器和大语言模型裁判标注失败类型,发现模型工具使用存在差异,强调评估应考量多方面。

摘要:

工具调用对现代语言模型智能体至关重要,但总体基准分数常掩盖工具使用失败之处。我们引入ToolFailBench,这是一个诊断基准,用于测量金融、医学、法律、网络安全和房地产领域1000个任务中的工具使用失败情况。通过规则分类器和两个大语言模型裁判进行多数投票,对每种情况进行标注。研究发现模型在工具使用上存在差异,工具使用评估应更全面。

英文摘要:

Tool calling is central to modern language model agents, but aggregate benchmark scores often hide where tool use fails. A model that never calls a needed tool and a model that calls the tool but ignores the result can look similar under final task accuracy. We introduce ToolFailBench, a diagnostic benchmark for measuring tool-use failures across 1,000 tasks in finance, medicine, law, cybersecurity, and real estate. Tool-required tasks return values the model wouldn't guess, forcing it to trust the tool while control tasks attach the same tools but should be answered directly. We label each trace with Tool-Skip, Result-Ignore, Output-Fabrication, and Unnecessary-Tool-Use, using a rule classifier and two LLM judges aggregated by majority vote. Across 19 headline models, the best reaches 86.33% Clean Tool-Use Rate, showing that faithful tool use is not saturated. More importantly, models with similar aggregate scores fail in different ways: most stay disciplined on no-tool controls, while Llama-3.1 models show an Always-Call pattern, and at the same parameter scale Llama-3.1-70B and Qwen2.5-72B differ by 89 percentage points on control-task accuracy. Tool-use evaluation should measure not only whether agents call tools, but whether they use tool outputs correctly and avoid tools when none is needed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑