Since the “pioneering era” of large language models becoming widely available for personal use, many people have directly experienced their potential in supporting both personal and professional activities.
The Direct Experience of “Pioneers” Using Large Language Models.

By interacting with chatbots from leading providers like OpenAI, Anthropic, Meta, and others, users can receive answers to general questions, elaborations on specific topics, and support across a vast range of subjects on which the AI has been trained. These include nearly all disciplines of human sciences, written culture, and publicly available data, providing users with significant advantages in writing texts, evaluating concepts, conducting business analyses, and more.
But what happens when a user delves into a specific knowledge domain that is company-specific, not publicly known, “too in-depth,” or at the cutting edge of human understanding? In such cases, large language model responses may become unreliable due to a lack of specific information, leading to the phenomenon known as “hallucination“.
Are “Hallucinations” Bugs or a Consequence of How This Technology Works?
The “hallucination” phenomenon is not caused by an undiscovered bug in the underlying software but is instead a natural consequence of how artificial intelligence operates.
To give an intuitive idea, the foundation of this technology is built on the capability of “software neurons” to be trained on input data to produce specific outputs. This is achieved by iteratively minimizing the “error” (in numeric terms) between the algorithm’s generated output and the expected result from the training dataset. Consequently, the technology inherently generates outputs with some level of “error.” (Similarly, when humans train iteratively, our performance improves, but we still make occasional mistakes.)
Qualitatively, when the error is negligible or unnoticeable, the result is good. However, when the error is significant, the result can range from slightly inaccurate to completely unrealistic, which is perceived as a “hallucination.”
Given that large language models are highly complex systems with multiple layers of interconnected “software neurons,” they excel at learning. However, in areas where they have insufficient training data or lack information, they attempt to “guess,” producing results that may vary from slightly imprecise to completely nonsensical. This can be viewed as a “missing training” problem rather than a software bug. While these issues can be significantly reduced, they cannot be entirely eliminated due to the vast range of knowledge these models aim to cover and the specificity required for individual use cases.
The domain-specific impacts of Hallucinations and the need for a new philosophy in using these tools
It’s important for readers to understand that, even though large language models are incredibly powerful, we cannot switch off our critical thinking when using them. With current technology (and possibly even future advancements), users must at least review, verify, and sometimes correct the outputs. The consequences of using content with even minor errors can vary greatly depending on the domain and context.
When using these tools, we must assess their level of reliability for the task at hand. For example:
- Low-priority tasks: If you’re using a chatbot to reply to a casual personal email, the risk of unchecked errors is low since large language models are designed to produce polite and non-offensive content.
- High-stakes content: If you’re using a chatbot to generate legally binding documents, the risk of unchecked errors is significantly higher.
- Technical tasks: If you’re using a chatbot to create software code, even a small error could result in non-functional, buggy, or dangerous code.
- Scientific tasks: If you’re using a chatbot to design a chemical reaction, mistakes could have severe consequences. For example, nitroglycerin and soap are chemically related, but confusing the two could be catastrophic.
These examples illustrate that, unlike traditional enterprise or “standard software,” which generally produces repeatable and reliable outcomes, large language models require more critical thinking and oversight.olutions are of different category that requires more “critical thinking effort” than the first one.
Retrieve augmented generation (R.A.G.) and document-assisted chat to mitigate Hallucinations
One effective way to address hallucinations is to supply the missing knowledge to large language models through a document-based knowledge base. By doing so, the user helps the algorithm “fill in the gaps” in its training, leading to more accurate and reliable answers for domain-specific knowledge. This approach, known as “retrieve-augmented generation,” centers the AI on specific arguments and minimizes the risk of hallucinations.
Another way to enhance the accuracy of large language models is through additional training on new topics. However, there are challenges associated with both supervised and unsupervised training methods:
Supervised training (or fine tune)
This involves exposing the model to large datasets with both input and expected output samples. While effective, it requires significant effort in data preparation and handling, often involving consultancy services. Can be applied, but is not completely automatable, can be a periodical “improvement” task done on purpose. It requires high computing power available only “on demand” at high costs on massive datacentres and hardware not generally available on “standard” companies.
Unsupervised training
This involves exposing the model to content without specific expected outcomes, allowing it to develop internal representations of new knowledge. While this is the method used for the massive training of large language models, and for some of them is appliable also for an already existing pre-trained model, it is automatable, and definitely it will be on Gebo.ai platform when technologies will be more mature, but actually hardware requests in term of GPU availability is so high compared to “middle end” hardware generally available in companies that can be done only using “on demand” computation at high costs on massive datacentres. Actually TOP Tier online cloud providers like OpenAI, Claude and Google do not support unsupervised training done directly by end users.
Thus, the most practical and automatable solution for minimizing hallucinations and supporting enterprise adoption of large language models is retrieve-augmented generation. This is exactly what we have implemented at Gebo.ai.