Large Language Model Confidence Estimation via Black-Box Access

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Pedapati, Tejaswini, Dhurandhar, Amit, Ghosh, Soumya, Dan, Soham, Sattigeri, Prasanna
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866918077310959616
author Pedapati, Tejaswini
Dhurandhar, Amit
Ghosh, Soumya
Dan, Soham
Sattigeri, Prasanna
author_facet Pedapati, Tejaswini
Dhurandhar, Amit
Ghosh, Soumya
Dan, Soham
Sattigeri, Prasanna
contents Estimating uncertainty or confidence in the responses of a model can be significant in evaluating trust not only in the responses, but also in the model as a whole. In this paper, we explore the problem of estimating confidence for responses of large language models (LLMs) with simply black-box or query access to them. We propose a simple and extensible framework where, we engineer novel features and train a (interpretable) model (viz. logistic regression) on these features to estimate the confidence. We empirically demonstrate that our simple framework is effective in estimating confidence of Flan-ul2, Llama-13b, Mistral-7b and GPT-4 on four benchmark Q\&A tasks as well as of Pegasus-large and BART-large on two benchmark summarization tasks with it surpassing baselines by even over $10\%$ (on AUROC) in some cases. Additionally, our interpretable approach provides insight into features that are predictive of confidence, leading to the interesting and useful discovery that our confidence models built for one LLM generalize zero-shot across others on a given dataset.
format Preprint
id arxiv_https___arxiv_org_abs_2406_04370
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Large Language Model Confidence Estimation via Black-Box Access
Pedapati, Tejaswini
Dhurandhar, Amit
Ghosh, Soumya
Dan, Soham
Sattigeri, Prasanna
Computation and Language
Artificial Intelligence
Machine Learning
Estimating uncertainty or confidence in the responses of a model can be significant in evaluating trust not only in the responses, but also in the model as a whole. In this paper, we explore the problem of estimating confidence for responses of large language models (LLMs) with simply black-box or query access to them. We propose a simple and extensible framework where, we engineer novel features and train a (interpretable) model (viz. logistic regression) on these features to estimate the confidence. We empirically demonstrate that our simple framework is effective in estimating confidence of Flan-ul2, Llama-13b, Mistral-7b and GPT-4 on four benchmark Q\&A tasks as well as of Pegasus-large and BART-large on two benchmark summarization tasks with it surpassing baselines by even over $10\%$ (on AUROC) in some cases. Additionally, our interpretable approach provides insight into features that are predictive of confidence, leading to the interesting and useful discovery that our confidence models built for one LLM generalize zero-shot across others on a given dataset.
title Large Language Model Confidence Estimation via Black-Box Access
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2406.04370