arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.14227cs.SEcs.CL
收藏

工具增强语言模型中的故障基准测试

Benchmarking Failures in Tool-Augmented Language Models

Carnegie Mellon University(卡内基梅隆大学)

Eduardo Treviño, Hugo Contant, James Ngai, Graham Neubig, Zora Zhiruo Wang

AI总结:

该研究提出FAIL-TALMS基准测试工具增强语言模型在查询不充分、工具不可用场景下的故障,发现多数模型难识别缺失要素,还验证了AAH人机交互方法的有限缓解效果。

摘要:

工具的集成已将语言模型(LM)的能力从普通文本生成拓展至多场景应用。然而,工具增强语言模型(TaLM)通常假设可获得“完美”的信息且工具始终可用,这在现实世界中并不成立。为系统研究TaLM的缺陷,我们提出FAIL-TALMS基准,涵盖两类主要故障:用户查询表述不充分、工具不可用。FAIL-TALMS包含1749个示例,涉及21个类别下的906个工具,涵盖单工具与多工具使用场景。我们评估了性能领先的专有模型与开源模型,发现除Claude外,当前所有模型都难以识别缺失的工具或信息。此外,为研究故障的可能缓解方案,我们引入实时人机交互的Ask-and-Help(AAH,询问求助)方法,用于补充缺失信息或替换失效工具。AAH在查询表述不充分时能帮助模型更准确地完成任务,但在复杂工具故障时带来的提升微乎其微。

英文摘要:

The integration of tools has extended the capabilities of language models (LMs) beyond vanilla text generation to versatile scenarios. However, tool-augmented language models (TaLMs) often assume 'perfect' information access and tool availability, which may not hold in the real world. To systematically study TaLMs' imperfections, we introduce the FAIL-TALMS benchmark, featuring two major failures: under-specified user queries and non-available tools. FAIL-TALMS contains 1,749 examples using 906 tools across 21 categories, including single- and multi-tool usage. We evaluate top-performing proprietary and open-source models, and find all current models except for Claude struggle to recognize missing tools or information. Further, to study possible mitigation of the failures, we enable real-time human interaction, named the Ask-and-Help (AAH) method, to provide missing information or replace non-functional tools. While AAH can help models solve tasks more correctly when queries are under-specified, it brings minimal benefit when complex tools are broken.

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

↑