LLMs Should Express Uncertainty Explicitly

Junyu Guo, Shangding Gu, Ming Jin, Costas Spanos, Javad LavaeiarXiv 2026

TL;DR

Large Language Models (LLMs) are notoriously prone to "hallucinating" incorrect answers with absolute confidence. This paper introduces a post-training approach using Group Relative Policy Optimization (GRPO) to teach LLMs to explicitly signal their own uncertainty—either by verbalizing a confidence score at the end of a response or by emitting an <uncertain> token mid-thought. Both methods drastically reduce overconfident errors and serve as highly effective triggers for adaptive Retrieval-Augmented Generation (RAG).

What Problem Does This Paper Address?

When LLMs don't know the answer to a question, they rarely hesitate; instead, they generate false information with the same fluent authority as factual truth. While existing post-hoc uncertainty quantification techniques can estimate reliability after a response is fully generated, they leave a visibility problem for downstream controllers (like RAG systems, safety filters, or human supervisors) that need to decide when to intervene.

The authors tackle the challenge of exposure: how can we train an LLM to explicitly, legibly, and selectively communicate its own internal uncertainty at the right moment during generation?

Methods

The authors use Group Relative Policy Optimization (GRPO), a reinforcement learning technique, to train models under two distinct paradigms:

  1. After-Reasoning Confidence: The model completes its reasoning path and final answer, then outputs a scalar confidence score (e.g., Confidence: 0.8). This is trained using a proper-scoring-rule-style reward (Brier score) that rewards justified confidence and heavily penalizes overconfident mistakes.
  2. During-Reasoning Uncertainty: The model is trained to emit a special token, <uncertain>, mid-trajectory whenever it encounters a risky or unreliable reasoning step. This uses an asymmetric reward function that penalizes "silent failures" (being wrong without emitting the token) far more harshly than "admitted failures" (being wrong but emitting <uncertain>).
Overview of the two uncertainty exposure strategies and their mechanistic interpretations.

Datasets

The methods were evaluated across five multi-hop and open-domain factual QA benchmarks:

  • HotpotQA
  • MuSiQue
  • 2WikiMultihopQA
  • Natural Questions (NQ)
  • TriviaQA

Key Insights and Ideas

  • Different Internal Signatures: Mechanistic analysis (using logit lens, PCA, and Centered Kernel Alignment) reveals that the two training methods alter the model differently. After-reasoning confidence training simply sharpens and exposes a weak confidence routing structure already present in the pretrained model. Conversely, during-reasoning <uncertain> training forces the model to actively construct a new internal state, with representation changes concentrated heavily in the model's later layers.
  • Point-like vs. Broad Footprints: Token-level KL divergence shows that after-reasoning confidence acts as a precise, point-like readout at the very end. The <uncertain> token has a broader local footprint, altering the computation state of surrounding tokens as the model realizes it is on shaky ground.
  • Complementary Roles: The two design choices support different downstream decisions. End-of-reasoning confidence is ideal for question-level gating (trust vs. abstain), whereas during-reasoning tokens are optimized for mid-trajectory interventions before the model commits to an answer.

Key Results

  • Drastic Error Reduction: For the verbalized confidence model, the Expected Calibration Error (ECE) dropped from 0.357 to 0.036, and strongly overconfident errors plummeted from 88.5% to just 3.2%.
  • High-Recall Intervention: The <uncertain> marker achieved an 88.2% wrong-answer coverage rate, successfully turning previously silent factual failures into explicit signals for intervention.
  • RAG Performance Boost: When integrated into an adaptive RAG pipeline, both methods outperformed strong baselines (like FLARE and DRAGIN). Verbalized confidence proved to be more retrieval-efficient (acting as an excellent question-level gate), while the <uncertain> marker acted as a high-recall, mid-trajectory trigger.

Limitations and Future Work

The study focuses exclusively on factual QA and adaptive retrieval using a single type of uncertainty marker. The authors note that more complex tasks, such as coding or multi-turn agentic interactions, may require richer feedback mechanisms and multiple specialized markers to differentiate between different failure modes (e.g., missing information vs. ambiguous instructions vs. tool-calling errors).

Summary updated

BibTeX
@misc{guo2026llms,
  author = {Junyu Guo and Shangding Gu and Ming Jin and Costas Spanos and Javad Lavaei},
  title = {{LLMs Should Express Uncertainty Explicitly}},
  year = {2026},
  eprint = {2604.05306},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.05306},
}
Figure