arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2607.08377cs.LG
收藏

大语言模型语义嵌入的特征值校准

Eigenvalue Calibration for Semantic Embeddings of Large Language Models

KU Leuven(鲁汶大学);German Cancer Research Center (DKFZ)(德国癌症研究中心);German Cancer Consortium (DKTK)(德国癌症联盟);Goethe University Frankfurt(法兰克福歌德大学);PSL Research University / Inria(巴黎文理研究大学/法国国家信息与自动化研究所);Frankfurt Cancer Institute(法兰克福癌症研究所)

Sebastian G. Gruber, Nassim Walha, Francis Bach, Florian Buettner

AI总结:

针对大语言模型语义嵌入特征值校准问题,提出新框架,将其与生成答案的语义嵌入视为密度矩阵预测器,通过温度缩放校准,建立相关理论并经实验验证,推动语义嵌入不确定性量化发展。

摘要:

不确定性量化是大语言模型可靠部署的核心,语义嵌入的特征值已成为当前先进方法的关键工具。但传统分类概率校准结果不能直接用于特征值。本文提出新框架校准语义嵌入特征值,将大语言模型及其生成答案的语义嵌入解释为密度矩阵预测器,通过对特征值应用温度缩放来校准。建立校准下的熵风险等价性,推导特征值特定校准不等式,证明温度缩放特征值在最小化适当得分风险时优化校准。实验表明当前大语言模型系统性过度自信,验证理论结果,推进语义嵌入不确定性量化基础与实践。

英文摘要:

Uncertainty quantification is central to the reliable deployment of large language models (LLMs), and eigenvalues of semantic embeddings have recently emerged as a key tool in state-of-the-art methods. However, conventional calibration results developed for classification probabilities cannot be directly transferred to eigenvalues. We address this gap by proposing a novel framework for calibrating the eigenvalues of semantic embeddings. We interpret LLMs combined with semantic embeddings of their generated answers as density matrix predictors, and we propose a novel approach to calibrate density matrix predictors by applying temperature scaling to their eigenvalues. We establish entropy-risk equivalence under calibration, derive a central calibration inequality specific to eigenvalues, and prove that temperature-scaled eigenvalues optimize calibration when minimizing proper score risks. Experiments on a variety of real-world settings show that current LLMs are systematically overconfident, and validate our theoretical findings. Together, these results advance the foundations and practice of uncertainty quantification for semantic embeddings.

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

↑