AI chronicles - Part 2

I like the fact that AI can hallucinate - a brief enquiry follows:

One of the standard criticisms against large language models ( even the latest frontier models) is that they hallucinate. Before we tackle the broader issue of hallucination in AI, we need to clarify what hallucination is. 

In the psychological and philosophical sense, a hallucination is the experience of perceiving something, whether a visual image, a sound, a smell, a taste, or a tactile sensation, that is not anchored in external reality and therefore cannot be confirmed by one’s own sensory framework. In other words, the mind constructs a reality that lacks any objective basis, and the individual accepts this construction as if it were genuine. A hallucinating person “sees” objects that aren’t there, “hears” voices that have no source, or “feels” textures that have no physical counterpart. This blurring of lines between perception and external validation is what distinguishes a true hallucination from ordinary imagination or daydreaming, where that differentiation is clear. 

Do AI models hallucinate, given that large language models are self-contained systems lacking real time sensory inputs? In my view, the proper term for what AI does when it does not know something is confabulation and not Hallucination. LLMs fill gaps in its own incompleteness and fabricate content from what it knows. It has learned statistical patterns, co‑occurrences, and syntactic structures from a massive corpus, and even when it reaches out in real time through RAG processes, what it deals with and gets is only text. That rooted physicality or embodiment that gives rise to sensory inputs, feedback and validation is absent in LLMs. Consequently, when faced with a query that lies outside the scope of its training material, the model struggles to produce a factual answer; instead, it generates text that appears plausible based on what it is trained on. 

The meaning of the word confabulation refers to distortions that stem from memory recalls.Even in the latest frontier models released by Anthropic, OpenAI, and Gemini, the disclaimer at the bottom of the bot hasn’t gone away. We are still told that AI-generated output can contain mistakes. No matter how much money, time and infrastructure we throw at re-training, fine-tuning LLMs , we cannot entirely eliminate its tendency to confabulate. So the key question I wonder about is this: Are such confabulations a defect, something to be curbed, constrained, or engineered out of large language models? Or could it be useful as a feature of what a large language model fundamentally is and should be?

The odd thing is that humans confabulate all the time. And we are comfortable with it. The startling revelation from behavioral sciences over the last few decades is that we are not as rational or factual as we like to think we are. We act as if we know things, and that “as if” often carries more weight than any claim to certainty. In our daily lives, we don’t operate purely on cold, hard data or act as purely rational beings as economists once imagined us to be. Most of the time, we fill in gaps with what feels plausible, with patterns we’ve perceived in the past, and with expectations we have learned to trust. We rely on shortcuts, on educated guesses, and on the stories we tell ourselves to make the world feel coherent. In short, we make up, confabulate a narrative, even when facts are murky, and we don’t know.

On the positive side, it is precisely this ability to build on what we already know, to reach for connections that are not immediately visible, that makes human creativity possible. Some of the most profound thought experiments in both science and the arts have not emerged from the cold rationality of established facts; they have arisen when scientists and artists have loosened their reins of rationality and allowed themselves to look beyond known thought patterns, generating ideas that lie beyond the confines of the factually verified knowledge. Confabulation is a good thing, if it is deliberate and controlled. This harks back to my first essay in this series, where I argued that a person with domain knowledge using AI is better positioned to interact meaningfully with AI responses than a novice. When AI seemingly hallucinates or fills gaps in its own knowledge, an expert could, under the right circumstances, treat AI's artful confabulation and segue into creative conversations with it. It is good to be obsessed with factual accuracy, but ironically, but sometimes good things happen when existing facts are challenged and new facts emerge.

One of my favorite books of all time is Arthur Koestler’s remarkable study, “The Act of Creation.” Koestler defines creativity as the collision of two distinct and unconnected matrices of thought that produces what he calls an “aha” moment. Think of Archimedes connecting rising water levels in the tub with the problem of measuring the volume of gold in the king’s crown. Seemingly disconnected, isn’t it, but that collision produced his extraordinary insight into measuring weight and volume. Such collisions of analogies and metaphors shift our reference points, forcing the mind to view a problem from an entirely new angle. Take jokes and laughter for instance. It is the same principle at work.What makes a joke a joke is that we expect the narrative to move in one direction, only to have it abruptly shifted into something entirely different. This shift releases nervous energy which spills out as laughter. In practice, if you closely think about it, both the “aha” of discovery and the “haha” moments of comedy are not different from each other. Both result from a deliberate juxtaposition of seemingly unrelated concepts and entertain paradoxes in a single frame of perception.

Coming back to the idea of AI’s Hallucination, anyone who has spent some time with AI knows that it can make up things as it goes along. Give it any two ideas and it will figure out connection, albeit, in a convoluted manner. I do that all the time. Sometimes, while driving, something will suddenly strike me, and I will run it by AI as soon as I get a chance. What it usually gives me are a series of possible intersections that I can work with. I don't accept everything , but I do get curious about the connections it bubbles up. I love the fact that here is a tool that can pick up two disparate ideas that, on the face of it, have no visible connection, and can figure out, scanning its vast repository of written text and images, how ideas can be viewed together. I think that's a very, very powerful aid to thought. What makes such confabulations dangerous or misleading is when we start relying on this tool for tasks in which accuracy is of paramount importance. For instance, If you're writing out a legal paper, or a student essay, or doing a piece for a magazine, and you rely on AI to bring you sources, you have to be careful and more vigilant. But If you just rely on AI's ability to come up with these strange intersections of ideas and play around with it, and not get sucked into it, I think it's a great feature of the large language model and shouldn’t ever go away.

In Brian Christian's 2021 book, The Alignment Problem, a book which I encourage everyone to read and a book that was very prescient of the AI revolution that was to come a couple of years later, Brian brings out very clearly that no matter what we do or how much we bridge the gap between machines and humans, these are two different ways of looking at intelligence and therefore there will be a dissonance between the two. We shouldn't confuse one type of intelligence for the other. AI is about data, statistics, algorithms and prediction. And where ever there is prediction, there is bound to be deviation.

We are a long way away from achieving the goal of completely bridging the alignment problem completely. The sense you get out of Brian Christian's book after you read it is that there's always going to be that gap between AI and Humans. An optimistic way of looking at that gap is that that's the gap in which human judgment and decision making can flourish. We don't want a machine to become a human. That's the last thing we want, and that's the thing we fear most. What we want the machine to be is an alternate source, a capable tool to enhance our own productivity, which is what a tool should do for us. Ironically and thankfully because of alignment problems, models are tuned to churn out connections, intersections, and associations that we may have not have factored in at all. It is both a blessing and curse, depending on how you look at it. That is the nature of the beast.

In summary, I don’t mind the confabulations of AI. I welcome it, it keeps me on my thinking toes, and there have been times, when these AI digressions and distortions that we call hallucinations have revealed deeper insights and leads that I would have otherwise not found easily. 

More in next.