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

面向大语言模型的零资源幻觉预防方法

Zero-Resource Hallucination Prevention for Large Language Models

Pennsylvania State University(宾夕法尼亚州立大学);GE HealthCare(通用电气医疗集团)

Junyu Luo, Cao Xiao, Fenglong Ma

AI总结:

针对大语言模型幻觉问题,提出名为SELF-FAMILIARITY的预检测自评估技术,通过评估模型对输入概念的熟悉度、对不熟悉内容弃权生成来减少幻觉,在4种模型上表现优于现有方法,推动幻觉缓解转向事前预防。

摘要:

大语言模型(LLM)在各领域的广泛应用让“幻觉”问题受到关注,幻觉指LLM生成事实不准确或无依据信息的情况。现有语言助手的幻觉检测技术依赖复杂的模糊化、基于特定自由语言的思维链(CoT)技术,或是存在可解释性问题的基于参数的方法。此外,在生成后识别幻觉的方法无法阻止幻觉产生,且会受指令格式和模型风格影响,表现不稳定。本文提出一种新型的预检测自评估技术,名为SELF-FAMILIARITY(自熟悉度),核心是评估模型对输入指令中概念的熟悉程度,若遇到不熟悉的概念则弃权(不执行)生成回复。该方法模拟人类对不熟悉话题不予回应的能力,从而减少幻觉。我们在4种不同的大语言模型上验证了SELF-FAMILIARITY,证明其性能始终优于现有技术。研究结果推动LLM助手的幻觉缓解策略向事前预防方向转变,有望提升可靠性、适用性与可解释性。

英文摘要:

The prevalent use of large language models (LLMs) in various domains has drawn attention to the issue of "hallucination," which refers to instances where LLMs generate factually inaccurate or ungrounded information. Existing techniques for hallucination detection in language assistants rely on intricate fuzzy, specific free-language-based chain of thought (CoT) techniques or parameter-based methods that suffer from interpretability issues. Additionally, the methods that identify hallucinations post-generation could not prevent their occurrence and suffer from inconsistent performance due to the influence of the instruction format and model style. In this paper, we introduce a novel pre-detection self-evaluation technique, referred to as SELF-FAMILIARITY, which focuses on evaluating the model's familiarity with the concepts present in the input instruction and withholding the generation of response in case of unfamiliar concepts. This approach emulates the human ability to refrain from responding to unfamiliar topics, thus reducing hallucinations. We validate SELF-FAMILIARITY across four different large language models, demonstrating consistently superior performance compared to existing techniques. Our findings propose a significant shift towards preemptive strategies for hallucination mitigation in LLM assistants, promising improvements in reliability, applicability, and interpretability.

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

↑