
Share
Researchers at Apple delve into why large language models can assess confidence in their outputs, providing a theoretical framework and empirical evidence for semantic calibration.
Large Language Models (LLMs) have become increasingly sophisticated, but one persistent issue is their lack of meaningful confidence estimates. While base LLMs are known to exhibit next-token calibration, it's less clear how well they can gauge the actual meaning of their responses beyond individual tokens. A recent paper by Preetum Nakkiran and colleagues, published in March 2026 at ICLR, sheds light on this issue. The team found that base LLMs are remarkably well-calibrated semantically when using a sampling-based notion of semantic calibration. This discovery not only provides a theoretical explanation for why semantic calibration emerges but also offers practical insights into how it can be maintained or broken.
The researchers introduced the concept of "B-calibration," which is a generalization of traditional calibration methods. B-calibration is parameterized by equivalence classes, allowing it to capture semantic nuances. They established that next-token prediction inherently leads to semantic calibration through local loss optimality. This means that if an LLM can predict its own distribution over semantic answer classes before generating a response, it will be semantically calibrated.
To validate their theoretical predictions, the researchers conducted experiments on various question-answering tasks. They found that:

The practical implications of this research are significant for both developers and users of LLMs. Understanding when and why semantic calibration emerges can help in designing more reliable and interpretable models. For instance:
This research highlights the importance of considering both token-level and semantic-level calibration when evaluating LLMs. While next-token prediction is a fundamental aspect of language models, it's equally important to ensure that these models can meaningfully assess their confidence in the broader context of their responses.
This research not only advances our theoretical understanding of LLMs but also offers practical guidelines for developing more reliable and interpretable models. As LLMs continue to evolve, maintaining semantic calibration will be crucial for their successful integration into real-world applications.
Tags
Original Sources
Trained on Tokens, Calibrated on Concepts: The Emergence of Semantic Calibration in LLMs
↗ https://machinelearning.apple.com/research/trained-on-tokens?utm_source=tldrai
About the author
Kai built ML infrastructure at a Bay Area startup before developing an obsession with transformer architectures and inference optimisation that eventually pulled him out of product work entirely. A stint at a compute research lab sharpened his instinct for what actually matters in a model release versus what is marketing. He writes from the inside — from the perspective of someone who has debugged the systems he is describing at three in the morning. He is allergic to hype and instinctively drawn to the unglamorous plumbing questions that everyone else skips over.
More from The Engineer →This Week's Edition
25 March 2026
58 articles
Related Articles
Related Articles
More Stories
© 2026 Cedar & Bloom. All rights reserved.