English

Can Linear Probes Measure LLM Uncertainty?

Machine Learning 2025-11-18 v2 Numerical Analysis Numerical Analysis Statistics Theory Statistics Theory

Abstract

Effective Uncertainty Quantification (UQ) represents a key aspect for reliable deployment of Large Language Models (LLMs) in automated decision-making and beyond. Yet, for LLM generation with multiple choice structure, the state-of-the-art in UQ is still dominated by the naive baseline given by the maximum softmax score. To address this shortcoming, we demonstrate that taking a principled approach via Bayesian statistics leads to improved performance despite leveraging the simplest possible model, namely linear regression. More precisely, we propose to train multiple Bayesian linear models, each predicting the output of a layer given the output of the previous one. Based on the obtained layer-level posterior distributions, we infer the global uncertainty level of the LLM by identifying a sparse combination of distributional features, leading to an efficient UQ scheme. Numerical experiments on various LLMs show consistent improvement over state-of-the-art baselines.

Keywords

Cite

@article{arxiv.2510.04108,
  title  = {Can Linear Probes Measure LLM Uncertainty?},
  author = {Ramzi Dakhmouche and Adrien Letellier and Hossein Gorji},
  journal= {arXiv preprint arXiv:2510.04108},
  year   = {2025}
}
R2 v1 2026-07-01T06:17:46.762Z