arXiv(opens in a new tab)cs.CLOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.09087

U-Space: Uncovering When and Why Uncertainty Arises in Language Models

Tobias Braun, Nils Loose, Alexander Herzog, Virginia Ceccatelli, Marcus Rohrbach, Thomas Eisenbarth, Lorenzo Cavallaro

Abstract

Large language models are informing decisions with ever-higher stakes. As the consequences of their errors grow, a central question becomes harder to ignore: how much can we trust an individual answer? When a wrong answer can cause serious harm, the cost of error may far exceed that of deferring to an expert. Yet recognizing when to defer remains difficult because language models can present incorrect conclusions with fluent explanations and an authoritative tone. Uncertainty quantification seeks to address this disconnect by estimating the reliability of individual predictions. However, many existing methods require repeated generations or separately trained components, and their scalar estimates do not reveal where uncertainty arises or how it evolves during reasoning. Recent work has also shown that generation length can be strongly associated with uncertainty estimates and correctness, raising the question of how much of an estimator's predictive power comes from uncertainty-specific information rather than output length alone. Mechanistic interpretability offers a way to address these limitations by connecting human-interpretable concepts to intermediate model states. Building on this capability, we introduce the U-SPACE, a low-dimensional subspace that makes a model's evolving uncertainty measurable and interpretable. We identify semantic anchors for doubt and certainty, map their unembedding directions back into the residual space, and combine their contrasts into an orthogonal basis. The U-LENS projects each token state onto these basis vectors, yielding an interpretable token-level uncertainty map that can be inspected directly or aggregated into a scalar uncertainty score. Our approach requires no correctness labels, repeated generations, or training. Across reasoning benchmarks, its confidence score outperforms established baselines under both standard and length-controlled evaluation and transfers more reliably than supervised estimators. Code is available at https://github.com/s2labres/U-Space.

Preprint. Under review.

1 Introduction

Language models no longer merely compete on benchmarks. Their outputs increasingly shape real-world decisions in settings where a mistake can carry serious consequences. As their reach grows, aggregate accuracy alone is insufficient: it tells us how often a model succeeds, but not which outputs are more likely to fail. Uncertainty quantification complements it by assigning each prediction a confidence or risk score intended to distinguish more from less reliable outputs. Yet obtaining routine confidence estimates in deployed systems remains difficult. Many methods rely on repeated model calls or separately trained components, increasing inference costs and implementation complexity. This constraint is becoming more acute as reasoning models increasingly trade additional test-time computation, often measured in generated tokens, for improved performance [Snell et al., 2025, Bai et al., 2026]. But cost is only part of the problem. Many estimators ultimately compress uncertainty into a single score without revealing which part of a response produced it or how it evolved during generation. They therefore risk replacing blind trust in the model with blind trust in the uncertainty metric. This loss of context is particularly pronounced for reasoning models, where uncertainty may arise midway through a derivation and remain hidden beneath an authoritative final answer. Reasoning traces introduce an additional evaluation challenge: generation length. Incorrect answers are often longer, and many uncertainty estimators implicitly rely on this signal for error prediction [Kang et al., 2025]. This calls for distinguishing overall predictive utility from the information an estimator captures beyond output length. Accordingly, we report standard results alongside length-controlled evaluation. Our goal is to capture an interpretable uncertainty signal that remains predictive beyond the generation length and reveals where and why uncertainty arises during reasoning.

Mechanistic interpretability may provide a way toward uncovering the evolution of uncertainty during autoregressive generation. Gurnee et al. [2026] introduce the J-LENS, which uses an averaged Jacobian together with the model's unembedding matrix to map intermediate residual states to scores over output tokens. Building on this observation, we introduce the U-SPACE, a low-dimensional subspace of the residual stream that captures distinct sources of uncertainty as they arise and fade during generation. We begin with small sets of interpretable semantic anchors expressing forms of doubt and certainty. Their unembedding directions are pulled back through the averaged Jacobian, normalized, and combined into a contrastive direction per uncertainty category. Projecting a hidden state onto the individual directions reveals which sources of uncertainty are present, while its projection onto their positive cone measures their aggregate strength at that point in the computation. We interpret this cone alignment as a verbalizable, second-order uncertainty signal 1^{1}: it reflects a representation of uncertainty that can be expressed through semantic concepts [Fleming and Daw, 2017, Kumaran et al., 2026]. To obtain the final uncertainty score, we complement it with first-order distributional uncertainty measured by mean predictive entropy, since the entropy chain rule motivates aggregation across autoregressive steps and averaging avoids mechanical scaling with sequence length [Malinin and Gales, 2021]. The resulting U-LENS therefore provides an interpretable account of where and why uncertainty arises while drawing on both signals for uncertainty quantification.

Applied across the reasoning trace, the U-LENS produces a token-by-category map showing where distinct forms of uncertainty emerge and recede. Given a precomputed lens, this requires no correctness labels, repeated generations, or task-specific training. Our core contributions are:

• We introduce a training-free recipe for constructing interpretable, contrastive semantic directions in a model’s residual stream. Instantiated as U-SPACE, these directions reveal when uncertainty arises and characterize the form it takes.

• To our knowledge, we introduce the first uncertainty estimator to jointly operationalize first- and second-order uncertainty. The U-LENS combines predictive entropy with a verbalizable uncertainty signal while retaining a token-level semantic account of where and why uncertainty arises.

• Across three reasoning models and four benchmarks, the resulting trace-level score outperforms established baselines under both standard and length-controlled evaluation and transfers more reliably than supervised estimators.

• Interventions along the U-SPACE basis directions can make the model hesitate and lose confidence even on simple questions, providing causal evidence that they capture representations that shape behavior rather than merely correlate with it.

1^{1}Following Kumaran et al. [2026], first-order uncertainty is expressed in output probabilities and second-order uncertainty is verbalizable by the model; these terms describe levels of confidence, not derivative order.

References (57)