RefChecker:面向大型语言模型的基于参考的细粒度幻觉检测器与基准
RefChecker: Reference-based Fine-grained Hallucination Checker and Benchmark for Large Language Models
AI总结:
RefChecker提出声明三元组表示LLM响应中的声明,实现细粒度幻觉检测,构建含11k标注三元组的基准,性能较先前方法提升6.8-26.1分。
摘要:
大型语言模型(LLMs)展现了令人印象深刻的能力,但也存在令人担忧的幻觉倾向。本文提出RefChecker,一个引入声明三元组来表示LLM响应中声明的框架,旨在检测细粒度幻觉。在RefChecker中,提取器从响应中生成声明三元组,然后由检测器对照参考进行评估。我们划分了三种任务设置:零上下文、噪声上下文和准确上下文,以反映各种实际使用场景。我们构建了一个涵盖多种NLP任务的基准,并从七个LLM的2.1k个响应中标注了11k个声明三元组。RefChecker支持专有和开源模型作为提取器和检测器。实验表明,与其他粒度(如响应级、句子级和子句级声明)相比,声明三元组能够实现更优的幻觉检测。在我们的基准上,RefChecker比先前方法高出6.8到26.1分,且RefChecker的检测结果与人类判断高度一致。本工作已在https://github.com/amazon-science/RefChecker开源。
英文摘要:
Large Language Models (LLMs) have shown impressive capabilities but also a concerning tendency to hallucinate. This paper presents RefChecker, a framework that introduces claim-triplets to represent claims in LLM responses, aiming to detect fine-grained hallucinations. In RefChecker, an extractor generates claim-triplets from a response, which are then evaluated by a checker against a reference. We delineate three task settings: Zero, Noisy and Accurate Context, to reflect various real-world use cases. We curated a benchmark spanning various NLP tasks and annotated 11k claim-triplets from 2.1k responses by seven LLMs. RefChecker supports both proprietary and open-source models as the extractor and checker. Experiments demonstrate that claim-triplets enable superior hallucination detection, compared to other granularities such as response, sentence and sub-sentence level claims. RefChecker outperforms prior methods by 6.8 to 26.1 points on our benchmark and the checking results of RefChecker are strongly aligned with human judgments. This work is open sourced at https://github.com/amazon-science/RefChecker
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。