Can Linear Probes Measure LLM Uncertainty?

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Dakhmouche, Ramzi, Letellier, Adrien, Gorji, Hossein
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918205138665472
author Dakhmouche, Ramzi
Letellier, Adrien
Gorji, Hossein
author_facet Dakhmouche, Ramzi
Letellier, Adrien
Gorji, Hossein
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_04108
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Can Linear Probes Measure LLM Uncertainty?
Dakhmouche, Ramzi
Letellier, Adrien
Gorji, Hossein
Machine Learning
Numerical Analysis
Statistics Theory
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.
title Can Linear Probes Measure LLM Uncertainty?
topic Machine Learning
Numerical Analysis
Statistics Theory
url https://arxiv.org/abs/2510.04108