LLM Microscope: What Model Internals Reveal About Answer Correctness and Context Utilization
Not on the map. Why?
Abstract (arXiv)
Although large language models (LLMs) have tremendous utility, trustworthiness is still a chief concern: models often generate incorrect information with high confidence. While contextual information can help guide generation, identifying when a query would benefit from retrieved context and assessing the effectiveness of that context remains challenging. In this work, we operationalize interpretability methods to ascertain whether we can predict the correctness of model outputs from the model's activations alone. We also explore whether model internals contain signals about the efficacy of external context. We consider correct, incorrect, and irrelevant context and introduce metrics to distinguish amongst them. Experiments on six different models reveal that a simple classifier trained on intermediate layer activations of the first output token can predict output correctness with about 75% accuracy, enabling early auditing. Our model-internals-based metric significantly outperforms prompting baselines at distinguishing between correct and incorrect context, guarding against inaccuracies introduced by polluted context. These findings offer a lens to better understand the underlying decision-making processes of LLMs. Our code is publicly available at https://github.com/jiarui-liu/LLM-Microscope
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 53 of its 60 references that are in the map. First posted on arXiv 5 Oct 2025.
Builds on
53 of 60 references.
References · 53
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
38 more
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
- 2024A Survey on LLM-as-a-Judgecited by 1,384
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
- 2023Steering Language Models With Activation Engineeringcited by 824
- 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 788
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
- 2023The Internal State of an LLM Knows When It's Lyingcited by 644
- 2020Recipes for building an open-domain chatbotcited by 593
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2020How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answeringcited by 439
- 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 317
- 2023A Survey of Confidence Estimation and Calibration in Large Language Modelscited by 253
- 2023Do Large Language Models Know What They Don't Know?cited by 238
- 2024LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinationscited by 230
- 2022Extracting Latent Steering Vectors from Pretrained Language Modelscited by 217
- 2020Reducing conversational agents' overconfidence through linguistic calibrationcited by 209
- 2023Hallucinations in Large Multilingual Translation Modelscited by 126
- 2018Correcting Length Bias in Neural Machine Translationcited by 119
- 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 116
- 2024ClashEval: Quantifying the tug-of-war between an LLM's internal prior and external evidencecited by 109
- 2024ReDeEP: Detecting Hallucination in Retrieval-Augmented Generation via Mechanistic Interpretabilitycited by 100
- 2023SAC3: Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistencycited by 89
- 2023Attention Satisfies: A Constraint-Satisfaction Lens on Factual Errors of Language Modelscited by 67
- 2023Smooth ECE: Principled Reliability Diagrams via Kernel Smoothingcited by 59
- 2020Effects of Parameter Norm Growth During Transformer Training: Inductive Bias from Gradient Descentcited by 40
- 2025HALoGEN: Fantastic LLM Hallucinations and Where to Find Themcited by 32
- 2024Backward Lens: Projecting Language Model Gradients into the Vocabulary Spacecited by 30
- 2025Taming Knowledge Conflicts in Language Modelscited by 27
- 2024The First to Know: How Token Distributions Reveal Hidden Knowledge in Large Vision-Language Models?cited by 24
- 2024From RAGs to rich parameters: Probing how language models utilize external knowledge over parametric information for factual queriescited by 16
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2026: 11.
11 papers.
- 2026How do LLMs Compute Verbal Confidencecited by 23
- 2026LLM Reasoning as Trajectories: Step-Specific Representation Geometry and Correctness Signalscited by 18
- 2026How LLMs Detect and Correct Their Own Errors: The Role of Internal Confidence Signalscited by 3
- 2026How Much Do Circuits Tell Us? Measuring the Consistency and Specificity of Language Model Circuitscited by 2
- 2026Beyond Temperature: Hyperfitting as a Late-Stage Geometric Expansioncited by 1
- 2026The ACUTE Protocol: Operationalizing Language Model Activations for Better Calibration, Utility, and Trustcited by 1
- 2026BinaryPPO: Efficient Policy Optimization for Binary Classificationcited by 0
- 2026A Close Look At World Model Recovery In Supervised Fine-Tuned LLM Plannerscited by 0
- 2026Harnessing the Latent Space: From Steering Vectors to Model Calibrators for Control and Trustcited by 0
- 2026Knowing Before Answering: Decoding Language Models for Reliable RAGcited by 0
- 2026Rethinking Reasoning Paths as Phase-Structured Trajectoriescited by 0
- 2026Rethinking Reasoning Paths as Phase-Structured Trajectories29 Sep 2026
- 2026Knowing Before Answering: Decoding Language Models for Reliable RAG27 Aug 2026
- 2026Harnessing the Latent Space: From Steering Vectors to Model Calibrators for Control and Trust30 Jun 2026
- 2026The ACUTE Protocol: Operationalizing Language Model Activations for Better Calibration, Utility, and Trust5 Jun 2026
- 2026A Close Look At World Model Recovery In Supervised Fine-Tuned LLM Planners2 Jun 2026
- 2026Beyond Temperature: Hyperfitting as a Late-Stage Geometric Expansion21 May 2026
- 2026How Much Do Circuits Tell Us? Measuring the Consistency and Specificity of Language Model Circuits8 May 2026
- 2026How LLMs Detect and Correct Their Own Errors: The Role of Internal Confidence Signals24 Apr 2026
- 2026LLM Reasoning as Trajectories: Step-Specific Representation Geometry and Correctness Signals7 Apr 2026
- 2026How do LLMs Compute Verbal Confidence18 Mar 2026
- 2026BinaryPPO: Efficient Policy Optimization for Binary Classification2 Feb 2026