arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.00507cs.CLcs.AI
收藏

一种使用语言模型的统计一致的语义不确定性度量

A statistically consistent measure of semantic uncertainty using Language Models

Yi Liu

AI总结:

本文提出语义谱熵,一种统计一致的语义不确定性度量,仅依赖预训练语言模型,无需内部访问,并通过模拟验证其准确性和稳健性。

摘要:

为了解决量化语言模型生成输出中不确定性的挑战,我们提出了一种新颖的语义不确定性度量——语义谱熵,该度量在温和假设下具有统计一致性。该度量通过一个简单的算法实现,该算法仅依赖标准的预训练语言模型,无需访问内部生成过程。我们的方法对语言模型的选择施加了最小限制,使其广泛适用于不同的架构和设置。通过全面的模拟研究,我们证明了所提出的方法即使在生成语言模型输出固有的随机性存在下,也能产生准确且稳健的语义不确定性估计。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑