Multicalibration for Confidence Scoring in LLMs

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Detommaso, Gianluca, Bertran, Martin, Fogliato, Riccardo, Roth, Aaron
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911829562753024
author Detommaso, Gianluca
Bertran, Martin
Fogliato, Riccardo
Roth, Aaron
author_facet Detommaso, Gianluca
Bertran, Martin
Fogliato, Riccardo
Roth, Aaron
contents This paper proposes the use of "multicalibration" to yield interpretable and reliable confidence scores for outputs generated by large language models (LLMs). Multicalibration asks for calibration not just marginally, but simultaneously across various intersecting groupings of the data. We show how to form groupings for prompt/completion pairs that are correlated with the probability of correctness via two techniques: clustering within an embedding space, and "self-annotation" - querying the LLM by asking it various yes-or-no questions about the prompt. We also develop novel variants of multicalibration algorithms that offer performance improvements by reducing their tendency to overfit. Through systematic benchmarking across various question answering datasets and LLMs, we show how our techniques can yield confidence scores that provide substantial improvements in fine-grained measures of both calibration and accuracy compared to existing methods.
format Preprint
id arxiv_https___arxiv_org_abs_2404_04689
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Multicalibration for Confidence Scoring in LLMs
Detommaso, Gianluca
Bertran, Martin
Fogliato, Riccardo
Roth, Aaron
Machine Learning
Computation and Language
This paper proposes the use of "multicalibration" to yield interpretable and reliable confidence scores for outputs generated by large language models (LLMs). Multicalibration asks for calibration not just marginally, but simultaneously across various intersecting groupings of the data. We show how to form groupings for prompt/completion pairs that are correlated with the probability of correctness via two techniques: clustering within an embedding space, and "self-annotation" - querying the LLM by asking it various yes-or-no questions about the prompt. We also develop novel variants of multicalibration algorithms that offer performance improvements by reducing their tendency to overfit. Through systematic benchmarking across various question answering datasets and LLMs, we show how our techniques can yield confidence scores that provide substantial improvements in fine-grained measures of both calibration and accuracy compared to existing methods.
title Multicalibration for Confidence Scoring in LLMs
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2404.04689