Saved in:
Bibliographic Details
Main Author: Liu, Yi
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2502.00507
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912391143358464
author Liu, Yi
author_facet Liu, Yi
contents To address the challenge of quantifying uncertainty in the outputs generated by language models, we propose a novel measure of semantic uncertainty, semantic spectral entropy, that is statistically consistent under mild assumptions. This measure is implemented through a straightforward algorithm that relies solely on standard, pretrained language models, without requiring access to the internal generation process. Our approach imposes minimal constraints on the choice of language models, making it broadly applicable across different architectures and settings. Through comprehensive simulation studies, we demonstrate that the proposed method yields an accurate and robust estimate of semantic uncertainty, even in the presence of the inherent randomness characteristic of generative language model outputs.
format Preprint
id arxiv_https___arxiv_org_abs_2502_00507
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A statistically consistent measure of semantic uncertainty using Language Models
Liu, Yi
Computation and Language
Artificial Intelligence
To address the challenge of quantifying uncertainty in the outputs generated by language models, we propose a novel measure of semantic uncertainty, semantic spectral entropy, that is statistically consistent under mild assumptions. This measure is implemented through a straightforward algorithm that relies solely on standard, pretrained language models, without requiring access to the internal generation process. Our approach imposes minimal constraints on the choice of language models, making it broadly applicable across different architectures and settings. Through comprehensive simulation studies, we demonstrate that the proposed method yields an accurate and robust estimate of semantic uncertainty, even in the presence of the inherent randomness characteristic of generative language model outputs.
title A statistically consistent measure of semantic uncertainty using Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2502.00507