mlsanityData to 7 Oct 2026

FactCheckmate: Preemptively Detecting and Mitigating Hallucinations in LMs

arXiv 2410.02899 ↗First posted 3 Oct 2024cs.CLcited by 11

Not on the map. Why?

Abstract (arXiv)

Language models (LMs) hallucinate. We inquire: Can we detect and mitigate hallucinations before they happen? This work answers this research question in the positive, by showing that the internal representations of LMs provide rich signals that can be used for this purpose. We introduce FactCheckmate, which preemptively detects hallucinations by learning a classifier that predicts whether the LM will hallucinate, based on the model's hidden states produced over the inputs, before decoding begins. If a hallucination is detected, FactCheckmate then intervenes by adjusting the LM's hidden states such that the model will produce more factual outputs. FactCheckmate provides fresh insights that the inner workings of LMs can be revealed by their hidden states. Practically, both its detection and mitigation models are lightweight, adding little inference overhead; FactCheckmate proves a more efficient approach for mitigating hallucinations compared to many post-hoc alternatives. We evaluate FactCheckmate over LMs of different scales and model families (including Llama, Mistral, Qwen and Gemma), across a variety of QA datasets from different domains. Our results demonstrate the effectiveness of FactCheckmate, achieving over 70% preemptive detection accuracy. On average, outputs generated by LMs with intervention are 34.4% more factual compared to those without.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 44 of its 50 references that are in the map. First posted on arXiv 3 Oct 2024.

Builds on

44 of 50 references.

References · 44

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  6. 2023Mistral 7Bcited by 3,065
  7. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  8. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  9. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
  10. 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,259
  11. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
  12. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
32 more
  1. 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
  2. 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
  3. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
  4. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
  5. 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 751
  6. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
  7. 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
  8. 2019Latent Retrieval for Weakly Supervised Open Domain Question Answeringcited by 691
  9. 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 673
  10. 2023The Internal State of an LLM Knows When It's Lyingcited by 644
  11. 2022MedMCQA : A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answeringcited by 525
  12. 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 374
  13. 2023A Survey of Hallucination in Large Foundation Modelscited by 365
  14. 2023HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Modelscited by 329
  15. 2024Hallucination is Inevitable: An Innate Limitation of Large Language Modelscited by 329
  16. 2023Chain-of-Verification Reduces Hallucination in Large Language Modelscited by 317
  17. 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 317
  18. 2023FacTool: Factuality Detection in Generative AI -- A Tool Augmented Framework for Multi-Task and Multi-Domain Scenarioscited by 247
  19. 2023Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategiescited by 236
  20. 2022Extracting Latent Steering Vectors from Pretrained Language Modelscited by 217
  21. 2020Detecting Hallucinated Content in Conditional Neural Sequence Generationcited by 151
  22. 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 140
  23. 2024TruthX: Alleviating Hallucinations by Editing Large Language Models in Truthful Spacecited by 90
  24. 2024The Dawn After the Dark: An Empirical Study on Factuality Hallucination in Large Language Modelscited by 87
  25. 2024Unsupervised Real-Time Hallucination Detection based on the Internal States of Large Language Modelscited by 84
  26. 2023Cognitive Mirage: A Review of Hallucinations in Large Language Modelscited by 83
  27. 2023Towards Mitigating Hallucination in Large Language Models via Self-Reflectioncited by 81
  28. 2023Do Androids Know They're Only Dreaming of Electric Sheep?cited by 67
  29. 2024MJ-Bench: Is Your Multimodal Reward Model Really a Good Judge for Text-to-Image Generation?cited by 64
  30. 2024Do LLMs Know about Hallucination? An Empirical Investigation of LLM's Hidden Statescited by 50
  31. 2023GRACE: Discriminator-Guided Chain-of-Thought Reasoningcited by 35
  32. 2024Constructing Domain-Specific Evaluation Sets for LLM-as-a-judgecited by 28

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 6; 2026: 5.

11 papers.