arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.22416cs.CLcs.IR
收藏

大语言模型的幻觉检测与评估

Hallucination Detection and Evaluation of Large Language Model

Department of Electrical and Computer Engineering, University of California, Los Angeles(加州大学洛杉矶分校电气与计算机工程系)

Chenggong Zhang, Haopeng Wang, Hexi Meng

AI总结:

本文提出HHEM模型,通过轻量级分类框架有效检测大语言模型幻觉,提升效率并保持高准确率,通过对比分析不同模型的检测效果,发现HHEM在时间与准确性上表现优异,但总结任务中存在局部幻觉问题,引入分段检索并分析模型规模与幻觉的关系。

摘要:

大语言模型(LLMs)中的幻觉现象是一个重大挑战,生成误导性或不可验证的内容,损害信任和可靠性。现有评估方法如KnowHalu采用多阶段验证,但计算成本高。为此,我们整合Hughes Hallucination Evaluation Model(HHEM),一种轻量级基于分类的框架,独立于LLM判断,显著提高效率并保持高检测准确率。我们对各种LLMs的幻觉检测方法进行了比较分析,评估真阳性率(TPR)、真阴性率(TNR)以及问答(QA)和总结任务的准确性。结果显示,HHEM将评估时间从8小时减少到10分钟,而HHEM结合非伪造检查达到最高准确率(82.2%)和TPR(78.9%)。然而,HHEM在总结任务中的局部幻觉表现不佳。为此,我们引入基于段落的检索,通过验证较小的文本组件提高检测效果。此外,我们的累积分布函数(CDF)分析表明,较大模型(7B-9B参数)通常表现出较少的幻觉,而中间规模的模型显示更高的不稳定性。这些发现突显了需要平衡计算效率与稳健事实验证的结构化评估框架的重要性,以提高LLM生成内容的可靠性。

英文摘要:

Hallucinations in Large Language Models (LLMs) pose a significant challenge, generating misleading or unverifiable content that undermines trust and reliability. Existing evaluation methods, such as KnowHalu, employ multi-stage verification but suffer from high computational costs. To address this, we integrate the Hughes Hallucination Evaluation Model (HHEM), a lightweight classification-based framework that operates independently of LLM-based judgments, significantly improving efficiency while maintaining high detection accuracy. We conduct a comparative analysis of hallucination detection methods across various LLMs, evaluating True Positive Rate (TPR), True Negative Rate (TNR), and Accuracy on question-answering (QA) and summarization tasks. Our results show that HHEM reduces evaluation time from 8 hours to 10 minutes, while HHEM with non-fabrication checking achieves the highest accuracy \(82.2\%\) and TPR \(78.9\%\). However, HHEM struggles with localized hallucinations in summarization tasks. To address this, we introduce segment-based retrieval, improving detection by verifying smaller text components. Additionally, our cumulative distribution function (CDF) analysis indicates that larger models (7B-9B parameters) generally exhibit fewer hallucinations, while intermediate-sized models show higher instability. These findings highlight the need for structured evaluation frameworks that balance computational efficiency with robust factual validation, enhancing the reliability of LLM-generated content.

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

↑