No Free Lunch: Fundamental Limits of Learning Non-Hallucinating Generative Models
Changlong Wu, Ananth Grama, Wojciech Szpankowski
Abstract
Generative models have shown impressive capabilities in synthesizing highquality outputs across various domains. However, a persistent challenge is the occurrence of "hallucinations", where the model produces outputs that are plausible but invalid. While empirical strategies have been explored to mitigate this issue, a rigorous theoretical understanding remains elusive. In this paper, we develop a theoretical framework to analyze the learnability of non-hallucinating generative models from a learning-theoretic perspective. Our results reveal that non-hallucinating learning is statistically impossible when relying solely on the training dataset, even for a hypothesis class of size two and when the entire training set is truthful. To overcome these limitations, we show that incorporating inductive biases aligned with the actual facts into the learning process is essential. We provide a systematic approach to achieve this by restricting the facts set to a concept class of finite VC-dimension and demonstrate its effectiveness under various learning paradigms. Although our findings are primarily conceptual, they represent a first step towards a principled approach to addressing hallucinations in learning generative models.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Calibrated Language Models Must Hallucinate cites SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- Innovation: An Almost Characterization of Hallucination cites Calibrated Language Models Must Hallucinate
- Hallucination is a Consequence of Space-Optimality: A Rate-Distortion Theorem for Membership Testing cites Calibrated Language Models Must Hallucinate
Cited by top-tier papers2
Builds on7
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language ModelsPotsawee Manakul, Adian Liusie, Mark J. F. GalesEMNLP 2023 · 331 citations
- Calibrated Language Models Must HallucinateAdam Tauman Kalai, Santosh S. VempalaSTOC 2024 · 58 citations
- Smoothed Analysis with Adaptive AdversariesNika Haghtalab, Tim Roughgarden, Abhishek ShettyFOCS 2021 · 4 citations
- Learning Functional Distributions with Private LabelsChanglong Wu, Yifan Wang, Ananth Grama, Wojciech SzpankowskiICML 2023 · 4 citations
Related papers
- On the Limits of Language Generation: Trade-Offs between Hallucination and Mode-CollapseAlkis Kalavasis, Anay Mehrotra, Grigoris VelegkasSTOC 2025 · 2 citations
- Knowledge Verification to Nip Hallucination in the BudFanqi Wan, Xinting Huang, Leyang Cui, Xiaojun Quan et al.EMNLP 2024 · 8 citations
- Hallucinations as Orthogonal Noise: Inference-Time Manifold Alignment via Dynamic Contextual OrthogonalizationMingkuan Zhao, Wentao Hu, Tianchen Huang, Yuheng Min et al.ACL Findings 2026
- Can Knowledge Editing Really Correct Hallucinations?Baixiang Huang, Canyu Chen, Xiongxiao Xu, Ali Payani et al.ICLR 2025
- FACT: Mitigating Inconsistent Hallucinations in LLMs via Fact-Driven Alternating Code-Text TrainingXinxin You, Qixin Sun, Chenwei Yan, Xiao Zhang et al.NeurIPS 2025
