Large language model hallucination mitigation techniques

Last Updated

October 19, 2026

Cobus Greyling

Read Time

What’s on this page

TOC Item

This study is a comprehensive survey of 32+ mitigation techniques to address hallucination.

Introduction

The techniques are broken down into two main streams, gradient and non-gradient approaches.

Gradient approaches refers to fine-tuning the base LLM. While non-gradient approaches involves prompt engineering techniques which are delivered at inference.

Most notable are the inclusion of:

  1. Retrieval-Augmented Generation (RAG)
  2. Knowledge Retrieval
  3. CoNLI
  4. CoVe

Hallucination mitigation in LLMs represents a multifaceted challenge addressed through a spectrum of innovative techniques.

Diagram titled 'LLMs & Data Delivery' showing layered components from bottom to top: Large Language Models (LLMs) at the base; above it, blocks for Gradient, Model Training including Meta Learning, Meta Training with large text data, Soft Prompts, Prompt Tuning, Fine-Tuning, and Data stages such as Discovery, Design, Development. The top layer focuses on In-Context Learning (ICL) including Gradient Free, Inference Time, Context Augmentation Tools (RAG, Chaining, Agents), Prompt Engineering with specific techniques like Sequential Prompting, Self-Critique, Chain-Of-Thought Prompting, and others, plus Zero-Shot, One-Shot, Few-Shot, and Prompt Templates/Injection. Data Delivery forms a separate block on the right.

Unlike traditional AI systems focused on limited tasks, LLMs have been exposed to vast amounts of online text data during training.

This allows LLMs to display impressive language fluency, it also means they are capable of:

  1. Extrapolating information from the biases in training data,
  2. Misinterpreting ambiguous prompts, or modifying the information to align superficially with the input.

This becomes hugely alarming when language generation capabilities are used for sensitive applications, such as:

  1. Summarising medical records,
  2. Customer support conversations,
  3. Financial analysis reports, and providing erroneous legal advice.

Hallucination mitigation taxonomy

Mind map of Hallucination Mitigation Techniques in LLMs, divided into two main branches: Prompt Engineering and Developing Models. Prompt Engineering includes Retrieval Augmented Generation (with subcategories Before, During, After, and End-to-End Generation), Self Refinement through Feedback and Reasoning, and Prompt Tuning. Developing Models covers Introducing New Decoding Strategy, Utilization of Knowledge Graph, Introducing Faithfulness based Loss Function, and Supervised Finetuning. Each technique is annotated with references and specific frameworks or methods like LLM-Augmenter, Knowledge Retrieval, RARR, RAG, ChatProtect, UPRISE, CAD, RHO, THAM, HAR, among others.

Source

The study includes very insightful taxonomy of hallucination mitigation techniques for LLMs; both gradient and non-gradient.

Gradient approaches include complex and opaque decoding strategies, knowledge graphs, fine-tuning strategies and more.

Non-gradient approaches include RAG, Self-Refinement and prompt tuning.

Notably the RAG approaches are segmented into four parts;

  1. Before Generation
  2. During Generation
  3. After Generation
  4. End-to-End

The power of prompt engineering to mitigate hallucination lies in defining:

  1. Specific context &
  2. Expected Outcomes

The best defence

The best defence against hallucination is not one single approach or method, but a combined approach defending against hallucination.

Seamlessly integrating numerous mitigation approaches, is the most important takeaway.

The factors which any organisation should keep in mind are:

  1. To what extent is there a reliance on labeled data?
  2. What are the possibilities of introducing unsupervised or weak-supervised learning techniques to improve scalability and flexibility?
  3. Consideration of gradient and non-gradient approaches to produce coherent and contextually relevant information.
  4. The collected works on hallucination mitigation reveal a diverse array of strategies, each contributing uniquely to address the nuances of hallucination in LLMs.
  5. Self-refinement through feedback and reasoning brings forth impactful strategies.
  6. Structured Comparative reasoning introduces a structured approach to text preference prediction, enhancing coherence and reducing hallucination.
  7. Supervised fine-tuning can be explored via Knowledge Injection and Teacher-Student Approaches.
  8. Domain-specific knowledge is injected into weaker LLMs and approaches that employ counter factual datasets for improved factuality.
Find the study here.

Share

Tags

Agent Platform
Cross Industry
For AI Leaders
AI Evaluation