atlas

Research map / Large language models / Language, safety and interpretability

LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinations

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Task vectors and steering · 4 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.

Shows LLM internal states encode truthfulness most strongly at exact answer tokens, that probes generalize poorly across tasks beyond logit baselines, that hidden states predict error types, and that probes can pick correct answers the model fails to generate.

Problem

Understanding where and how LLMs encode truthfulness and errors (hallucinations) in their internal representations, and whether these signals generalize across tasks and link to external behavior.

Approach

Probing classifiers on hidden states at the exact answer tokens of long-form generations substantially improve error detection over last-token probing and logit baselines; the analysis then tests cross-task generalization, error-type prediction from resampled behavior, and whether probes can select correct answers from sampled candidates.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Probe the last exact answer token instead of the last generated token (ablation)Mistral-7B-Instruct error detector · TriviaQAAUC: 0.71 ± 0.006 -> 0.85 ± 0.004Helped
Probe the last exact answer token instead of the last generated token (ablation)Mistral-7B-Instruct error detector · WinobiasAUC: 0.82 ± 0.004 -> 0.92 ± 0.005Helped
Probe the last exact answer token instead of the last generated token (ablation)Mistral-7B-Instruct error detector · MathAUC: 0.74 ± 0.008 -> 0.92 ± 0.008Helped
Probe the last exact answer token instead of the last generated token (ablation)Llama3-8B-Instruct error detector · TriviaQAAUC: 0.81 ± 0.005 -> 0.83 ± 0.002Helped
Probe the last exact answer token instead of the last generated token (ablation)Llama3-8B-Instruct error detector · WinobiasAUC: 0.86 ± 0.007 -> 0.93 ± 0.004Helped
Probe the last exact answer token instead of the last generated token (ablation)Llama3-8B-Instruct error detector · MathAUC: 0.82 ± 0.016 -> 0.95 ± 0.027Helped
Train the probe on one dataset and test it on anotherProbing error detectors · Cross-dataset tasksAUC beyond logit-based detectionNo clear effect
Use the error-detection probe to select from 30 sampled answersMistral-7B-Instruct · TriviaQA, mostly incorrect (C2), two competing (D), and many answers (E1)accuracy: 30 to 40 pointsHelped
Use the error-detection probe to select from sampled answersMistral-7B-Instruct · TriviaQA, mostly correct (B2)accuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: TriviaQA HotpotQA HotpotQA with context Natural Questions with context Winobias Winogrande MNLI Math IMDB Movies

Benchmarks: TriviaQA Winobias Math HotpotQA HotpotQA-WC Winogrande NLI NQ-WC Movies IMDB

Metrics: AUC accuracy

Baselines: Logits-mean Logits-min P(True) Probas-min-exact Last generated token probe Before last generated token probe End of question probe

Builds on: probing classifiers P(True) logit-based uncertainty estimation

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