DEV Community

Cover image for LLMs will lie forever
Mike Young
Mike Young

Posted on • Originally published at notes.aimodels.fyi

LLMs will lie forever

Can we ever really trust AI? As LLMs become more advanced, they still face a major issue: hallucinations—when they produce false or nonsensical information. A recent paper argues that this problem isn’t a temporary glitch, but a permanent feature of how AI works. If true, this could and probably should change how we approach AI in the future.

By the way, you can check out a short video summary of this paper and many others on the new Youtube channel!

Overview

The paper, titled "LLMs Will Always Hallucinate, and We Need to Live With This," makes a bold claim: hallucinations in AI are inevitable because of the way these systems are built. The authors argue that no matter how much we improve AI—whether through better design, more data, or smarter fact-checking—there will always be some level of hallucination.

Their argument is grounded in mathematical theory. By using ideas from computational theory and Gödel's Incompleteness Theorem, they show that certain limitations are unavoidable. If they’re right, we’ll have to rethink our goals for AI systems, especially when it comes to making them completely reliable.

The paper builds its case through a series of mathematical proofs, each explaining a different reason why hallucinations are baked into the nature of LLMs. It ends by discussing the real-world consequences of this, both practically and ethically.

Simple Explanation

One way to think of how LLMs work is that they’re like basically playing a game where you’re asked to describe a picture, but you can only see parts of it. Sometimes, you can guess what’s missing, but other times you’ll get it wrong because you don’t have the whole image and there’s something unexpected in the obscured parts. That’s what AI hallucinations are: the system is filling in gaps, but it doesn’t always guess correctly.

The authors of the paper argue that this isn’t a sign of imperfect technology but instead it’s how AI operates at a fundamental level. No matter how much we tweak or improve these systems, they can never know everything perfectly. And even if they had access to all the data in the world, there are still deep mathematical reasons why they can’t always retrieve the right information.

The main takeaway is that instead of trying to make AI perfect, we should accept its flaws and focus on how to manage them effectively.

Technical Explanation

The authors of the paper rely on mathematical proofs to explain why hallucinations are inevitable in large language models. First, they show that training data can never be complete, drawing on Gödel-like statements to demonstrate that no dataset can contain all facts. This means that hallucinations are unavoidable because of incomplete information.

Next, they explore information retrieval by comparing it to a well-known problem in computational theory, the Acceptance Problem, which is undecidable. In short, this means that AI models can’t be expected to retrieve the correct information 100% of the time. They apply the same reasoning to the issue of understanding user intent, concluding that it’s equally undecidable for AI systems to perfectly interpret what someone is asking.

Finally, they examine the process of generating language itself. By proving that the Halting Problem—determining when a process will finish—is undecidable for LLMs, they argue that AI systems can’t predict in advance what they will say. This opens the door for hallucinations.

The paper also shows that no fact-checking system can correct all hallucinations. Even a perfect fact-checker would still be unable to solve the underlying computational problems that cause hallucinations in the first place.

Critical Analysis

While the paper presents strong mathematical evidence, some points need further exploration.

For one, the paper uses a broad definition of “hallucination.” The paper seems to suggest that any deviation from perfect knowledge is a hallucination, but in practical terms, many AI systems function well even with some margin for error. For many applications, “good enough” might suffice, even if hallucinations still happen occasionally.

Also, while the paper focuses on deterministic outcomes, modern AI systems operate probabilistically, which might mean the conclusions about undecidability don’t entirely apply. Even if perfect behavior is unreachable, it’s possible to reduce hallucinations to a level where they’re practically unnoticeable.

The paper could also benefit from more empirical evidence. Testing these ideas in real-world AI models would strengthen the argument. Additionally, the discussion is mostly centered on transformer-based models, leaving open the question of whether these limitations apply to other AI architectures as well.

Finally, the paper doesn’t address how humans deal with incomplete information and mistakes in their own thinking. Comparing AI hallucinations with human error could add a valuable perspective.

Conclusion

If the paper’s conclusions hold true, we may need to rethink how we develop and use AI systems. Instead of aiming for perfection, we should focus on managing and minimizing the effects of hallucinations. We should also work on improving AI literacy so users understand these systems' limitations. Additionally, designing AI applications that can tolerate occasional mistakes could be the best way forward.

I think this research raises important questions. A few that come to mind…

  • How can we measure and reduce the real-world impact of hallucinations?

  • Are there new AI architectures that might avoid some of these problems?

  • How should regulations and ethical standards adapt to account for the fact that AI will always have flaws?

I’d love to hear your thoughts on this. Do you find the mathematical arguments convincing? How do you think this will affect the future of LLMs and, specifically, how we think about reliability? Let me know in the Discord.

If you found this analysis useful, consider subscribing for more breakdowns of AI/ML research. And feel free to share this post with others interested in these kinds big questions about AI’s future. Thanks for reading!

Top comments (2)

Collapse
 
webbureaucrat profile image
webbureaucrat

It's honestly not that bold of a claim. Sam Altman himself has said as much in an interview. Someone asked him about solving the hallucination problem, and the way he explained it (paraphrasing) is that zero hallucinations just aren't the goal because the whole point of LLMs is that they are able to make things up and be creative. You can tone down the number of hallucinations you get, but when you do that, you lose the value of the creativity, and at a certain point if you do that enough you basically end up with a really stupid version of a search engine which is both really slow and can't reliably tell you where it got its information.

Collapse
 
tim_birkett profile image
Tim Birkett

Nice article. We need to stop playing it down and calling it a "hallucination" when it is really a lie.

Mathematical analysis of AI lies is all well and good but it misses political and commercial factors. I have no doubt that AI companies will be coercing models into promotion of certain views or ideas and they'll definitely be programmed to return you something, even if it's nonsense. Like a supermarket delivery item substitution: it's better to send you something even if it's totally wrong.