Large Language Models Must Be Taught to Know What They Don't Know

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Kapoor, Sanyam, Gruver, Nate, Roberts, Manley, Collins, Katherine, Pal, Arka, Bhatt, Umang, Weller, Adrian, Dooley, Samuel, Goldblum, Micah, Wilson, Andrew Gordon
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909738677043200
author Kapoor, Sanyam
Gruver, Nate
Roberts, Manley
Collins, Katherine
Pal, Arka
Bhatt, Umang
Weller, Adrian
Dooley, Samuel
Goldblum, Micah
Wilson, Andrew Gordon
author_facet Kapoor, Sanyam
Gruver, Nate
Roberts, Manley
Collins, Katherine
Pal, Arka
Bhatt, Umang
Weller, Adrian
Dooley, Samuel
Goldblum, Micah
Wilson, Andrew Gordon
contents When using large language models (LLMs) in high-stakes applications, we need to know when we can trust their predictions. Some works argue that prompting high-performance LLMs is sufficient to produce calibrated uncertainties, while others introduce sampling methods that can be prohibitively expensive. In this work, we first argue that prompting on its own is insufficient to achieve good calibration and then show that fine-tuning on a small dataset of correct and incorrect answers can create an uncertainty estimate with good generalization and small computational overhead. We show that a thousand graded examples are sufficient to outperform baseline methods and that training through the features of a model is necessary for good performance and tractable for large open-source models when using LoRA. We also investigate the mechanisms that enable reliable LLM uncertainty estimation, finding that many models can be used as general-purpose uncertainty estimators, applicable not just to their own uncertainties but also the uncertainty of other models. Lastly, we show that uncertainty estimates inform human use of LLMs in human-AI collaborative settings through a user study.
format Preprint
id arxiv_https___arxiv_org_abs_2406_08391
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Large Language Models Must Be Taught to Know What They Don't Know
Kapoor, Sanyam
Gruver, Nate
Roberts, Manley
Collins, Katherine
Pal, Arka
Bhatt, Umang
Weller, Adrian
Dooley, Samuel
Goldblum, Micah
Wilson, Andrew Gordon
Machine Learning
Artificial Intelligence
Computation and Language
When using large language models (LLMs) in high-stakes applications, we need to know when we can trust their predictions. Some works argue that prompting high-performance LLMs is sufficient to produce calibrated uncertainties, while others introduce sampling methods that can be prohibitively expensive. In this work, we first argue that prompting on its own is insufficient to achieve good calibration and then show that fine-tuning on a small dataset of correct and incorrect answers can create an uncertainty estimate with good generalization and small computational overhead. We show that a thousand graded examples are sufficient to outperform baseline methods and that training through the features of a model is necessary for good performance and tractable for large open-source models when using LoRA. We also investigate the mechanisms that enable reliable LLM uncertainty estimation, finding that many models can be used as general-purpose uncertainty estimators, applicable not just to their own uncertainties but also the uncertainty of other models. Lastly, we show that uncertainty estimates inform human use of LLMs in human-AI collaborative settings through a user study.
title Large Language Models Must Be Taught to Know What They Don't Know
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2406.08391