arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.11817cs.CLcs.AIcs.LG
收藏

幻觉不可避免:大型语言模型的固有局限

Hallucination is Inevitable: An Innate Limitation of Large Language Models

School of Computing, National University of Singapore(新加坡国立大学计算机学院)

Ziwei Xu, Sanjay Jain, Mohan Kankanhalli

AI总结:

该研究通过形式化世界与学习理论证明 LLM 无法学习全部可计算函数,因而幻觉不可消除,并实验刻画高风险任务及缓解方法的局限。

摘要:

幻觉已被广泛认为是大型语言模型(LLM)的一个重大缺陷。已有许多工作试图降低幻觉的程度。迄今为止,这些努力大多是经验性的,无法回答幻觉是否能够被完全消除这一根本性问题。本文中,我们将该问题形式化,并证明在 LLM 中消除幻觉是不可能的。具体而言,我们定义了一个形式化世界,其中幻觉被定义为可计算 LLM 与可计算真值函数之间的不一致。借助学习理论的结果,我们表明 LLM 无法学习所有可计算函数,因此如果被用作通用问题求解器,将不可避免地产生幻觉。由于形式化世界只是复杂得多的现实世界的一部分,现实世界中的 LLM 同样不可避免会产生幻觉。此外,对于受可证明时间复杂度约束的现实世界 LLM,我们描述了容易产生幻觉的任务,并通过实验验证了我们的论断。最后,利用形式化世界框架,我们讨论了现有幻觉缓解方法可能的机制与功效,以及其对 LLM 安全部署的实践启示。

英文摘要:

Hallucination has been widely recognized to be a significant drawback for large language models (LLMs). There have been many works that attempt to reduce the extent of hallucination. These efforts have mostly been empirical so far, which cannot answer the fundamental question whether it can be completely eliminated. In this paper, we formalize the problem and show that it is impossible to eliminate hallucination in LLMs. Specifically, we define a formal world where hallucination is defined as inconsistencies between a computable LLM and a computable ground truth function. By employing results from learning theory, we show that LLMs cannot learn all the computable functions and will therefore inevitably hallucinate if used as general problem solvers. Since the formal world is a part of the real world which is much more complicated, hallucinations are also inevitable for real world LLMs. Furthermore, for real world LLMs constrained by provable time complexity, we describe the hallucination-prone tasks and empirically validate our claims. Finally, using the formal world framework, we discuss the possible mechanisms and efficacies of existing hallucination mitigators as well as the practical implications on the safe deployment of LLMs.

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

↑