mlsanityData to 14 Oct 2026

Cost-Effective Hallucination Detection for LLMs

arXiv 2407.21424 ↗First posted 31 Jul 2024cs.CL cs.AI cs.LGcited by 18

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) can be prone to hallucinations - generating unreliable outputs that are unfaithful to their inputs, external facts or internally inconsistent. In this work, we address several challenges for post-hoc hallucination detection in production settings. Our pipeline for hallucination detection entails: first, producing a confidence score representing the likelihood that a generated answer is a hallucination; second, calibrating the score conditional on attributes of the inputs and candidate response; finally, performing detection by thresholding the calibrated score. We benchmark a variety of state-of-the-art scoring methods on different datasets, encompassing question answering, fact checking, and summarization tasks. We employ diverse LLMs to ensure a comprehensive assessment of performance. We show that calibrating individual scoring methods is critical for ensuring risk-aware downstream decision making. Based on findings that no individual score performs best in all situations, we propose a multi-scoring framework, which combines different scores and achieves top performance across all datasets. We further introduce cost-effective multi-scoring, which can match or even outperform more expensive detection methods, while significantly reducing computational overhead.

Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Builds on 29 of its 43 references that are in the map. First posted on arXiv 31 Jul 2024.

Builds on

29 of 43 references.

References · 29

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  2. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
  3. 2017On Calibration of Modern Neural Networkscited by 4,960
  4. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  5. 2023Mistral 7Bcited by 3,164
  6. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
  7. 2023A Survey of Large Language Modelscited by 2,576
  8. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  9. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
  10. 2022Survey of Hallucination in Natural Language Generationcited by 2,075
  11. 2022Language Models (Mostly) Know What They Knowcited by 1,856
  12. 2024Mixtral of Expertscited by 1,823
17 more
  1. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,375
  2. 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 900
  3. 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 819
  4. 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 812
  5. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 810
  6. 2022Teaching Models to Express Their Uncertainty in Wordscited by 751
  7. 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 698
  8. 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 692
  9. 2022MTEB: Massive Text Embedding Benchmarkcited by 640
  10. 2023HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Modelscited by 341
  11. 2023Generating with Confidence: Uncertainty Quantification for Black-box Large Language Modelscited by 293
  12. 2021On Hallucination and Predictive Uncertainty in Conditional Language Generationcited by 176
  13. 2021A Token-level Reference-free Hallucination Detection Benchmark for Free-form Text Generationcited by 138
  14. 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 107
  15. 2023AnglE-optimized Text Embeddingscited by 99
  16. 2024Multicalibration for Confidence Scoring in LLMscited by 46
  17. 2023Fortuna: A Library for Uncertainty Quantification in Deep Learningcited by 14

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 11; 2026: 5.

18 papers.

Sort:

By area:

  1. 2024Securing Large Language Models: Addressing Bias, Misinformation, and Prompt Attackscited by 26
  2. 2025CodeV: Code with Images for Faithful Visual Reasoning via Tool-Aware Policy Optimizationcited by 26
  3. 2025SimPER: A Minimalist Approach to Preference Alignment without Hyperparameterscited by 25
  4. 2025Beyond Next Token Probabilities: Learnable, Fast Detection of Hallucinations and Data Contamination on LLM Output Distributionscited by 12
  5. 2025EigenTrack: Spectral Activation Feature Tracking for Hallucination and Out-of-Distribution Detection in LLMs and VLMscited by 10
  6. 2025A Single Direction of Truth: An Observer Model's Linear Residual Probe Exposes and Steers Contextual Hallucinationscited by 9
  7. 2025Expect the Unexpected: FailSafe Long Context QA for Financecited by 7
  8. 2025Loki's Dance of Illusions: A Comprehensive Survey of Hallucination in Large Language Modelscited by 7
  9. 2024ETF: An Entity Tracing Framework for Hallucination Detection in Code Summariescited by 5
  10. 2025Hallucinations in Code Change to Natural Language Generation: Prevalence and Evaluation of Detection Metricscited by 4
  11. 2025Lie to Me: Knowledge Graphs for Robust Hallucination Self-Detection in LLMscited by 3
  12. 2026PACER: Blockwise Pre-verification for Speculative Decoding with Adaptive Lengthcited by 2
6 more
  1. 2026Do I Really Know? Learning Factual Self-Verification for Hallucination Reductioncited by 2
  2. 2025Towards a rigorous evaluation of RAG systems: the challenge of due diligencecited by 1
  3. 2025AI Security Map: Holistic Organization of AI Security Technologies and Impacts on Stakeholderscited by 0
  4. 2026On Understanding, Identifying, and Mitigating Vulnerabilities in Agentic Large Language Modelscited by 0
  5. 2026Kernel Token Contradiction: a Fast and Principled Approach for LLM Claim Uncertainty Quantificationcited by 0
  6. 2026Gray-Box Hallucination Detection in LLMs with Token Identitiescited by 0