大型语言模型语义嵌入的特征值校准 / Eigenvalue Calibration for Semantic Embeddings of Large Language Models
1️⃣ 一句话总结
本文提出了一种针对大型语言模型语义嵌入特征值的校准方法,通过温度缩放技术调整嵌入的特征值,解决了传统概率校准方法无法直接应用于特征值的难题,实验证明当前模型普遍过于自信,而该方法能有效提升不确定性评估的可靠性。
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.
大型语言模型语义嵌入的特征值校准 / Eigenvalue Calibration for Semantic Embeddings of Large Language Models
本文提出了一种针对大型语言模型语义嵌入特征值的校准方法,通过温度缩放技术调整嵌入的特征值,解决了传统概率校准方法无法直接应用于特征值的难题,实验证明当前模型普遍过于自信,而该方法能有效提升不确定性评估的可靠性。
源自 arXiv: 2607.08377