arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.17125cs.CL
收藏

ToolHACE:用于检测基于工具的大语言模型响应中幻觉的数据集

ToolHACE: A Dataset for Detecting Hallucinations in Tool-Based LLM Responses

Skoltech(斯科尔科沃科技学院);AIRI(人工智能研究中心);EPFL(洛桑联邦理工学院);T-Tech
Nikolay Ivanov, Sergey Pletenev, Elisei Rykov, Anatolii Frolov, Bogdan Monogov, Alexander Potekhin, Maria Marina, Daniil Moskovskiy, Viktor Moskvoretskii, Alexa… 展开作者

Nikolay Ivanov, Sergey Pletenev, Elisei Rykov, Anatolii Frolov, Bogdan Monogov, Alexander Potekhin, Maria Marina, Daniil Moskovskiy, Viktor Moskvoretskii, Alexander Panchenko, Ilseyar Alimova

AI总结:

针对现有工具增强型对话幻觉基准忽略工具调用后响应生成错误的问题,推出ToolHACE基准,实验发现工具调用后幻觉普遍存在,需用专用工具增强型语料库训练检测器。

摘要:

工具增强型语言模型将其响应建立在外部工具输出的基础上,仅依靠参数化知识即可提高可靠性。然而,即使调用了正确的工具并返回了准确信息,模型仍可能与这些输出相矛盾、遗漏关键细节或生成无依据的主张。现有的工具增强型对话幻觉基准主要关注工具调用阶段,评估是否选择了正确的工具和参数,却忽略了工具调用后响应生成过程中出现的错误。为解决这一差距,我们推出了ToolHACE,这是一个用于检测工具增强型大语言模型响应中幻觉的跨度级基准,涵盖五个细粒度幻觉类别。通过对现代幻觉检测器进行大量实验,我们发现工具调用后的幻觉普遍存在且仍难以检测。我们的结果进一步表明,有效的检测需要在专门的工具增强型语料库上进行训练,而与工具无关的幻觉数据集的迁移在该场景下表现不佳。这些发现强调,可靠的工具增强型语言系统幻觉检测需要专用的基准和模型。

英文摘要:

Tool-augmented language models ground their responses in external tool outputs, improving reliability beyond parametric knowledge alone. However, even when the correct tool is called and returns accurate information, models may still contradict such outputs, omit critical details, or generate unsupported claims. Existing hallucination benchmarks for tool-augmented dialogue primarily focus on the tool-calling stage, evaluating whether the correct tool and arguments are selected, while overlooking errors that arise during post-tool response generation. To address this gap, we introduce ToolHACE, a span-level benchmark for hallucination detection in tool-augmented LLM responses, covering five fine-grained hallucination categories. Through extensive experiments with modern hallucination detectors, we show that post-tool-call hallucinations are widespread and remain challenging to detect. Our results further demonstrate that effective detection requires training on specialized tool-augmented corpora, while transfer from tool-agnostic hallucination datasets performs poorly in this setting. These findings highlight the need for dedicated benchmarks and models for reliable hallucination detection in tool-augmented language systems.

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

↑