LLMs Will Always Hallucinate, and We Need to Live With This

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Banerjee, Sourav, Agarwal, Ayushi, Singla, Saloni
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914944446889984
author Banerjee, Sourav
Agarwal, Ayushi
Singla, Saloni
author_facet Banerjee, Sourav
Agarwal, Ayushi
Singla, Saloni
contents As Large Language Models become more ubiquitous across domains, it becomes important to examine their inherent limitations critically. This work argues that hallucinations in language models are not just occasional errors but an inevitable feature of these systems. We demonstrate that hallucinations stem from the fundamental mathematical and logical structure of LLMs. It is, therefore, impossible to eliminate them through architectural improvements, dataset enhancements, or fact-checking mechanisms. Our analysis draws on computational theory and Godel's First Incompleteness Theorem, which references the undecidability of problems like the Halting, Emptiness, and Acceptance Problems. We demonstrate that every stage of the LLM process-from training data compilation to fact retrieval, intent classification, and text generation-will have a non-zero probability of producing hallucinations. This work introduces the concept of Structural Hallucination as an intrinsic nature of these systems. By establishing the mathematical certainty of hallucinations, we challenge the prevailing notion that they can be fully mitigated.
format Preprint
id arxiv_https___arxiv_org_abs_2409_05746
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LLMs Will Always Hallucinate, and We Need to Live With This
Banerjee, Sourav
Agarwal, Ayushi
Singla, Saloni
Machine Learning
As Large Language Models become more ubiquitous across domains, it becomes important to examine their inherent limitations critically. This work argues that hallucinations in language models are not just occasional errors but an inevitable feature of these systems. We demonstrate that hallucinations stem from the fundamental mathematical and logical structure of LLMs. It is, therefore, impossible to eliminate them through architectural improvements, dataset enhancements, or fact-checking mechanisms. Our analysis draws on computational theory and Godel's First Incompleteness Theorem, which references the undecidability of problems like the Halting, Emptiness, and Acceptance Problems. We demonstrate that every stage of the LLM process-from training data compilation to fact retrieval, intent classification, and text generation-will have a non-zero probability of producing hallucinations. This work introduces the concept of Structural Hallucination as an intrinsic nature of these systems. By establishing the mathematical certainty of hallucinations, we challenge the prevailing notion that they can be fully mitigated.
title LLMs Will Always Hallucinate, and We Need to Live With This
topic Machine Learning
url https://arxiv.org/abs/2409.05746