NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Trained on Tokens, Calibrated on Concepts: The Emergence of Semantic Calibration in LLMs

Preetum Nakkiran, Arwen Bradley, Adam Golinski, Eugène Ndiaye, Michael Kirchhof, Sinead Williamson · DOI

Introduction

Base Large Language Models (LLMs) are remarkably good at "knowing what they know" at a conceptual level, despite being trained solely for next-token prediction. This paper explores semantic calibration—a state where a model's confidence in the meaning of its answer aligns with its actual accuracy. While base models exhibit this property naturally, common post-training techniques like Reinforcement Learning from Human Feedback (RLHF) and Chain-of-Thought (CoT) reasoning tend to disrupt it.

The Challenge of Semantic Calibration

A model is considered calibrated if its predicted probabilities reflect real-world frequencies. While base LLMs are well-calibrated at the token level, measuring calibration at the semantic level is more complex. For instance, the answers "Paris," "It's Paris," and "The capital is Paris" represent the same semantic concept. Standard token-wise probabilities do not directly provide a measure of confidence for the underlying concept. This research investigates why LLMs develop conceptual self-awareness and how specific training paradigms affect this reliability.

Methodology: The $B$-calibration Framework

The authors propose a framework called $B$-calibration, utilizing a "collapsing function" $B$ to map various string outputs to a single semantic meaning.

The process of semantic calibration: sampling answers, collapsing them into semantic classes, extracting the argmax prediction, and measuring calibration.

The process involves:

  1. Semantic Collapsing: An auxiliary LLM clusters multiple sampled responses into semantic groups (e.g., grouping "72" and "The answer is 72").
  2. Theoretical Foundation: The researchers link local loss optimality during pre-training to calibration. They argue that if a model is optimized for cross-entropy, it must be calibrated for any feature it can "easily learn."
  3. LoRA Probing: To validate this, they use a LoRA adapter to see if a model can predict its own semantic distribution from the prompt alone. If the probe learns easily, the theory predicts the base model will be calibrated.

Experimental Setup

The study evaluated models including Qwen, Llama, Mistral, and Gemini across four diverse benchmarks:

  • GSM8K & OpenMathInstruct-2: Mathematical reasoning tasks of varying difficulty.
  • TriviaQA: General knowledge and trivia questions.
  • SimpleQA: A challenging factual benchmark designed to test the limits of top-tier models.

Key Insights and Results

Empirical results confirm that base models are highly calibrated across tasks, whereas instruction-tuned versions often show significant calibration error.

Calibration curves and error distributions across different datasets and model configurations. Base models (top row) track the diagonal well, while instruction-tuned and CoT models (middle and bottom) show higher variance and error.
  • Emergent Calibration: Calibration arises naturally from diverse pre-training as a byproduct of next-token prediction. You don't need to explicitly train an LLM to be confident; it happens "for free" provided the model reaches local optimality.
  • RLHF and DPO as Culprits: These reward-maximizing techniques push models toward overconfidence, destroying the natural calibration found in base models. Instruction-tuned versions consistently showed higher calibration error.
  • The CoT Paradox: While Chain-of-Thought (CoT) improves accuracy, it often leads to underconfidence. Because the model's probability mass is spread across many different reasoning paths, the "plurality" confidence remains low even when the model is correct.

Limitations and Future Work

Measuring semantic calibration is computationally expensive, requiring numerous samples (e.g., 50) per query. Furthermore, the theory assumes evaluation data is "in-distribution." Future work may explore "verbalized" confidence (where the model states its certainty) and methods to preserve the base model's natural calibration during the instruction-tuning process.

Summary updated

BibTeX
@inproceedings{nakkiran2026trained,
  author = {Preetum Nakkiran and Arwen Bradley and Adam Golinski and Eugène Ndiaye and Michael Kirchhof and Sinead Williamson},
  title = {{Trained on Tokens, Calibrated on Concepts: The Emergence of Semantic Calibration in LLMs}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=0sCyk9Tr5J},
}
Figure