arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.12187cs.CLcs.FLcs.LGmath.STstat.MLstat.TH
收藏

幻觉是不可避免的,但可以被统计上忽略

Hallucinations are inevitable but can be made statistically negligible

Department of Mathematics(数学系);The University of Hong Kong(香港大学);Department of Informatics(信息学院);King’s College London(伦敦国王学院);Division of Natural and Applied Sciences(自然科学与应用科学系);Duke Kunshan University(杜克大学昆山分校);School of Computer Science(计算机科学学院)

Atsushi Suzuki, Yulan He, Feng Tian, Zhongyuan Wang

AI总结:

本文探讨了语言模型幻觉的不可避免性与可忽略性,通过概率视角证明充分高质量训练数据可使幻觉概率降低,同时结合信息论指出概率理论结果更符合实际应用需求。

摘要:

幻觉,即语言模型生成非事实性内容的现象,对LM的实际部署构成重大挑战。尽管已有许多经验方法用于缓解幻觉,但最近的研究建立了计算理论结果,表明任何LM在无限多个输入上不可避免地会产生幻觉,无论训练数据的质量和数量以及语言模型架构和训练推理算法如何选择。虽然计算理论结果看似悲观,但在实际观点中其重要性仍存疑问。本文认为那些“固有”的不可避免性来自计算理论和对角论证,在原则上无法解释LLM的实际问题。我们通过从概率视角提出正向理论结果来证明这一主张。具体而言,我们证明了在训练数据质量与数量充足的情况下,幻觉可以被统计上忽略。有趣的是,我们的正向结果与计算理论结果并存,表明尽管在无限多个输入上无法完全消除幻觉,但通过改进算法和训练数据,其概率可以始终被降低。通过信息论视角评估这两个看似矛盾的结果,我们主张概率理论的正向结果比计算理论的负向结果更能反映实际考虑。

英文摘要:

Hallucinations, a phenomenon where a language model (LM) generates nonfactual content, pose a significant challenge to the practical deployment of LMs. While many empirical methods have been proposed to mitigate hallucinations, recent studies established a computability-theoretic result showing that any LM will inevitably generate hallucinations on an infinite set of inputs, regardless of the quality and quantity of training datasets and the choice of the language model architecture and training and inference algorithms. Although the computability-theoretic result may seem pessimistic, its significance in practical viewpoints has remained unclear. This paper claims that those "innate" inevitability results from computability theory and diagonal argument, in principle, cannot explain practical issues of LLMs. We demonstrate this claim by presenting a positive theoretical result from a probabilistic perspective. Specifically, we prove that hallucinations can be made statistically negligible, provided that the quality and quantity of the training data are sufficient. Interestingly, our positive result coexists with the computability-theoretic result, implying that while hallucinations on an infinite set of inputs cannot be entirely eliminated, their probability can always be reduced by improving algorithms and training data. By evaluating the two seemingly contradictory results through the lens of information theory, we argue that our probability-theoretic positive result better reflects practical considerations than the computability-theoretic negative result.

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

↑