Large Language Models (LLMs) are remarkably fluent, but they suffer from a fundamental flaw: they are trained to prioritize linguistic plausibility over factual truth. This leads to "hallucinations"—outputs that are grammatically perfect but factually incorrect. As David Grangier and colleagues noted in Neural Text Generation from Structured Data with Application to the Biography Domain, standard training objectives reward the model for sounding human, not for being right.
To make these models reliable, researchers are moving beyond simple scaling. They are developing ways to detect when a model is "lying," surgically removing the weights that cause errors, and restructuring the generation process to ground it in verifiable reality.
The Detection Tell: Inconsistency and Geometry
How do we know a model is hallucinating if we don't have a ground-truth database handy? Researchers have found that models often leave "tells" in their internal states or their inability to maintain a consistent story.
Roi Cohen and his team introduced LMvLM in LM vs LM: Detecting Factual Errors via Cross Examination, which uses a second LLM to "cross-examine" the first. The intuition is that while a model can generate a plausible lie, it struggles to maintain that lie under targeted questioning. If the model's answers to follow-up questions contradict its initial claim, a hallucination is likely.
Beyond logic, there is a geometric signal. Fan Yin discovered that the "Local Intrinsic Dimension" (LID) of a model's internal activations changes when it is hallucinating. In Characterizing Truthfulness in Large Language Model Generations with Local Intrinsic Dimension, they show that truthful "thoughts" reside on a different manifold than false ones, providing a mathematical signature for untruthfulness that doesn't require external knowledge.
Modularizing the Generation Process
A major cause of hallucination is the "black box" nature of generation, where reasoning and responding happen in a single, interleaved step. To fix this, researchers are breaking the process into modules.
The Knowledge to Response (K2R) framework, proposed by Leonard Adolphs in Reason first, then respond: Modular Generation for Knowledge-infused Dialogue, forces the model to generate a factual "knowledge sequence" before it even attempts a conversational response. Similarly, the SeeKeR framework by Kurt Shuster 0001 in Language Models that Seek for Knowledge treats generation as a three-step pipeline: search, extract, and respond. By isolating the "fact-finding" phase, these models reduce the chance that linguistic patterns will override factual evidence.
Parameter Surgery and Contrastive Training
If a model has already learned to hallucinate, can we "unlearn" those behaviors?
Nico Daheim and colleagues developed Elastic Weight Removal (EWR), a form of "parameter surgery" described in Elastic Weight Removal for Faithful and Abstractive Dialogue Generation. By identifying which specific weights contribute to unfaithful outputs—using Fisher Information—they can subtract those weights to improve the model's adherence to source text.
On the training side, Weiwei Sun introduced MixCL (Mixed Contrastive Learning) in Contrastive Learning Reduces Hallucination in Conversations. Instead of just showing the model correct examples, MixCL forces the model to distinguish between factual spans and "hard negatives"—plausible but wrong phrases. This teaches the model the fine-grained boundaries between truth and error.
Steering Truthfulness at Decoding Time
Even without retraining, we can steer a model toward the truth during the moment it chooses its next word.
One approach is to use "shadow models." Dingkang Yang developed the Comparator-driven Decoding-Time (CDT) framework in Improving Factuality in Large Language Models via Decoding-Time Hallucinatory and Truthful Comparators. By running a truthful model and a known-hallucinatory model in the background, the system can boost the probability of tokens favored by the truthful model and penalize those favored by the hallucinatory one.
For long-form writing, Yi Cheng proposed Integrative Decoding (ID) in Integrative Decoding: Improving Factuality via Implicit Self-consistency. This method samples multiple potential responses and aggregates "votes" at every single decoding step. The intuition is that while models might hallucinate different lies, they tend to agree on the same facts, allowing the truth to emerge through consensus.
Grounding in External Reality
Finally, the most direct way to stop hallucinations is to move from a "closed-book" to an "open-book" exam. Retrieval-Augmented Generation (RAG), surveyed by Zhangyin Feng in Trends in Integration of Knowledge and Large Language Models, allows models to consult external databases or the live web. Tools like LLM-AUGMENTER, developed by Baolin Peng in Check Your Facts and Try Again, provide an automated feedback loop that iteratively refines the model's response based on retrieved evidence, ensuring the final output is anchored in verifiable data.