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
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.
Uncovering Trajectory and Topological Signatures in Multimodal Pediatric Sleep Embeddings
Department of Radiology(放射科);University of California San Francisco(加州大学旧金山分校);UNC–Chapel Hill(北卡罗来纳大学教堂山分校);UNC School of Data Science and Society(北卡罗来纳大学教堂山分校数据科学与社会学院)
Generalised Eigenvalue Geometry of Semantic Adversarial Attacks
Data Science Institute, London School of Economics and Political Science(伦敦经济学院数据科学研究所);Department of Mathematics, London School of Economics and Political Science(伦敦经济学院数学系);The Inclusion Initiative, London School of Economics and Political Science(伦敦经济学院包容倡议)