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.
SeSE: Black-Box Uncertainty Quantification for Large Language Models Based on Structural Information Theory
School of Cyber Science and Technology Beihang University(北航信息科学与技术学院);School of Computer Science and Engineering Beihang University(北航计算机科学与工程学院);Didi Chuxing(滴滴出行);Laboratory for Big Data and Decision National University of Defense Technology(国防科技大学大数据与决策实验室);Department of Computer Science University of Illinois Chicago(伊利诺伊大学芝加哥分校计算机科学系)
Prompt-Dependent Ranking of Large Language Models with Uncertainty Quantification
Department of Statistics and Data Science, UCLA(统计与数据科学系,加州大学洛杉矶分校);Department of Statistics, University of Michigan(统计系,密歇根大学);Department of Statistics and Data Science, and of Biostatistics, UCLA(统计与数据科学系及生物统计学系,加州大学洛杉矶分校)
Code-MUE: Measuring Code LLMs' Uncertainty through Execution-based Semantic Interaction Graphs
Xi’an Jiaotong University(西安交通大学);Institute of AI for Industries, Chinese Academy of Sciences(中国科学院人工智能产业研究院);The University of Tokyo(东京大学);University of Alberta(阿尔伯塔大学)
Semantic Self-Distillation for Language Model Uncertainty
Department of Engineering Science University of Oxford(工程科学系牛津大学);University of Oxford(牛津大学);Oxford Suzhou Centre for Advanced Research University of Oxford Suzhou(牛津苏州先进研究中心)
Uncertainty-Aware Semantic Augmentation for Neural Machine Translation
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Machine Intelligence Technology Lab, Alibaba Group(阿里巴巴集团机器智能技术实验室)
Towards Medical Knowmetrics: Representing and Computing Medical Knowledge using Semantic Predications as the Knowledge Unit and the Uncertainty as the Knowledge Context
Institute of Medical Information, Chinese Academy of Medical Sciences(中国医学科学院医学信息研究所);National Institute of Health Data Science, Peking University(北京大学国家健康数据科学研究院)
HawkesLLM: Semantic Uncertainty Propagation in Agentic Text Simulation
Department of Industrial and Systems Engineering, University of Minnesota(工业与系统工程系,明尼苏达大学);H. Milton Stewart School of Industrial and Systems Engineering, Georgia Institute of Technology(H. Milton Stewart工业与系统工程学院,佐治亚理工学院)