Semantic Self-Distillation for Language Model Uncertainty

Edward Phillips, Sean Wu, Boyan Gao, David A. Clifton
2/4/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Large language models present challenges for principled uncertainty quantification, in part due to their complexity and the diversity of their outputs. Semantic dispersion, or the variance in the meaning of sampled answers, has been proposed as a useful proxy for model uncertainty, but the associated computational cost prohibits its use in latency-critical applications. We show that sampled semantic distributions can be distilled into lightweight student models which estimate a prompt-conditioned uncertainty before the language model generates an answer token. The student model predicts a semantic distribution over possible answers; the entropy of this distribution provides an effective uncertainty signal for hallucination prediction, and the probability density allows candidate answers to be evaluated for reliability. On TriviaQA, our student models match or outperform finite-sample semantic dispersion for hallucination prediction and provide a strong signal for out-of-domain answer detection. We term this technique Semantic Self-Distillation (SSD), which we suggest provides a general framework for distilling predictive uncertainty in complex output spaces beyond language.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{phillips2026semantic,
  title  = {Semantic Self-Distillation for Language Model Uncertainty},
  author = {Edward Phillips and Sean Wu and Boyan Gao and David A. Clifton},
  year   = {2026},
  eprint = {2602.04577},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.04577v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.04577.svg)](https://codeofpaper.com/paper/2602.04577)

Discussion