mlsanityData to 14 Oct 2026

Hallucination Is Linearly Decodable from Mid-Layer Hidden States in Quantized LLMs

arXiv 2606.02628 ↗First posted 30 May 2026cs.LG cs.CLcited by 3

On the map: Mechanistic interpretability → Hallucination detection from model internals

Abstract (arXiv)

We investigate whether open-source LLMs encode a linearly separable truthfulness signal in their hidden states, and at which network depth this signal is strongest. Across three 7B--8B instruction-tuned models (Llama-3.1-8B, Mistral-7B, Qwen2.5-7B) loaded in 4-bit NF4 quantization, we extract per-layer hidden states on four hallucination benchmarks (TruthfulQA, HaluEval-QA, FEVER, and a controlled synthetic set) and compare four detection approaches: linear and MLP probes, INSIDE EigenScore, self-consistency, and attention entropy. A linear probe on a single mid-network layer achieves 0.904--1.000 AUROC on held-out splits, while sampling-based detectors do not exceed 0.541 AUROC under the same protocol. The truthfulness signal is approximately linear: MLP probes rarely surpass linear probes by more than 0.01 AUROC. Peak probing layers fall in a consistent band across model families on natural-language benchmarks -- blocks~13--18 of~32 for Llama and Mistral, and blocks~19--25 of~28 for Qwen. First-block attention entropy provides a complementary signal in knowledge-grounded settings (0.866--0.941 AUROC on HaluEval-QA) at no additional inference cost. The low discriminability of sampling methods under this protocol reflects a structural mismatch between paired-label evaluation and the information these methods access, rather than an inherent limitation of those methods. Code and data are released for full reproducibility on a single 8,GB GPU.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Hallucination detection from model internals, one of 13 directions in Mechanistic interpretability. Builds on 20 of its 23 references that are in the map. First posted on arXiv 30 May 2026.

Builds on

20 of 23 references.

References · 20

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  5. 2024Qwen2.5 Technical Reportcited by 4,942
  6. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  7. 2023Mistral 7Bcited by 3,164
  8. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
  9. 2022Survey of Hallucination in Natural Language Generationcited by 2,075
  10. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
  11. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,375
  12. 2016Understanding intermediate layers using linear classifier probescited by 1,353
8 more
  1. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
  2. 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 819
  3. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 810
  4. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 767
  5. 2023The Internal State of an LLM Knows When It's Lyingcited by 659
  6. 2023HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Modelscited by 341
  7. 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 323
  8. 2023LM vs LM: Detecting Factual Errors via Cross Examinationcited by 156

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Detection Without Correction: A Robust Asymmetry in Activation-Based Hallucination Probing
  2. 2026TriLens: Per-Layer Logit-Lens Entropy for White-Box Hallucination Detection
  3. 2026Semantic Uncertainty Quantification of Hallucinations in LLMs: A Quantum Tensor Network Based Method
  4. 2026Tethered Reasoning: Decoupling Entropy from Hallucination in Quantized LLMs via Manifold Steering
  5. 2025Steer LLM Latents for Hallucination Detection
  6. 2026Where Hallucinations Live: A Cross-Architecture Circuit in VQ-Tokenized Vision-Language Models
  7. 2025A Single Direction of Truth: An Observer Model's Linear Residual Probe Exposes and Steers Contextual Hallucinations
  8. 2026Density Ridge Selective Prediction for LLM and VLM Hallucination Detection under Calibration Label Scarcity