TL;DR
This paper presents a controlled, factorised study of probe-based uncertainty estimation (UE) in Large Language Models to isolate what truly drives hallucination detection. The authors discover that while raw internal states excel in matched in-domain settings, compressed and structured features are far more robust under distribution shifts, allowing benchmark-pretrained probes to successfully generalize to open-ended, long-form generation tasks.
What Problem Does This Paper Address?
Large Language Models (LLMs) frequently suffer from hallucinations—generating plausible-sounding but factually incorrect information. To mitigate this risk, researchers use probe-based uncertainty estimation (UE). This paradigm trains lightweight classifiers (probes) on top of an LLM's internal signals (such as hidden states or attention weights) to flag errors during a single, computationally cheap forward pass.
However, recent progress in this sub-field has become obscured. New methods frequently vary feature representations, training data setups, and evaluation protocols all at once. This conflation makes it impossible to tell whether a method's success stems from a clever new feature, a specific prompt format, or simply a cleaner dataset. Furthermore, it remains unclear whether probes trained on rigid, multiple-choice benchmarks can actually transfer to realistic, open-ended generation tasks.
Methods
The authors address these ambiguities by establishing a strictly controlled, factorised evaluation framework. They extract 19 different internal feature representations across four distinct categories:
- Hidden States: Raw embeddings (last token, mean, or all layers) and geometric/density metrics (SATMD, CoE-R, CoE-C).
- Probabilities/Logits: Maximum sequence probability, entropy, perplexity, and top-$m$ probabilities.
- Attention Patterns: Lookback ratio and recent-token attention.
- Combined Features: Concatenations of complementary signals (e.g., Attention + MSP).
They systematically evaluate these features using three probe architectures (Linear, MLP, and CNN) under varying levels of supervision, prompting strategies (with or without Chain-of-Thought reasoning), and automated ground-truth labeling methods. Finally, they test how well these benchmark-trained probes transfer to open-ended long-form generation by decomposing text into atomic factual claims.
Datasets
- In-domain & Benchmark Transfer: Evaluated across 7 datasets covering three task types:
- Question Answering (QA): TriviaQA, SciQ, PopQA
- Verification: BoolQ, StrategyQA
- Multiple-Choice Questions (MCQ): CommonsenseQA (CSQA), ARC
- Open-Ended Generation: Long-form text generation evaluated across 9 domains (Biographies in-domain/OOD, Artworks, Books, Cities, Events, Inventions, Landmarks, Movies) sampled from existing evaluation sets.
Key Insights and Ideas
- Simple Signals Win In-Domain: Complex feature engineering rarely beats raw hidden states or simple attention features when tested on the same domain. Fusing complementary signal types (like attention maps + output probabilities) provides a genuine boost, whereas stacking more of the same hidden states yields diminishing returns.
- Linear Probes are More Stable: While high-capacity probe architectures like MLPs and CNNs can boost weaker features in-domain, they tend to overfit to dataset-specific patterns and degrade performance during out-of-distribution (OOD) transfer.
- Reasoning Dilutes Factuality Signals: Forcing an LLM to use Chain-of-Thought (CoT) reasoning before answering actually harms probe performance. The reasoning tokens alter the internal representations, diluting the clear uncertainty signals found in direct, concise answers.
- Lexical Labels Create an Illusion of Progress: Training probes using simple lexical matching metrics (like ROUGE) leads to poor probe quality. Using an LLM-as-a-judge (e.g., Gemini) for ground-truth annotation aligns much closer with human judgment and yields significantly more reliable probes.
- Structured Features Excel at Transfer: Raw hidden states encode task-specific biases, causing their performance to tank under distribution shifts. In contrast, compressed and structured features (like Internal Variance or Lookback Ratio) retain their predictive power across entirely different tasks.
Key Results
- Supervision Efficiency: Probe performance plateaus rapidly, showing that just 128 to 256 labeled examples are sufficient to train an effective linear probe.
- Open-Ended Transfer: Probes pretrained on pooled benchmark data transferred remarkably well to long-form factual generation without any target-task training data. Structured features like
Layer Top-m Prob.andInternal Varianceachieved OOD average AUROCs of 68.73% and 68.14%, respectively, outperforming a target-domain supervised baseline trained with limited data (64 examples).
Limitations and Future Work
- Constrained Open-Endedness: The open-ended evaluation focused heavily on entity-centric long-form generation (e.g., biographies). It remains to be seen how well these findings hold up in completely unconstrained settings like multi-turn dialogues or open-ended creative writing.
- Model and Feature Coverage: The detailed factorised analysis was primarily conducted on open-weight models (specifically Qwen-3-8B). Extending this study to massive proprietary models or exploring newer internal features remains an open direction.
- Downstream Mitigation: The paper focuses strictly on detecting hallucinations. The authors note that leveraging these robust probe configurations for active mitigation (e.g., decoding interventions) is a crucial next step for deployment-oriented practice.
Summary updated