detalle del documento
IDENTIFICACIÓN

oai:arXiv.org:2405.20003

Tema
Computer Science - Machine Learnin... Computer Science - Artificial Inte... Computer Science - Computation and...
Autor
Nikitin, Alexander Kossen, Jannik Gal, Yarin Marttinen, Pekka
Categoría

Computer Science

Año

2024

fecha de cotización

5/6/2024

Palabras clave
quantification kle entropy language semantic
Métrico

Resumen

Uncertainty quantification in Large Language Models (LLMs) is crucial for applications where safety and reliability are important.

In particular, uncertainty can be used to improve the trustworthiness of LLMs by detecting factually incorrect model responses, commonly called hallucinations.

Critically, one should seek to capture the model's semantic uncertainty, i.e., the uncertainty over the meanings of LLM outputs, rather than uncertainty over lexical or syntactic variations that do not affect answer correctness.

To address this problem, we propose Kernel Language Entropy (KLE), a novel method for uncertainty estimation in white- and black-box LLMs.

KLE defines positive semidefinite unit trace kernels to encode the semantic similarities of LLM outputs and quantifies uncertainty using the von Neumann entropy.

It considers pairwise semantic dependencies between answers (or semantic clusters), providing more fine-grained uncertainty estimates than previous methods based on hard clustering of answers.

We theoretically prove that KLE generalizes the previous state-of-the-art method called semantic entropy and empirically demonstrate that it improves uncertainty quantification performance across multiple natural language generation datasets and LLM architectures.

Nikitin, Alexander,Kossen, Jannik,Gal, Yarin,Marttinen, Pekka, 2024, Kernel Language Entropy: Fine-grained Uncertainty Quantification for LLMs from Semantic Similarities

Documento

Abrir

Compartir

Fuente

Artículos recomendados por ES/IODE IA

High-Frequency Repetitive Magnetic Stimulation at the Sacrum Alleviates Chronic Constipation in Parkinson’s Patients
magnetic stimulation parkinson’s significant patients scale sacrum pd hf-rms chronic constipation scores
The mechanism of PFK-1 in the occurrence and development of bladder cancer by regulating ZEB1 lactylation
bladder cancer pfk-1 zeb1 lactylation glycolysis inhibits lactate glucose bc pfk-1 cancer lactylation cells bladder