Gradients with Respect to Semantics Preserving Embeddings Tell the Uncertainty of Large Language Models 文章

ArXiv CS.CL2026-06-02NEWSen作者: Mingda Li, Rundong Lv, Xinyu Li, Weinan Zhang, Ting Liu

摘要

arXiv:2605.04638v2 Announce Type: replace Abstract: Uncertainty quantification (UQ) is an important technique for ensuring the trustworthiness of LLMs, given their tendency to hallucinate. Existing state-of-the-art UQ approaches for free-form generation rely heavily on sampling, which incurs high computational cost and variance. In this work, we propose the first gradient-based UQ method for free-form generation, SemGrad, which is sampling-free and computationally efficient. Unlike prior gradient-based methods developed for classification tasks that operates in parameter space, we propose to consider gradients in semantic space. Our method builds on the key intuition that a confident LLM should maintain stable output distributions under semantically equivalent input perturbations.

相关公司

暂无数据

相关人物

暂无数据

相关产品

暂无数据