U-Space Reveals When Language Models Become Uncertain

U-Space introduces U-Lens: a single forward pass yields an interpretable, categorized model uncertainty signal.
A new study proposes the U-Space framework to reveal when and why LLM uncertainty arises. Its core tool U-Lens scores by multiplying hidden-state direction strength toward different "doubt" signals with average reasoning-token entropy. It needs no labels, no training, no fine-tuning, and works in one forward pass—categorizing uncertainty into ambiguity, missing information, conflicting evidence, and general uncertainty for differentiated handling. Across 3 seeds, 3 models, and 4 benchmarks, it beats 5/10-round sampling and supervised baselines. Built on the Jacobian Lens, with 40+ pre-fitted versions or self-fitting via ~100 unlabeled prompts.
When large models give answers, they often appear full of confidence—but how certain are they really? In a new study, the authors propose the U-Space framework to reveal when and why language model uncertainty arises. According to a Reddit community share, this work attempts to produce an interpretable "how certain is the model" signal with a single forward pass.
Why Existing Solutions Fall Short
If you're working on open-weight reasoning models, you've probably wanted a signal for "how certain is the model about this answer." But existing approaches aren't cheap: either repeated sampling (5x or more compute), or introducing a judge model, or relying on labeled datasets. These methods are not only expensive, but often only give a vague confidence number, without explaining where the "uncertainty" actually comes from.
The authors therefore built U-Lens, whose core scoring formula is a single sentence: score = strength of hidden state pointing toward different "doubt" directions × average entropy of reasoning tokens. The former captures the model's internal state tendency toward a certain kind of uncertainty, while the latter measures the chaos of the output distribution itself; multiplying the two yields a combined signal.
Entropy is a core concept in information theory, used to measure the "chaos level" of a probability distribution. In the context of large language models, the model's prediction of the next token is essentially a probability distribution: if the distribution is highly concentrated on one token (e.g., 95% probability), entropy is low; if probability is spread across multiple candidate tokens, entropy is high. Therefore, the average entropy of reasoning tokens can be understood as a purely "output-level" uncertainty signal—how many candidates the model wavers between at each step while generating that reasoning.
But the limitations of average entropy are obvious: it only reflects the shape of the final output distribution and cannot tell us what the model's internal hidden state is actually "doubting." A model may hesitate because of missing information, or because evidence contradicts itself, and these two cases look identical in entropy. This is precisely why U-Space multiplies the "hidden state direction" by the "output entropy": the former provides semantic-level interpretability, the latter provides numerical-level sensitivity, and the two are complementary.
Three Key Features of U-Lens
No labels, no training, single forward pass
U-Lens is label-free: no correctness labels needed, no training, no fine-tuning, single forward pass, and no resampling. This is crucial for engineering deployment—you don't need to prepare labeled data for each new task, nor pay the inference cost of multiple sampling rounds.
Interpretable: distinguishing four kinds of uncertainty
More interestingly, it can tell you the "kind" of uncertainty, not just a score. The authors categorize it into four classes: (i) ambiguity, (ii) missing information, (iii) conflicting evidence, (iv) general uncertainty. For many applications this categorization isn't necessary, but once you need to handle these cases differently in your system, it becomes useful.
Ambiguity and conflicting evidence are two kinds of uncertainty that are easy to confuse but require completely different handling. Ambiguity means the question itself can be reasonably interpreted in multiple ways—for example, "Is Apple good?" doesn't specify whether it refers to the fruit or the company; in this case the model isn't lacking information, nor is there contradictory evidence—the question boundary is simply unclear, and the correct system behavior is usually to proactively clarify.
Conflicting evidence means that multiple pieces of information the model retrieved or recalled contradict each other—for example, in a RAG pipeline two documents give different numbers; here the model "knows too much" rather than too little, and the correct system behavior is often to flag the conflict and let the user or a downstream module arbitrate, rather than forcing out an answer.
Missing information corresponds to the model genuinely lacking a key premise, in which case triggering retrieval is the natural choice. And general uncertainty is a catch-all category, capturing residual signals not belonging to the first three. The value of splitting uncertainty into these four classes is that it maps directly to different engineering actions (clarify, retrieve, arbitrate, abstain), rather than vaguely "lowering the confidence threshold."
Results: beating multi-round sampling and supervised baselines
In evaluations across 3 seeds, 3 models, and 4 benchmarks (involving Gemma 4, Qwen3.5, and Magistral), U-Lens was the best estimator, outperforming 5-round sampling, 10-round sampling, and supervised baselines. Considering it is a label-free, single-forward-pass method, this result is quite compelling.
Implementation: Jacobian Lens and the U-Space basis
The only model-specific component U-Lens relies on is the Jacobian Lens (J-Lens for short, from Anthropic's global workspace paper). Once J-Lens is fitted, the remaining steps are lightweight: building the four-direction U-Space basis once on CPU only requires a few hundred words' worth of unembedding rows, without loading the full model.
At inference time, you grab a hidden state at the end of thinking (by attaching a forward hook to a certain layer), take the dot product with the four vectors, and multiply by the average entropy obtained directly from the logits. The authors mention that to judge whether the Lens is suitable, one typically checks it using the examples from the Anthropic blog.
Two ways to obtain J-Lens
There's already a ready-made option: Hugging Face provides 40+ pre-fitted lenses (neuronpedia/jacobian-lens), covering Gemma 2/3/4, Qwen3/3.5/3.6, Llama 3.1/3.3, gpt-oss-20b, OLMo 3, and more. If your model isn't in the list, you can fit your own using Anthropic's reference code (anthropics/jacobian-lens, jlens.fit); it takes about 100 unlabeled prompts, trains no parameters, and the cost mainly comes from backpropagation. That's exactly how the authors built the Magistral lens and released it alongside the repository.
Jacobian Lens (J-Lens) originates from Anthropic's research direction on the "global workspace," motivated by the fact that hidden states in the model's middle layers don't directly correspond to vocabulary space, so you can't simply use logits to explain what it's "thinking." J-Lens estimates the Jacobian matrix from hidden states to the output space (i.e., how a tiny change in the hidden state affects output logits), linearly mapping hidden states from any layer back into an interpretable token space, thereby making the middle layers' "intent" readable.
A key property is that J-Lens is model-specific but task-agnostic: once fitted for a given model, it can be reused for any prompt without further training. This is why U-Lens can remain "single-pass, label-free"—the expensive part is absorbed by the one-time, offline Lens fitting. Moreover, reading J-Lens only requires the vocabulary's unembedding rows (i.e., the output projection matrix), not the full model weights, so building the U-Space basis on CPU takes only a few minutes.
The unembedding matrix is the output projection matrix of the language model's final layer, usually shaped as hidden dimension × vocabulary size, where each row can be viewed as a "direction vector" for a token in hidden space. Taking the dot product of a hidden state with these rows yields that token's logit.
U-Space's four uncertainty directions are defined precisely in this space: the authors pick a small number of tokens from the unembedding rows semantically related to the four kinds of uncertainty (only a few hundred words) and build basis vectors along those directions. The benefit is twofold—it avoids dependence on the full model (only a small part of the matrix is needed), and it gives the directions themselves readable semantic labels; otherwise the dot product result would just be an uninterpretable scalar.
Note that because the basis vectors are built directly on a specific model's unembedding, the U-Space basis is not transferable across models; each model must be built once separately. This is also why the authors provide a list of pre-fitted lenses.
Getting Started and Potential Application Scenarios
The repository entry point is straightforward: clone https://github.com/s2labres/U-Space, install dependencies, and run ./run_smoke.sh to get the end-to-end pipeline running on Qwen3.5-4B over 10 TriviaQA questions (single GPU). The core calls are just two lines—first build the basis once for each model, then compute the score for each answer.
The authors suggest several directions they'd like the community to try:
- Routing low-confidence answers to a larger model or a human;
- Triggering retrieval when the "missing information" signal fires;
- Proactively asking clarifying questions when the "ambiguity" signal fires;
- Flagging evidence conflicts in RAG pipelines.
It should be noted that this is currently research code—a reproduction pipeline, not yet a pip package. At the end, the authors also pose a question to the community: what scenario would you plug it into?
U-Space's value lies in breaking "how certain is the model" from a vague scalar into interpretable, routable signals, while reducing cost to a single forward pass. For those building reasoning model applications, this may be a direction worth watching.
One-line Summary
U-Space introduces U-Lens: a single forward pass yields an interpretable, categorized model uncertainty signal.
Paragraph Summary
A new study proposes the U-Space framework to reveal when and why large language model uncertainty arises. Its core tool U-Lens scores via: the strength of hidden states pointing toward different "doubt" directions, multiplied by the average entropy of reasoning tokens. It requires no labeled data, no training, no fine-tuning, and completes in a single forward pass, while categorizing uncertainty into ambiguity, missing information, conflicting evidence, and general uncertainty—enabling differentiated handling. Across 3 seeds, 3 models, and 4 benchmarks, U-Lens outperforms 5-round/10-round sampling and supervised baselines. It relies on the Jacobian Lens, with 40+ pre-fitted versions available or self-fitting via ~100 unlabeled prompts. The authors suggest confidence routing, triggering retrieval, proactive clarification, and flagging RAG conflicts; it's currently research code, not a pip package.
Related articles

Random Pruning of the DPO Computation Graph: 1.4x Training Speedup and Lower Peak Memory
DPO training too slow and memory-hungry? This paper proposes a random pruning framework for the DPO computation graph, sampling independently across position, sequence, and branch dimensions; branch pruning achieves a 1.426x step-time speedup and cuts training time by about 30%, with in-depth attribution of memory and time gains.

Why Does JEPA Underperform MLM in Longitudinal EHR Representation Learning?
New study compares JEPA and MLM for longitudinal EHR representation learning on MIMIC-IV: three JEPA variants train stably without collapse but underperform MLM; target size, not heterogeneity, drives prediction error.

Transfer Learning + Visible Light Communication: A New Approach to Energy-Efficient Indoor Positioning
A study proposes a transfer learning-based visible light communication indoor positioning method, achieving 47% accuracy improvement on the BOSCH factory dataset, 67.5% model efficiency under high noise, and introducing the ME composite metric for energy-efficient positioning in energy-constrained industrial IoT scenarios.