atlas

Research map / Large language models / Retrieval and knowledge

LLM-Check: Investigating Detection of Hallucinations in Large Language Models

NeurIPS 2024 · Large language models › Retrieval and knowledge · approach: Long-context and personalized retrieval · 41 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LLM-Check, training-free hallucination detectors (Hidden Score, Attention Score, and output-token uncertainty measures) that use a single teacher-forced forward pass of the LLM or a substitute open LLM to flag hallucinations in a single response, with large speedups over sampling-based baselines.

Problem

Detecting hallucinations within a single LLM response in white-box and black-box settings, with or without reference documents, without the multi-sample or retrieval overhead of existing detectors.

Approach

Scores computed from a single teacher-forced forward pass: the mean log-determinant of hidden-state covariance (Hidden Score) and the mean log of diagonal attention kernel entries (Attention Score), combined with perplexity, windowed logit entropy, and top-k logit entropy; black-box use relies on an auxiliary open LLM.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Attention Score instead of INSIDELlama-2-7B hallucination detection · FAVA-AnnotationAUROC: 59.03 -> 72.34Helped
Use Attention Score instead of SelfCheckHallucination detection · SelfCheckGPT DatasetAUC-PR: 72.84 -> 80.04Helped
Prompt with additional generated responses and compute Attention ScoresLLM-Check · SelfCheckGPT DatasetAccuracy: 58.91 -> 61.21Mixed
Use Hidden Score rather than other detection measuresLlama-2-7B white-box detection · RAGTruthF1 Score: 61.51Helped
Use Attention Score for black-box detectionLLM-Check · RAGTruthAUROC: 58.30Helped
Use output-token entropy rather than Attention ScoreHallucination detection · FAVA Train-splitAUROC: 74.20 -> 69.57; 77.00 -> 71.91Helped
Combine the proposed scores using Logistic Regression (ablation)LLM-Check · FAVA-Annotationdetection performanceNo clear effect
Train classifiers on hidden representations instead of using Attention ScoreLlama-2-7B hallucination detection · FAVA-AnnotationAUROC: 55.76, 56.52 versus 72.34Hurt

Surprising findings

Limitations

Experimental setup

Datasets: FAVA-Annotation FAVA train split SelfCheckGPT WikiBio dataset RAGTruth Summarization

Benchmarks: FAVA-Annotation SelfCheckGPT WikiBio RAGTruth FAVA train split

Metrics: AUROC accuracy TPR@5%FPR F1 score AUC-PR runtime

Baselines: SelfCheckGPT INSIDE Self-Prompt FAVA Model RAGTruth fine-tuned detector Logit entropy / perplexity Logistic regression probes on hidden states

Builds on: SelfCheckGPT INSIDE Semantic Entropy

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy