为什么LLM会产生幻觉,以及如何获得(证据)闭包:面向忠实自然语言生成的感知、内涵与外延学习
Why LLMs Hallucinate, and How to Get (Evidential) Closure: Perceptual, Intensional, and Extensional Learning for Faithful Natural Language Generation
AI总结:
本文指出LLM幻觉源于输出缺乏证据闭包,提出通过感知、外延和内涵学习约束模型输出,并设计Learn-Babble-Prune程序拒绝无证据同义输出以实现忠实生成。
摘要:
我们表明,LLM产生幻觉是因为其输出未被限制为与其有证据支持的主张同义:我们将此条件称为证据闭包。关于句子真假的信息在标准神经概率语言模型设置中无法被统计识别,因此无法以此为条件来生成新字符串。随后,我们展示了如何约束LLM以产生满足证据闭包的输出。多模态LLM必须学习外部世界(感知学习);必须学习从字符串到世界状态的映射(外延学习);并且,为了在超越证据体系进行泛化时保持流畅性,必须学习从字符串到其同义词的映射(内涵学习)。单模态LLM的输出必须与已验证证据集中的字符串同义。最后,我们提出了一种启发式程序Learn-Babble-Prune,通过拒绝与LLM有证据支持的主张不同义的输出,从而生成忠实的LLM输出。
英文摘要:
We show that LLMs hallucinate because their output is not constrained to be synonymous with claims for which they have evidence: a condition that we call evidential closure. Information about the truth or falsity of sentences is not statistically identified in the standard neural probabilistic language model setup, and so cannot be conditioned on to generate new strings. We then show how to constrain LLMs to produce output that does satisfy evidential closure. A multimodal LLM must learn about the external world (perceptual learning); it must learn a mapping from strings to states of the world (extensional learning); and, to achieve fluency when generalizing beyond a body of evidence, it must learn mappings from strings to their synonyms (intensional learning). The output of a unimodal LLM must be synonymous with strings in a validated evidence set. Finally, we present a heuristic procedure, Learn-Babble-Prune, that yields faithful output from an LLM by rejecting output that is not synonymous with claims for which the LLM has evidence.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。